congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
EnhancedAnnotatedCallable.getEnhancedParameters
Code IndexAdd Tabnine to your IDE (free)

How to use
getEnhancedParameters
method
in
org.jboss.weld.annotated.enhanced.EnhancedAnnotatedCallable

Best Java code snippets using org.jboss.weld.annotated.enhanced.EnhancedAnnotatedCallable.getEnhancedParameters (Showing top 18 results out of 315)

origin: org.jboss.weld.se/weld-se

public <X> EnhancedAnnotatedParameter<?, X> loadEnhancedParameter(AnnotatedParameter<X> parameter, String bdaId) {
  if (parameter instanceof EnhancedAnnotatedParameter<?, ?>) {
    return Reflections.cast(parameter);
  }
  EnhancedAnnotatedCallable<?, X, Member> callable = loadEnhancedMember(parameter.getDeclaringCallable(), bdaId);
  return callable.getEnhancedParameters().get(parameter.getPosition());
}
origin: weld/core

public <X> EnhancedAnnotatedParameter<?, X> loadEnhancedParameter(AnnotatedParameter<X> parameter, String bdaId) {
  if (parameter instanceof EnhancedAnnotatedParameter<?, ?>) {
    return Reflections.cast(parameter);
  }
  EnhancedAnnotatedCallable<?, X, Member> callable = loadEnhancedMember(parameter.getDeclaringCallable(), bdaId);
  return callable.getEnhancedParameters().get(parameter.getPosition());
}
origin: weld/core

public <X> EnhancedAnnotatedParameter<?, X> loadEnhancedParameter(AnnotatedParameter<X> parameter, String bdaId) {
  if (parameter instanceof EnhancedAnnotatedParameter<?, ?>) {
    return Reflections.cast(parameter);
  }
  EnhancedAnnotatedCallable<?, X, Member> callable = loadEnhancedMember(parameter.getDeclaringCallable(), bdaId);
  return callable.getEnhancedParameters().get(parameter.getPosition());
}
origin: weld/core

public <X> EnhancedAnnotatedParameter<?, X> loadEnhancedParameter(AnnotatedParameter<X> parameter, String bdaId) {
  if (parameter instanceof EnhancedAnnotatedParameter<?, ?>) {
    return Reflections.cast(parameter);
  }
  EnhancedAnnotatedCallable<?, X, Member> callable = loadEnhancedMember(parameter.getDeclaringCallable(), bdaId);
  return callable.getEnhancedParameters().get(parameter.getPosition());
}
origin: weld/core

