public class MethodDescriptor extends Object
Constructor and Description |
---|
MethodDescriptor(String name,
String desc)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(ClassChecker.AnnotationDescriptor ann)
Add an annotation to the current method.
|
void |
addParameterAnnotation(int id,
ClassChecker.AnnotationDescriptor ann)
Add an annotation to the current method.
|
List<ClassChecker.AnnotationDescriptor> |
getAnnotations() |
String |
getDescriptor() |
org.apache.felix.ipojo.metadata.Element |
getElement()
Compute method manipulation metadata.
|
String |
getName() |
Map<Integer,List<ClassChecker.AnnotationDescriptor>> |
getParameterAnnotations() |
public void addAnnotation(ClassChecker.AnnotationDescriptor ann)
ann
- annotation to addpublic void addParameterAnnotation(int id, ClassChecker.AnnotationDescriptor ann)
ann
- annotation to addpublic List<ClassChecker.AnnotationDescriptor> getAnnotations()
public Map<Integer,List<ClassChecker.AnnotationDescriptor>> getParameterAnnotations()
public String getDescriptor()
public org.apache.felix.ipojo.metadata.Element getElement()
public String getName()
Copyright © 2006–2015 The Apache Software Foundation. All rights reserved.