|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem<T,S>
org.jboss.webbeans.introspector.jlr.AbstractAnnotatedMember<T,java.lang.reflect.Field>
org.jboss.webbeans.introspector.jlr.AnnotatedFieldImpl<T>
T - public class AnnotatedFieldImpl<T>
Represents an annotated field This class is immutable, and therefore threadsafe
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedMember |
|---|
AbstractAnnotatedMember.AnnotatedParameterMap |
| Nested classes/interfaces inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem |
|---|
AbstractAnnotatedItem.AnnotationMap |
| Field Summary |
|---|
| Fields inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
|---|
MAPPED_METAANNOTATIONS |
| Constructor Summary | |
|---|---|
AnnotatedFieldImpl(java.lang.reflect.Field field,
AnnotatedType<?> declaringClass)
Constructor Initializes the superclass with the built annotation map and detects the type arguments |
|
| Method Summary | |
|---|---|
T |
get(java.lang.Object instance)
Injects an instance |
java.lang.reflect.Type[] |
getActualTypeArguments()
Gets the actual type arguments |
java.lang.reflect.Field |
getAnnotatedField()
Gets the underlying field |
AnnotatedType<?> |
getDeclaringClass()
Gets the abstracted declaring class |
java.lang.reflect.Field |
getDelegate()
|
java.lang.String |
getPropertyName()
Gets the property name |
java.lang.Class<T> |
getType()
Gets the type |
void |
inject(java.lang.Object instance,
Manager manager)
Gets the current value and injects this instance into an instance |
void |
injectIntoInstance(java.lang.Object instance,
Manager manager)
Injects an instance |
java.lang.String |
toDetailedString()
|
java.lang.String |
toString()
Gets a string representation of the field |
| Methods inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedMember |
|---|
getName, getValue, isFinal, isStatic |
| Methods inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem |
|---|
buildAnnotationMap, buildAnnotationMap, equals, getAnnotation, getAnnotationMap, getAnnotations, getBindingTypes, getBindingTypesAsArray, getMetaAnnotations, getMetaAnnotationsAsArray, getParameterValues, getParameterValues, hashCode, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isProxyable |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
|---|
getAnnotation, getAnnotations, getBindingTypes, getBindingTypesAsArray, getMetaAnnotations, getMetaAnnotationsAsArray, getName, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isFinal, isProxyable, isStatic |
| Constructor Detail |
|---|
public AnnotatedFieldImpl(java.lang.reflect.Field field,
AnnotatedType<?> declaringClass)
field - The actual fielddeclaringClass - The abstraction of the declaring class| Method Detail |
|---|
public java.lang.reflect.Field getAnnotatedField()
getAnnotatedField in interface AnnotatedField<T>public java.lang.reflect.Field getDelegate()
getDelegate in class AbstractAnnotatedItem<T,java.lang.reflect.Field>public java.lang.Class<T> getType()
getType in interface AnnotatedItem<T,java.lang.reflect.Field>public java.lang.reflect.Type[] getActualTypeArguments()
getActualTypeArguments in interface AnnotatedItem<T,java.lang.reflect.Field>AnnotatedItem.getActualTypeArguments()
public void inject(java.lang.Object instance,
Manager manager)
inject in interface AnnotatedField<T>instance - The instance to inject intomanager - The Web Beans managerAnnotatedField.inject(Object,
Manager)
public void injectIntoInstance(java.lang.Object instance,
Manager manager)
AnnotatedField
injectIntoInstance in interface AnnotatedField<T>instance - The instance to injectmanager - The Web Beans managerpublic T get(java.lang.Object instance)
AnnotatedField
get in interface AnnotatedField<T>instance - The instance to injectpublic java.lang.String getPropertyName()
getPropertyName in interface AnnotatedField<T>AnnotatedItem.getName()public AnnotatedType<?> getDeclaringClass()
getDeclaringClass in interface AnnotatedField<T>AnnotatedField.getDeclaringClass()public java.lang.String toString()
toString in class AbstractAnnotatedMember<T,java.lang.reflect.Field>public java.lang.String toDetailedString()
toDetailedString in class AbstractAnnotatedMember<T,java.lang.reflect.Field>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||