public <X> List<ParameterInjectionPoint<?, X>> getParameterInjectionPoints(EnhancedAnnotatedCallable<?, X, ?> callable,
    Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager, boolean observerOrDisposer) {
  List<ParameterInjectionPoint<?, X>> parameters = new ArrayList<ParameterInjectionPoint<?, X>>();
  /*
   * bean that the injection point belongs to this is null for observer and disposer methods
   */
  Bean<?> bean = null;
  if (!observerOrDisposer) {
    bean = declaringBean;
  }
  for (EnhancedAnnotatedParameter<?, X> parameter : callable.getEnhancedParameters()) {
    if (isSpecialParameter(parameter)) {
      parameters.add(SpecialParameterInjectionPoint.of(parameter, bean, declaringBean.getBeanClass(), manager));
    } else {
      parameters.add(createParameterInjectionPoint(parameter, bean, declaringComponentClass, manager));
    }
  }
  return ImmutableList.copyOf(parameters);
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

public <X> EnhancedAnnotatedParameter<?, X> loadEnhancedParameter(AnnotatedParameter<X> parameter, String bdaId) {
  if (parameter instanceof EnhancedAnnotatedParameter<?, ?>) {
    return Reflections.cast(parameter);
  }
  EnhancedAnnotatedCallable<?, X, Member> callable = loadEnhancedMember(parameter.getDeclaringCallable(), bdaId);
  return callable.getEnhancedParameters().get(parameter.getPosition());
}
origin: org.jboss.weld.se/weld-se-shaded

public <X> EnhancedAnnotatedParameter<?, X> loadEnhancedParameter(AnnotatedParameter<X> parameter, String bdaId) {
  if (parameter instanceof EnhancedAnnotatedParameter<?, ?>) {
    return Reflections.cast(parameter);
  }
  EnhancedAnnotatedCallable<?, X, Member> callable = loadEnhancedMember(parameter.getDeclaringCallable(), bdaId);
  return callable.getEnhancedParameters().get(parameter.getPosition());
}
origin: weld/core

public <X> List<ParameterInjectionPoint<?, X>> getParameterInjectionPoints(EnhancedAnnotatedCallable<?, X, ?> callable,
    Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager, boolean observerOrDisposer) {
  List<ParameterInjectionPoint<?, X>> parameters = new ArrayList<ParameterInjectionPoint<?, X>>();
  /*
   * bean that the injection point belongs to this is null for observer and disposer methods
   */
  Bean<?> bean = null;
  if (!observerOrDisposer) {
    bean = declaringBean;
  }
  for (EnhancedAnnotatedParameter<?, X> parameter : callable.getEnhancedParameters()) {
    if (isSpecialParameter(parameter)) {
      parameters.add(SpecialParameterInjectionPoint.of(parameter, bean, declaringBean.getBeanClass(), manager));
    } else {
      parameters.add(createParameterInjectionPoint(parameter, bean, declaringComponentClass, manager));
    }
  }
  return ImmutableList.copyOf(parameters);
}
origin: weld/core

protected AbstractCallableInjectionPoint(EnhancedAnnotatedCallable<T, X, S> callable, Bean<?> declaringBean, Class<?> declaringComponentClass, boolean observerOrDisposer, InjectionPointFactory factory, BeanManagerImpl manager) {
  this.declaringBean = declaringBean;
  this.parameters = factory.getParameterInjectionPoints(callable, declaringBean, declaringComponentClass, manager, observerOrDisposer);
  if (observerOrDisposer) {
    this.injectionPoints = InjectionPoints.filterOutSpecialParameterInjectionPoints(parameters);
  } else {
    this.injectionPoints = new ListToSet<InjectionPoint>() {
      @Override
      protected List<InjectionPoint> delegate() {
        return cast(getParameterInjectionPoints());
      }
    };
  }
  this.hasTransientReferenceParameter = initHasTransientReference(callable.getEnhancedParameters());
}
origin: weld/core

protected AbstractCallableInjectionPoint(EnhancedAnnotatedCallable<T, X, S> callable, Bean<?> declaringBean, Class<?> declaringComponentClass, boolean observerOrDisposer, InjectionPointFactory factory, BeanManagerImpl manager) {
  this.declaringBean = declaringBean;
  this.parameters = factory.getParameterInjectionPoints(callable, declaringBean, declaringComponentClass, manager, observerOrDisposer);
  if (observerOrDisposer) {
    this.injectionPoints = InjectionPoints.filterOutSpecialParameterInjectionPoints(parameters);
  } else {
    this.injectionPoints = new ListToSet<InjectionPoint>() {
      @Override
      protected List<InjectionPoint> delegate() {
        return cast(getParameterInjectionPoints());
      }
    };
  }
  this.hasTransientReferenceParameter = initHasTransientReference(callable.getEnhancedParameters());
}
origin: org.jboss.weld.se/weld-se

public <X> List<ParameterInjectionPoint<?, X>> getParameterInjectionPoints(EnhancedAnnotatedCallable<?, X, ?> callable,
    Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager, boolean observerOrDisposer) {
  List<ParameterInjectionPoint<?, X>> parameters = new ArrayList<ParameterInjectionPoint<?, X>>();
  /*
   * bean that the injection point belongs to this is null for observer and disposer methods
   */
  Bean<?> bean = null;
  if (!observerOrDisposer) {
    bean = declaringBean;
  }
  for (EnhancedAnnotatedParameter<?, X> parameter : callable.getEnhancedParameters()) {
    if (isSpecialParameter(parameter)) {
      parameters.add(SpecialParameterInjectionPoint.of(parameter, bean, declaringBean.getBeanClass(), manager));
    } else {
      parameters.add(createParameterInjectionPoint(parameter, bean, declaringComponentClass, manager));
    }
  }
  return immutableListView(parameters);
}
origin: org.jboss.weld.se/weld-se-shaded

public <X> List<ParameterInjectionPoint<?, X>> getParameterInjectionPoints(EnhancedAnnotatedCallable<?, X, ?> callable,
    Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager, boolean observerOrDisposer) {
  List<ParameterInjectionPoint<?, X>> parameters = new ArrayList<ParameterInjectionPoint<?, X>>();
  /*
   * bean that the injection point belongs to this is null for observer and disposer methods
   */
  Bean<?> bean = null;
  if (!observerOrDisposer) {
    bean = declaringBean;
  }
  for (EnhancedAnnotatedParameter<?, X> parameter : callable.getEnhancedParameters()) {
    if (isSpecialParameter(parameter)) {
      parameters.add(SpecialParameterInjectionPoint.of(parameter, bean, declaringBean.getBeanClass(), manager));
    } else {
      parameters.add(createParameterInjectionPoint(parameter, bean, declaringComponentClass, manager));
    }
  }
  return ImmutableList.copyOf(parameters);
}
origin: weld/core

public <X> List<ParameterInjectionPoint<?, X>> getParameterInjectionPoints(EnhancedAnnotatedCallable<?, X, ?> callable,
    Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager, boolean observerOrDisposer) {
  List<ParameterInjectionPoint<?, X>> parameters = new ArrayList<ParameterInjectionPoint<?, X>>();
  /*
   * bean that the injection point belongs to this is null for observer and disposer methods
   */
  Bean<?> bean = null;
  if (!observerOrDisposer) {
    bean = declaringBean;
  }
  for (EnhancedAnnotatedParameter<?, X> parameter : callable.getEnhancedParameters()) {
    if (isSpecialParameter(parameter)) {
      parameters.add(SpecialParameterInjectionPoint.of(parameter, bean, declaringBean.getBeanClass(), manager));
    } else {
      parameters.add(createParameterInjectionPoint(parameter, bean, declaringComponentClass, manager));
    }
  }
  return ImmutableList.copyOf(parameters);
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

protected AbstractCallableInjectionPoint(EnhancedAnnotatedCallable<T, X, S> callable, Bean<?> declaringBean, Class<?> declaringComponentClass, boolean observerOrDisposer, InjectionPointFactory factory, BeanManagerImpl manager) {
  this.declaringBean = declaringBean;
  this.parameters = factory.getParameterInjectionPoints(callable, declaringBean, declaringComponentClass, manager, observerOrDisposer);
  if (observerOrDisposer) {
    this.injectionPoints = InjectionPoints.filterOutSpecialParameterInjectionPoints(parameters);
  } else {
    this.injectionPoints = new ListToSet<InjectionPoint>() {
      @Override
      protected List<InjectionPoint> delegate() {
        return cast(getParameterInjectionPoints());
      }
    };
  }
  this.hasTransientReferenceParameter = initHasTransientReference(callable.getEnhancedParameters());
}
origin: weld/core

protected AbstractCallableInjectionPoint(EnhancedAnnotatedCallable<T, X, S> callable, Bean<?> declaringBean, Class<?> declaringComponentClass, boolean observerOrDisposer, InjectionPointFactory factory, BeanManagerImpl manager) {
  this.declaringBean = declaringBean;
  this.parameters = factory.getParameterInjectionPoints(callable, declaringBean, declaringComponentClass, manager, observerOrDisposer);
  if (observerOrDisposer) {
    this.injectionPoints = InjectionPoints.filterOutSpecialParameterInjectionPoints(parameters);
  } else {
    this.injectionPoints = new ListToSet<InjectionPoint>() {
      @Override
      protected List<InjectionPoint> delegate() {
        return cast(getParameterInjectionPoints());
      }
    };
  }
  this.hasTransientReferenceParameter = initHasTransientReference(callable.getEnhancedParameters());
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

public <X> List<ParameterInjectionPoint<?, X>> getParameterInjectionPoints(EnhancedAnnotatedCallable<?, X, ?> callable,
    Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager, boolean observerOrDisposer) {
  List<ParameterInjectionPoint<?, X>> parameters = new ArrayList<ParameterInjectionPoint<?, X>>();
  /*
   * bean that the injection point belongs to this is null for observer and disposer methods
   */
  Bean<?> bean = null;
  if (!observerOrDisposer) {
    bean = declaringBean;
  }
  for (EnhancedAnnotatedParameter<?, X> parameter : callable.getEnhancedParameters()) {
    if (isSpecialParameter(parameter)) {
      parameters.add(SpecialParameterInjectionPoint.of(parameter, bean, declaringBean.getBeanClass(), manager));
    } else {
      parameters.add(createParameterInjectionPoint(parameter, bean, declaringComponentClass, manager));
    }
  }
  return ImmutableList.copyOf(parameters);
}
origin: org.jboss.weld.se/weld-se-shaded

protected AbstractCallableInjectionPoint(EnhancedAnnotatedCallable<T, X, S> callable, Bean<?> declaringBean, Class<?> declaringComponentClass, boolean observerOrDisposer, InjectionPointFactory factory, BeanManagerImpl manager) {
  this.declaringBean = declaringBean;
  this.parameters = factory.getParameterInjectionPoints(callable, declaringBean, declaringComponentClass, manager, observerOrDisposer);
  if (observerOrDisposer) {
    this.injectionPoints = InjectionPoints.filterOutSpecialParameterInjectionPoints(parameters);
  } else {
    this.injectionPoints = new ListToSet<InjectionPoint>() {
      @Override
      protected List<InjectionPoint> delegate() {
        return cast(getParameterInjectionPoints());
      }
    };
  }
  this.hasTransientReferenceParameter = initHasTransientReference(callable.getEnhancedParameters());
}
origin: org.jboss.weld.se/weld-se

protected AbstractCallableInjectionPoint(EnhancedAnnotatedCallable<T, X, S> callable, Bean<?> declaringBean, Class<?> declaringComponentClass, boolean observerOrDisposer, InjectionPointFactory factory, BeanManagerImpl manager) {
  this.declaringBean = declaringBean;
  this.parameters = factory.getParameterInjectionPoints(callable, declaringBean, declaringComponentClass, manager, observerOrDisposer);
  if (observerOrDisposer) {
    this.injectionPoints = cast(InjectionPoints.filterOutSpecialParameterInjectionPoints(parameters));
  } else {
    this.injectionPoints = new ListToSet<InjectionPoint>() {
      @Override
      protected List<InjectionPoint> delegate() {
        return cast(getParameterInjectionPoints());
      }
    };
  }
  this.hasTransientReferenceParameter = initHasTransientReference(callable.getEnhancedParameters());
}
org.jboss.weld.annotated.enhancedEnhancedAnnotatedCallablegetEnhancedParameters

Javadoc

Gets the abstracted parameters of the method

Popular methods of EnhancedAnnotatedCallable

  • getDeclaringType
  • getJavaMember
  • getPackage

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • getContentResolver (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now