|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.weld.introspector.jlr.AbstractWeldAnnotated<T,Object>
org.jboss.weld.introspector.jlr.WeldParameterImpl<T,X>
T
- public class WeldParameterImpl<T,X>
Represents a parameter
This class is immutable and therefore threadsafe
Field Summary |
---|
Fields inherited from interface org.jboss.weld.introspector.WeldAnnotated |
---|
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS |
Constructor Summary | |
---|---|
protected |
WeldParameterImpl(Annotation[] annotations,
Class<T> rawType,
Type type,
LazyValueHolder<Set<Type>> typeClosure,
WeldCallable<?,X,?> declaringMember,
int position,
ClassTransformer classTransformer)
Constructor |
Method Summary | ||
---|---|---|
javax.enterprise.inject.spi.AnnotatedCallable<X> |
getDeclaringCallable()
|
|
WeldClass<X> |
getDeclaringType()
|
|
WeldCallable<?,X,?> |
getDeclaringWeldCallable()
|
|
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
|
of(Annotation[] annotations,
Class<T> rawType,
Type type,
WeldCallable<?,X,?> declaringMember,
int position,
ClassTransformer classTransformer)
|
|
static
|
of(Set<Annotation> annotations,
Class<T> rawType,
Type type,
WeldCallable<?,X,?> declaringMember,
int position,
ClassTransformer classTransformer)
|
|
String |
toString()
Gets a string representation of the parameter |
Methods inherited from class org.jboss.weld.introspector.jlr.AbstractWeldAnnotated |
---|
addMetaAnnotations, addMetaAnnotations, buildAnnotationMap, buildAnnotationMap, getActualTypeArguments, getAnnotation, getAnnotations, getBaseType, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, getTypeClosure, isAnnotationPresent, isParameterizedType, isPrimitive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.weld.introspector.WeldAnnotated |
---|
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, isParameterizedType, isPrimitive |
Methods inherited from interface javax.enterprise.inject.spi.Annotated |
---|
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent |
Constructor Detail |
---|
protected WeldParameterImpl(Annotation[] annotations, Class<T> rawType, Type type, LazyValueHolder<Set<Type>> typeClosure, WeldCallable<?,X,?> declaringMember, int position, ClassTransformer classTransformer)
annotations
- The annotations arraytype
- The type of the parameterMethod Detail |
---|
public static <T,X> WeldParameter<T,X> of(Annotation[] annotations, Class<T> rawType, Type type, WeldCallable<?,X,?> declaringMember, int position, ClassTransformer classTransformer)
public static <T,X> WeldParameter<T,X> of(Set<Annotation> annotations, Class<T> rawType, Type type, WeldCallable<?,X,?> declaringMember, int position, ClassTransformer classTransformer)
public boolean isFinal()
isFinal
in interface WeldAnnotated<T,Object>
WeldAnnotated.isFinal()
public boolean isStatic()
isStatic
in interface WeldAnnotated<T,Object>
WeldAnnotated.isStatic()
public boolean isPublic()
WeldAnnotated
isPublic
in interface WeldAnnotated<T,Object>
public boolean isPrivate()
isPrivate
in interface WeldAnnotated<T,Object>
public boolean isPackagePrivate()
isPackagePrivate
in interface WeldAnnotated<T,Object>
public boolean isGeneric()
isGeneric
in interface WeldAnnotated<T,Object>
public Package getPackage()
getPackage
in interface WeldAnnotated<T,Object>
public String getName()
getName
in interface WeldAnnotated<T,Object>
IllegalArgumentException
- (not supported)WeldAnnotated.getName()
public String toString()
toString
in class Object
public javax.enterprise.inject.spi.AnnotatedCallable<X> getDeclaringCallable()
getDeclaringCallable
in interface javax.enterprise.inject.spi.AnnotatedParameter<X>
public WeldCallable<?,X,?> getDeclaringWeldCallable()
getDeclaringWeldCallable
in interface WeldParameter<T,X>
public int getPosition()
getPosition
in interface javax.enterprise.inject.spi.AnnotatedParameter<X>
public Object getDelegate()
getDelegate
in class AbstractWeldAnnotated<T,Object>
public WeldClass<X> getDeclaringType()
getDeclaringType
in interface WeldParameter<T,X>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |