public class GWTField extends MetaField
MetaField.ArrayLengthMetaField
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
getAnnotation(Class<A> annotation) |
Annotation[] |
getAnnotations()
Returns the annotations present on this field.
|
MetaClass |
getDeclaringClass() |
String |
getDeclaringClassName() |
MetaType |
getGenericType()
Returns the actual unerased type of this field, which could be a MetaClass
(class, enum, interface, array, primitive, etc), a bounded or unbounded
type variable, or a wildcard.
|
String |
getName()
Returns this field's name without any type information or qualifiers.
|
MetaClass |
getType()
Returns an actual MetaClass (a class, interface, primitive type, array, or
enum, but not a type variable or a wildcard) representing an erased
type that is assignable to this field.
|
boolean |
isAbstract() |
boolean |
isFinal() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isSynchronized() |
boolean |
isSynthetic() |
boolean |
isTransient() |
boolean |
isVolatile() |
asField, equals, hashCode, hashString, toString
isAnnotationPresent
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isAnnotationPresent
public MetaClass getType()
MetaField
getType
in class MetaField
MetaField.getGenericType()
public String getName()
MetaField
getName
in interface MetaClassMember
getName
in class MetaField
public Annotation[] getAnnotations()
MetaField
getAnnotations
in interface HasAnnotations
getAnnotations
in class MetaField
public <A extends Annotation> A getAnnotation(Class<A> annotation)
public MetaType getGenericType()
MetaField
MetaField.getType()
, any type
parameters on the field's type will be preserved in the returned MetaType
object.getGenericType
in class MetaField
public MetaClass getDeclaringClass()
public String getDeclaringClassName()
public boolean isAbstract()
public boolean isPublic()
public boolean isPrivate()
public boolean isProtected()
public boolean isFinal()
public boolean isStatic()
public boolean isTransient()
public boolean isVolatile()
public boolean isSynthetic()
public boolean isSynchronized()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.