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 private java.lang.Stringdescriptorprivate java.lang.Stringname
-
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 java.lang.Stringdescriptor()(package private) Annotation.ElementTypeelementType()java.lang.ObjectgetConstant()Descriptors.TypeRefgetContainingClass()Descriptors.DescriptorgetDescriptor()java.lang.StringgetGenericReturnType()java.lang.StringgetName()Descriptors.TypeRef[]getPrototype()Descriptors.TypeRefgetType()voidsetConstant(java.lang.Object o)Deprecated.voidsetDeprecated(boolean deprecated)Deprecated.-
Methods inherited from class aQute.bnd.osgi.Clazz.ElementDef
annotationInfos, annotations, attribute, attributes, 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
-
-
-
-
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:
getNamein classClazz.ElementDef
-
getType
public Descriptors.TypeRef getType()
- Overrides:
getTypein classClazz.ElementDef
-
setDeprecated
@Deprecated public void setDeprecated(boolean deprecated)
Deprecated.
-
getContainingClass
public Descriptors.TypeRef getContainingClass()
-
descriptor
public java.lang.String descriptor()
-
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:
getPrototypein classClazz.ElementDef
-
elementType
Annotation.ElementType elementType()
- Specified by:
elementTypein classClazz.ElementDef
-
-