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 MemberAdapter
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation
in interface MemberAdapter
public Field adaptee()
public String getName()
getName
in interface MemberAdapter
public Reflection.ReflectionType getDeclaringType()
MemberAdapter
getDeclaringType
in interface MemberAdapter
public List<TypeAdapter> getParameterTypes()
MemberAdapter
getParameterTypes
in interface MemberAdapter
public Reflection.ReflectionType getType()
MemberAdapter
getType
in interface MemberAdapter
Copyright © 2021. All rights reserved.