Package aQute.bnd.osgi
Class Clazz.MethodDef
java.lang.Object
aQute.bnd.osgi.Clazz.Def
aQute.bnd.osgi.Clazz.ElementDef
aQute.bnd.osgi.Clazz.MemberDef
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.MemberDef
descriptor, getContainingClass, getDescriptor, getName, getType, toString
Methods inherited from class aQute.bnd.osgi.Clazz.ElementDef
annotationInfos, annotations, attribute, attributes, attributes, getSignature, isDeprecated, matches, typeAnnotations
Methods inherited from class aQute.bnd.osgi.Clazz.Def
getAccess, getClazz, getOwnerType, isAbstract, isAnnotation, isEnum, isInterface, isModule, isNative, isPrivate, isProtected, isPublic, isStatic, isSynthetic, isTransient, isVolatile
-
Constructor Details
-
MethodDef
-
-
Method Details
-
isConstructor
public boolean isConstructor() -
isFinal
public boolean isFinal() -
getPrototype
-
isBridge
public boolean isBridge() -
getGenericReturnType
- Specified by:
getGenericReturnType
in classClazz.MemberDef
-
getParameters
-
getConstant
- Specified by:
getConstant
in classClazz.MemberDef
-
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()- Specified by:
elementType
in classClazz.ElementDef
-