Package aQute.bnd.osgi
Class Clazz.FieldDef
- java.lang.Object
-
- aQute.bnd.osgi.Clazz.Def
-
- aQute.bnd.osgi.Clazz.ElementDef
-
- aQute.bnd.osgi.Clazz.FieldDef
-
- Direct Known Subclasses:
Clazz.MethodDef
- Enclosing class:
- Clazz
public class Clazz.FieldDef extends Clazz.ElementDef
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Descriptors.Descriptor
descriptor
(package private) java.lang.String
name
-
Fields inherited from class aQute.bnd.osgi.Clazz.ElementDef
attributes
-
-
Constructor Summary
Constructors Constructor Description FieldDef(int access, java.lang.String name, java.lang.String descriptor)
Deprecated.FieldDef(MemberInfo memberInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.-
Methods inherited from class aQute.bnd.osgi.Clazz.ElementDef
annotationInfos, annotations, attribute, attributes, getSignature, isDeprecated, matches, toString, typeAnnotationInfos, typeAnnotations
-
Methods inherited from class aQute.bnd.osgi.Clazz.Def
getAccess, getAnnotations, getClazz, getOwnerType, isAbstract, isAnnotation, isEnum, isFinal, isInterface, isModule, isNative, isPrivate, isProtected, isPublic, isStatic, isSynthetic, isTransient, isVolatile
-
-
-
-
Field Detail
-
name
final java.lang.String name
-
descriptor
final Descriptors.Descriptor descriptor
-
-
Constructor Detail
-
FieldDef
@Deprecated public FieldDef(int access, java.lang.String name, java.lang.String descriptor)
Deprecated.
-
FieldDef
FieldDef(MemberInfo memberInfo)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Overrides:
getName
in classClazz.ElementDef
-
getType
public Descriptors.TypeRef getType()
- Overrides:
getType
in classClazz.ElementDef
-
setDeprecated
@Deprecated public void setDeprecated(boolean deprecated)
Deprecated.
-
getContainingClass
public Descriptors.TypeRef getContainingClass()
-
getDescriptor
public Descriptors.Descriptor getDescriptor()
-
setConstant
@Deprecated public void setConstant(java.lang.Object o)
Deprecated.
-
getConstant
public java.lang.Object getConstant()
-
getGenericReturnType
public java.lang.String getGenericReturnType()
-
getPrototype
public Descriptors.TypeRef[] getPrototype()
- Overrides:
getPrototype
in classClazz.ElementDef
-
elementType
Annotation.ElementType elementType()
- Specified by:
elementType
in classClazz.ElementDef
-
-