Tabnine Logo
EnhancedAnnotatedParameterImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
EnhancedAnnotatedParameterImpl
in
org.jboss.weld.annotated.enhanced.jlr

Best Java code snippets using org.jboss.weld.annotated.enhanced.jlr.EnhancedAnnotatedParameterImpl (Showing top 20 results out of 315)

Refine searchRefine arrow

  • WeldCollections
origin: weld/core

public static <T, X> EnhancedAnnotatedParameter<T, X> of(AnnotatedParameter<X> annotatedParameter, EnhancedAnnotatedCallable<?, X, ?> declaringMember, ClassTransformer classTransformer) {
  return new EnhancedAnnotatedParameterImpl<T, X>(annotatedParameter, declaringMember, buildAnnotationMap(annotatedParameter.getAnnotations()), classTransformer);
}
origin: weld/core

public EnhancedAnnotatedType<X> getDeclaringType() {
  return getDeclaringEnhancedCallable().getDeclaringType();
}
origin: org.jboss.weld.se/weld-se

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the build annotations map
 *
 * @param constructor    The constructor method
 * @param declaringClass The declaring class
 */
private EnhancedAnnotatedConstructorImpl(AnnotatedConstructor<T> annotatedConstructor, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, EnhancedAnnotatedType<T> declaringClass, ClassTransformer classTransformer) {
  super(annotatedConstructor, annotationMap, declaredAnnotationMap, classTransformer, declaringClass);
  this.slim = annotatedConstructor;
  ArrayList<EnhancedAnnotatedParameter<?, T>> parameters = new ArrayList<EnhancedAnnotatedParameter<?, T>>();
  validateParameterCount(annotatedConstructor);
  for (AnnotatedParameter<T> annotatedParameter : annotatedConstructor.getParameters()) {
    EnhancedAnnotatedParameter<?, T> parameter = EnhancedAnnotatedParameterImpl.of(annotatedParameter, this, classTransformer);
    parameters.add(parameter);
  }
  this.parameters = immutableListView(parameters);
  this.signature = new ConstructorSignatureImpl(this);
}
origin: weld/core

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the build annotations map
 *
 * @param constructor    The constructor method
 * @param declaringClass The declaring class
 */
private EnhancedAnnotatedConstructorImpl(AnnotatedConstructor<T> annotatedConstructor, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, EnhancedAnnotatedType<T> declaringClass, ClassTransformer classTransformer) {
  super(annotatedConstructor, annotationMap, declaredAnnotationMap, classTransformer, declaringClass);
  this.slim = annotatedConstructor;
  ArrayList<EnhancedAnnotatedParameter<?, T>> parameters = new ArrayList<EnhancedAnnotatedParameter<?, T>>();
  validateParameterCount(annotatedConstructor);
  for (AnnotatedParameter<T> annotatedParameter : annotatedConstructor.getParameters()) {
    EnhancedAnnotatedParameter<?, T> parameter = EnhancedAnnotatedParameterImpl.of(annotatedParameter, this, classTransformer);
    parameters.add(parameter);
  }
  this.parameters = immutableListView(parameters);
  this.signature = new ConstructorSignatureImpl(this);
}
origin: weld/core

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the build annotations map
 *
 * @param constructor    The constructor method
 * @param declaringClass The declaring class
 */
private EnhancedAnnotatedConstructorImpl(AnnotatedConstructor<T> annotatedConstructor, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, EnhancedAnnotatedType<T> declaringClass, ClassTransformer classTransformer) {
  super(annotatedConstructor, annotationMap, declaredAnnotationMap, classTransformer, declaringClass);
  this.slim = annotatedConstructor;
  ArrayList<EnhancedAnnotatedParameter<?, T>> parameters = new ArrayList<EnhancedAnnotatedParameter<?, T>>();
  validateParameterCount(annotatedConstructor);
  for (AnnotatedParameter<T> annotatedParameter : annotatedConstructor.getParameters()) {
    EnhancedAnnotatedParameter<?, T> parameter = EnhancedAnnotatedParameterImpl.of(annotatedParameter, this, classTransformer);
    parameters.add(parameter);
  }
  this.parameters = immutableListView(parameters);
  this.signature = new ConstructorSignatureImpl(this);
}
origin: weld/core

public static <T, X> EnhancedAnnotatedParameter<T, X> of(AnnotatedParameter<X> annotatedParameter, EnhancedAnnotatedCallable<?, X, ?> declaringMember, ClassTransformer classTransformer) {
  return new EnhancedAnnotatedParameterImpl<T, X>(annotatedParameter, declaringMember, buildAnnotationMap(annotatedParameter.getAnnotations()), classTransformer);
}
origin: weld/core

