Package aQute.bnd.osgi
Class Clazz.MethodDef
java.lang.Object
aQute.bnd.osgi.Clazz.Def
aQute.bnd.osgi.Clazz.ElementDef
aQute.bnd.osgi.Clazz.FieldDef
aQute.bnd.osgi.Clazz.MethodDef
- Enclosing class:
- Clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Annotation.ElementType
boolean
isBridge()
boolean
boolean
isFinal()
(package private) <A extends ParameterAnnotationsAttribute>
Stream<ParameterAnnotationInfo>parameterAnnotationInfos
(Class<A> attributeType) private Stream<ParameterAnnotation>
parameterAnnotations
(ParameterAnnotationInfo parameterAnnotationInfo, Predicate<AnnotationInfo> matches, Annotation.ElementType elementType, RetentionPolicy policy) parameterAnnotations
(String binaryNameFilter) (package private) <A extends TypeAnnotationsAttribute>
Stream<TypeAnnotationInfo>typeAnnotationInfos
(Class<A> attributeType) We must also look in the method's Code attribute for type annotations.Methods inherited from class aQute.bnd.osgi.Clazz.FieldDef
descriptor, getContainingClass, getDescriptor, getName, getType, setConstant, setDeprecated
Methods inherited from class aQute.bnd.osgi.Clazz.ElementDef
annotationInfos, annotations, attribute, attributes, attributes, getSignature, isDeprecated, matches, toString, typeAnnotations
Methods inherited from class aQute.bnd.osgi.Clazz.Def
getAccess, getAnnotations, getClazz, getOwnerType, isAbstract, isAnnotation, isEnum, isInterface, isModule, isNative, isPrivate, isProtected, isPublic, isStatic, isSynthetic, isTransient, isVolatile
-
Constructor Details
-
MethodDef
Deprecated. -
MethodDef
-
-
Method Details
-
isConstructor
public boolean isConstructor() -
isFinal
public boolean isFinal() -
getPrototype
- Overrides:
getPrototype
in classClazz.FieldDef
-
isBridge
public boolean isBridge() -
getGenericReturnType
- Overrides:
getGenericReturnType
in classClazz.FieldDef
-
getParameters
-
getConstant
- Overrides:
getConstant
in classClazz.FieldDef
-
parameterAnnotationInfos
<A extends ParameterAnnotationsAttribute> Stream<ParameterAnnotationInfo> parameterAnnotationInfos(Class<A> attributeType) -
parameterAnnotations
-
parameterAnnotations
private Stream<ParameterAnnotation> parameterAnnotations(ParameterAnnotationInfo parameterAnnotationInfo, Predicate<AnnotationInfo> matches, Annotation.ElementType elementType, RetentionPolicy policy) -
typeAnnotationInfos
<A extends TypeAnnotationsAttribute> Stream<TypeAnnotationInfo> typeAnnotationInfos(Class<A> attributeType) We must also look in the method's Code attribute for type annotations.- Overrides:
typeAnnotationInfos
in classClazz.ElementDef
-
elementType
Annotation.ElementType elementType()- Overrides:
elementType
in classClazz.FieldDef
-