T
- public class EnhancedAnnotatedParameterImpl<T,X> extends AbstractEnhancedAnnotated<T,Object> implements EnhancedAnnotatedParameter<T,X>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
Modifier | Constructor and Description |
---|---|
protected |
EnhancedAnnotatedParameterImpl(javax.enterprise.inject.spi.AnnotatedParameter<X> annotatedParameter,
EnhancedAnnotatedCallable<?,X,?> declaringMember,
Map<Class<? extends Annotation>,Annotation> annotationMap,
ClassTransformer classTransformer)
Constructor
|
Modifier and Type | Method and Description |
---|---|
javax.enterprise.inject.spi.AnnotatedCallable<X> |
getDeclaringCallable() |
EnhancedAnnotatedCallable<?,X,?> |
getDeclaringEnhancedCallable() |
EnhancedAnnotatedType<X> |
getDeclaringType() |
Object |
getDelegate() |
String |
getName()
Gets the name of the parameter
|
Package |
getPackage() |
int |
getPosition() |
boolean |
isFinal()
Indicates if the parameter is final
|
boolean |
isGeneric() |
boolean |
isPackagePrivate() |
boolean |
isPrivate() |
boolean |
isPublic()
Indicates if this annotated item is public
|
boolean |
isStatic()
Indicates if the parameter is static
|
static <T,X> EnhancedAnnotatedParameter<T,X> |
of(javax.enterprise.inject.spi.AnnotatedParameter<X> annotatedParameter,
EnhancedAnnotatedCallable<?,X,?> declaringMember,
ClassTransformer classTransformer) |
javax.enterprise.inject.spi.AnnotatedParameter<X> |
slim()
Returns a lightweight implementation of
AnnotatedParameter with minimal memory footprint. |
String |
toString()
Gets a string representation of the parameter
|
addMetaAnnotations, addMetaAnnotations, buildAnnotationMap, buildAnnotationMap, getActualTypeArguments, getAnnotation, getAnnotations, getBaseType, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, getTypeClosure, isAnnotationPresent, isParameterizedType, isPrimitive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, isParameterizedType, isPrimitive
protected EnhancedAnnotatedParameterImpl(javax.enterprise.inject.spi.AnnotatedParameter<X> annotatedParameter, EnhancedAnnotatedCallable<?,X,?> declaringMember, Map<Class<? extends Annotation>,Annotation> annotationMap, ClassTransformer classTransformer)
annotations
- The annotations arraytype
- The type of the parameterpublic static <T,X> EnhancedAnnotatedParameter<T,X> of(javax.enterprise.inject.spi.AnnotatedParameter<X> annotatedParameter, EnhancedAnnotatedCallable<?,X,?> declaringMember, ClassTransformer classTransformer)
public boolean isFinal()
isFinal
in interface EnhancedAnnotated<T,Object>
EnhancedAnnotated.isFinal()
public boolean isStatic()
isStatic
in interface EnhancedAnnotated<T,Object>
EnhancedAnnotated.isStatic()
public boolean isPublic()
EnhancedAnnotated
isPublic
in interface EnhancedAnnotated<T,Object>
public boolean isPrivate()
isPrivate
in interface EnhancedAnnotated<T,Object>
public boolean isPackagePrivate()
isPackagePrivate
in interface EnhancedAnnotated<T,Object>
public boolean isGeneric()
isGeneric
in interface EnhancedAnnotated<T,Object>
public Package getPackage()
getPackage
in interface EnhancedAnnotated<T,Object>
public String getName()
getName
in interface EnhancedAnnotated<T,Object>
IllegalArgumentException
- (not supported)EnhancedAnnotated.getName()
public String toString()
public javax.enterprise.inject.spi.AnnotatedCallable<X> getDeclaringCallable()
getDeclaringCallable
in interface javax.enterprise.inject.spi.AnnotatedParameter<X>
public EnhancedAnnotatedCallable<?,X,?> getDeclaringEnhancedCallable()
getDeclaringEnhancedCallable
in interface EnhancedAnnotatedParameter<T,X>
public int getPosition()
getPosition
in interface javax.enterprise.inject.spi.AnnotatedParameter<X>
public Object getDelegate()
getDelegate
in class AbstractEnhancedAnnotated<T,Object>
public EnhancedAnnotatedType<X> getDeclaringType()
getDeclaringType
in interface EnhancedAnnotatedParameter<T,X>
public javax.enterprise.inject.spi.AnnotatedParameter<X> slim()
EnhancedAnnotatedParameter
AnnotatedParameter
with minimal memory footprint.slim
in interface EnhancedAnnotated<T,Object>
slim
in interface EnhancedAnnotatedParameter<T,X>
AnnotatedParameter
Copyright © 2016. All rights reserved.