public static class Reflection.ReflectionField extends Object implements MemberAdapter
| Constructor and Description |
|---|
ReflectionField(Field adaptee) |
| Modifier and Type | Method and Description |
|---|---|
Field |
adaptee() |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Reflection.ReflectionType |
getDeclaringType()
Returns type that declares this member.
|
String |
getName() |
List<TypeAdapter> |
getParameterTypes()
Returns element type of this multi-value member.
|
Reflection.ReflectionType |
getType()
Returns this member type.
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
String |
toString() |
public ReflectionField(Field adaptee)
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent in interface MemberAdapterpublic <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation in interface MemberAdapterpublic Field adaptee()
public String getName()
getName in interface MemberAdapterpublic Reflection.ReflectionType getDeclaringType()
MemberAdaptergetDeclaringType in interface MemberAdapterpublic List<TypeAdapter> getParameterTypes()
MemberAdaptergetParameterTypes in interface MemberAdapterpublic Reflection.ReflectionType getType()
MemberAdaptergetType in interface MemberAdapterCopyright © 2017. All rights reserved.