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.ElementTypebooleanisBridge()booleanbooleanisFinal()(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, toStringMethods inherited from class aQute.bnd.osgi.Clazz.ElementDef
annotationInfos, annotations, attribute, attributes, attributes, getSignature, isDeprecated, matches, typeAnnotationsMethods 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:
getGenericReturnTypein classClazz.MemberDef
-
getParameters
-
getConstant
- Specified by:
getConstantin 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:
typeAnnotationInfosin classClazz.ElementDef
-
elementType
Annotation.ElementType elementType()- Specified by:
elementTypein classClazz.ElementDef
-