public class Clazz.FieldDef extends Clazz.Def
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.Object |
constant |
(package private) boolean |
deprecated |
(package private) Descriptors.Descriptor |
descriptor |
(package private) java.lang.String |
name |
(package private) java.lang.String |
signature |
access, annotations
Constructor and Description |
---|
FieldDef(int access,
java.lang.String name,
java.lang.String descriptor) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getConstant() |
Descriptors.TypeRef |
getContainingClass() |
Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getGenericReturnType() |
java.lang.String |
getName() |
Descriptors.TypeRef[] |
getPrototype() |
java.lang.String |
getSignature() |
Descriptors.TypeRef |
getType() |
boolean |
isDeprecated() |
void |
setConstant(java.lang.Object o) |
void |
setDeprecated(boolean deprecated) |
java.lang.String |
toString() |
addAnnotation, getAccess, getAnnotations, getClazz, getOwnerType, isAbstract, isEnum, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isSynthetic, isTransient, isVolatile
final java.lang.String name
final Descriptors.Descriptor descriptor
java.lang.String signature
java.lang.Object constant
boolean deprecated
public FieldDef(int access, java.lang.String name, java.lang.String descriptor)
public boolean isDeprecated()
public void setDeprecated(boolean deprecated)
public Descriptors.TypeRef getType()
public Descriptors.TypeRef getContainingClass()
public Descriptors.Descriptor getDescriptor()
public void setConstant(java.lang.Object o)
public java.lang.Object getConstant()
public java.lang.String getGenericReturnType()
public Descriptors.TypeRef[] getPrototype()
getPrototype
in class Clazz.Def
public java.lang.String getSignature()
public java.lang.String toString()
toString
in class java.lang.Object