Package aQute.bnd.osgi
Class Clazz.ElementDef
- java.lang.Object
-
- aQute.bnd.osgi.Clazz.Def
-
- aQute.bnd.osgi.Clazz.ElementDef
-
- Direct Known Subclasses:
Clazz.ClassDef,Clazz.CodeDef,Clazz.FieldDef
- Enclosing class:
- Clazz
abstract class Clazz.ElementDef extends Clazz.Def
-
-
Field Summary
Fields Modifier and Type Field Description private Attribute[]attributes
-
Constructor Summary
Constructors Constructor Description ElementDef(int access, Attribute[] attributes)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) <A extends AnnotationsAttribute>
java.util.stream.Stream<AnnotationInfo>annotationInfos(java.lang.Class<A> attributeType)java.util.stream.Stream<Annotation>annotations(java.lang.String binaryNameFilter)(package private) <A extends Attribute>
java.util.Optional<A>attribute(java.lang.Class<A> attributeType)(package private) Attribute[]attributes()(package private) <A extends Attribute>
java.util.stream.Stream<A>attributes(java.lang.Class<A> attributeType)(package private) abstract Annotation.ElementTypeelementType()java.lang.StringgetName()Descriptors.TypeRef[]getPrototype()java.lang.StringgetSignature()Descriptors.TypeRefgetType()booleanisDeprecated()(package private) java.util.function.Predicate<AnnotationInfo>matches(java.lang.String binaryNameFilter)java.lang.StringtoString()(package private) <A extends TypeAnnotationsAttribute>
java.util.stream.Stream<TypeAnnotationInfo>typeAnnotationInfos(java.lang.Class<A> attributeType)java.util.stream.Stream<TypeAnnotation>typeAnnotations(java.lang.String binaryNameFilter)-
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
-
attributes
private final Attribute[] attributes
-
-
Constructor Detail
-
ElementDef
ElementDef(int access, Attribute[] attributes)
-
-
Method Detail
-
attributes
Attribute[] attributes()
-
isDeprecated
public boolean isDeprecated()
-
getSignature
public java.lang.String getSignature()
-
attributes
<A extends Attribute> java.util.stream.Stream<A> attributes(java.lang.Class<A> attributeType)
-
attribute
<A extends Attribute> java.util.Optional<A> attribute(java.lang.Class<A> attributeType)
-
annotationInfos
<A extends AnnotationsAttribute> java.util.stream.Stream<AnnotationInfo> annotationInfos(java.lang.Class<A> attributeType)
-
annotations
public java.util.stream.Stream<Annotation> annotations(java.lang.String binaryNameFilter)
-
matches
java.util.function.Predicate<AnnotationInfo> matches(java.lang.String binaryNameFilter)
-
typeAnnotationInfos
<A extends TypeAnnotationsAttribute> java.util.stream.Stream<TypeAnnotationInfo> typeAnnotationInfos(java.lang.Class<A> attributeType)
-
typeAnnotations
public java.util.stream.Stream<TypeAnnotation> typeAnnotations(java.lang.String binaryNameFilter)
-
getType
public Descriptors.TypeRef getType()
-
getPrototype
public Descriptors.TypeRef[] getPrototype()
- Specified by:
getPrototypein classClazz.Def
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
elementType
abstract Annotation.ElementType elementType()
-
-