public class Clazz.FieldDef extends Clazz.ElementDef
Modifier and Type | Field and Description |
---|---|
(package private) Descriptors.Descriptor |
descriptor |
(package private) java.lang.String |
name |
attributes
Constructor and Description |
---|
FieldDef(int access,
java.lang.String name,
java.lang.String descriptor)
Deprecated.
|
FieldDef(MemberInfo memberInfo) |
Modifier and Type | Method and Description |
---|---|
(package private) Annotation.ElementType |
elementType() |
java.lang.Object |
getConstant() |
Descriptors.TypeRef |
getContainingClass() |
Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getGenericReturnType() |
java.lang.String |
getName() |
Descriptors.TypeRef[] |
getPrototype() |
Descriptors.TypeRef |
getType() |
void |
setConstant(java.lang.Object o)
Deprecated.
|
void |
setDeprecated(boolean deprecated)
Deprecated.
|
annotationInfos, annotations, attribute, attributes, getSignature, isDeprecated, matches, toString, typeAnnotationInfos, typeAnnotations
getAccess, getAnnotations, getClazz, getOwnerType, isAbstract, isAnnotation, isEnum, isFinal, isInterface, isModule, isNative, isPrivate, isProtected, isPublic, isStatic, isSynthetic, isTransient, isVolatile
final java.lang.String name
final Descriptors.Descriptor descriptor
@Deprecated public FieldDef(int access, java.lang.String name, java.lang.String descriptor)
FieldDef(MemberInfo memberInfo)
public java.lang.String getName()
getName
in class Clazz.ElementDef
public Descriptors.TypeRef getType()
getType
in class Clazz.ElementDef
@Deprecated public void setDeprecated(boolean deprecated)
public Descriptors.TypeRef getContainingClass()
public Descriptors.Descriptor getDescriptor()
@Deprecated 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.ElementDef
Annotation.ElementType elementType()
elementType
in class Clazz.ElementDef