public EnhancedAnnotatedType<X> getDeclaringType() {
  return getDeclaringEnhancedCallable().getDeclaringType();
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the build annotations map
 *
 * @param constructor    The constructor method
 * @param declaringClass The declaring class
 */
private EnhancedAnnotatedConstructorImpl(AnnotatedConstructor<T> annotatedConstructor, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, EnhancedAnnotatedType<T> declaringClass, ClassTransformer classTransformer) {
  super(annotatedConstructor, annotationMap, declaredAnnotationMap, classTransformer, declaringClass);
  this.slim = annotatedConstructor;
  ArrayList<EnhancedAnnotatedParameter<?, T>> parameters = new ArrayList<EnhancedAnnotatedParameter<?, T>>();
  validateParameterCount(annotatedConstructor);
  for (AnnotatedParameter<T> annotatedParameter : annotatedConstructor.getParameters()) {
    EnhancedAnnotatedParameter<?, T> parameter = EnhancedAnnotatedParameterImpl.of(annotatedParameter, this, classTransformer);
    parameters.add(parameter);
  }
  this.parameters = immutableListView(parameters);
  this.signature = new ConstructorSignatureImpl(this);
}
origin: org.jboss.weld.se/weld-se-shaded

public static <T, X> EnhancedAnnotatedParameter<T, X> of(AnnotatedParameter<X> annotatedParameter, EnhancedAnnotatedCallable<?, X, ?> declaringMember, ClassTransformer classTransformer) {
  return new EnhancedAnnotatedParameterImpl<T, X>(annotatedParameter, declaringMember, buildAnnotationMap(annotatedParameter.getAnnotations()), classTransformer);
}
origin: weld/core

public EnhancedAnnotatedType<X> getDeclaringType() {
  return getDeclaringEnhancedCallable().getDeclaringType();
}
origin: weld/core

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the build annotations map
 *
 * @param constructor    The constructor method
 * @param declaringClass The declaring class
 */
private EnhancedAnnotatedConstructorImpl(AnnotatedConstructor<T> annotatedConstructor, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, EnhancedAnnotatedType<T> declaringClass, ClassTransformer classTransformer) {
  super(annotatedConstructor, annotationMap, declaredAnnotationMap, classTransformer, declaringClass);
  this.slim = annotatedConstructor;
  ArrayList<EnhancedAnnotatedParameter<?, T>> parameters = new ArrayList<EnhancedAnnotatedParameter<?, T>>();
  validateParameterCount(annotatedConstructor);
  for (AnnotatedParameter<T> annotatedParameter : annotatedConstructor.getParameters()) {
    EnhancedAnnotatedParameter<?, T> parameter = EnhancedAnnotatedParameterImpl.of(annotatedParameter, this, classTransformer);
    parameters.add(parameter);
  }
  this.parameters = immutableListView(parameters);
  this.signature = new ConstructorSignatureImpl(this);
}
origin: org.jboss.weld.se/weld-se

public static <T, X> EnhancedAnnotatedParameter<T, X> of(AnnotatedParameter<X> annotatedParameter, EnhancedAnnotatedCallable<?, X, ?> declaringMember, ClassTransformer classTransformer) {
  return new EnhancedAnnotatedParameterImpl<T, X>(annotatedParameter, declaringMember, buildAnnotationMap(annotatedParameter.getAnnotations()), classTransformer);
}
origin: org.jboss.weld.se/weld-se-shaded

public EnhancedAnnotatedType<X> getDeclaringType() {
  return getDeclaringEnhancedCallable().getDeclaringType();
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the build annotations map
 *
 * @param constructor    The constructor method
 * @param declaringClass The declaring class
 */
private EnhancedAnnotatedConstructorImpl(AnnotatedConstructor<T> annotatedConstructor, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, EnhancedAnnotatedType<T> declaringClass, ClassTransformer classTransformer) {
  super(annotatedConstructor, annotationMap, declaredAnnotationMap, classTransformer, declaringClass);
  this.slim = annotatedConstructor;
  ArrayList<EnhancedAnnotatedParameter<?, T>> parameters = new ArrayList<EnhancedAnnotatedParameter<?, T>>();
  validateParameterCount(annotatedConstructor);
  for (AnnotatedParameter<T> annotatedParameter : annotatedConstructor.getParameters()) {
    EnhancedAnnotatedParameter<?, T> parameter = EnhancedAnnotatedParameterImpl.of(annotatedParameter, this, classTransformer);
    parameters.add(parameter);
  }
  this.parameters = immutableListView(parameters);
  this.signature = new ConstructorSignatureImpl(this);
}
origin: weld/core

public static <T, X> EnhancedAnnotatedParameter<T, X> of(AnnotatedParameter<X> annotatedParameter, EnhancedAnnotatedCallable<?, X, ?> declaringMember, ClassTransformer classTransformer) {
  return new EnhancedAnnotatedParameterImpl<T, X>(annotatedParameter, declaringMember, buildAnnotationMap(annotatedParameter.getAnnotations()), classTransformer);
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

public EnhancedAnnotatedType<X> getDeclaringType() {
  return getDeclaringEnhancedCallable().getDeclaringType();
}
origin: weld/core

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the built annotation map, sets the method
 * and declaring class abstraction and detects the actual type arguments
 *
 * @param method         The underlying method
 * @param declaringClass The declaring class abstraction
 */
private EnhancedAnnotatedMethodImpl(AnnotatedMethod<X> annotatedMethod, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, EnhancedAnnotatedType<X> declaringClass, ClassTransformer classTransformer) {
  super(annotatedMethod, annotationMap, declaredAnnotationMap, classTransformer, declaringClass);
  this.slim = annotatedMethod;
  ArrayList<EnhancedAnnotatedParameter<?, X>> parameters = new ArrayList<EnhancedAnnotatedParameter<?, X>>(annotatedMethod.getParameters().size());
  validateParameterCount(annotatedMethod);
  for (AnnotatedParameter<X> annotatedParameter : annotatedMethod.getParameters()) {
    EnhancedAnnotatedParameter<?, X> parameter = EnhancedAnnotatedParameterImpl.of(annotatedParameter, this, classTransformer);
    parameters.add(parameter);
  }
  this.parameters = immutableListView(parameters);
  String propertyName = Reflections.getPropertyName(getDelegate());
  if (propertyName == null) {
    this.propertyName = getName();
  } else {
    this.propertyName = propertyName;
  }
  this.signature = new MethodSignatureImpl(this);
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

public static <T, X> EnhancedAnnotatedParameter<T, X> of(AnnotatedParameter<X> annotatedParameter, EnhancedAnnotatedCallable<?, X, ?> declaringMember, ClassTransformer classTransformer) {
  return new EnhancedAnnotatedParameterImpl<T, X>(annotatedParameter, declaringMember, buildAnnotationMap(annotatedParameter.getAnnotations()), classTransformer);
}
origin: org.jboss.weld.se/weld-se

public EnhancedAnnotatedType<X> getDeclaringType() {
  return getDeclaringEnhancedCallable().getDeclaringType();
}
origin: weld/core

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the built annotation map, sets the method
 * and declaring class abstraction and detects the actual type arguments
 *
 * @param method         The underlying method
 * @param declaringClass The declaring class abstraction
 */
private EnhancedAnnotatedMethodImpl(AnnotatedMethod<X> annotatedMethod, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, EnhancedAnnotatedType<X> declaringClass, ClassTransformer classTransformer) {
  super(annotatedMethod, annotationMap, declaredAnnotationMap, classTransformer, declaringClass);
  this.slim = annotatedMethod;
  ArrayList<EnhancedAnnotatedParameter<?, X>> parameters = new ArrayList<EnhancedAnnotatedParameter<?, X>>(annotatedMethod.getParameters().size());
  validateParameterCount(annotatedMethod);
  for (AnnotatedParameter<X> annotatedParameter : annotatedMethod.getParameters()) {
    EnhancedAnnotatedParameter<?, X> parameter = EnhancedAnnotatedParameterImpl.of(annotatedParameter, this, classTransformer);
    parameters.add(parameter);
  }
  this.parameters = immutableListView(parameters);
  String propertyName = Reflections.getPropertyName(getDelegate());
  if (propertyName == null) {
    this.propertyName = getName();
  } else {
    this.propertyName = propertyName;
  }
  this.signature = new MethodSignatureImpl(this);
}
org.jboss.weld.annotated.enhanced.jlrEnhancedAnnotatedParameterImpl

Javadoc

Represents a parameter

This class is immutable and therefore threadsafe

Most used methods

  • <init>
    Constructor
  • buildAnnotationMap
  • getDeclaringEnhancedCallable
  • of

Popular in Java

  • Creating JSON documents from java classes using gson
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (Timer)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Best IntelliJ plugins
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