|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.classscan.bcel.BcelMethod
public class BcelMethod
Constructor Summary | |
---|---|
BcelMethod(org.apache.bcel.classfile.Method method)
|
Method Summary | |
---|---|
MetaAnnotation |
getAnnotation(String annotationName)
Get metadata about a particular annotation on the corresponding method. |
Set<? extends MetaAnnotation> |
getAnnotations()
Get metadata about the annotations on the method or constructor. |
String |
getName()
Get the name of the method or constructor |
Set<? extends MetaParameter> |
getParameters()
Get metadata about the parameters of the method or constructor |
MetaType |
getType()
Get metadata about the return type of the method or constructor |
boolean |
isStatic()
Get whether the corresponding method or constructor is a static method or static class initializer |
boolean |
resolve(SpiMetaClassLoader classLoader)
Resolve names into model entries |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BcelMethod(org.apache.bcel.classfile.Method method)
Method Detail |
---|
public boolean resolve(SpiMetaClassLoader classLoader)
HasResolve
resolve
in interface HasResolve
public String getName()
MetaMethod
getName
in interface HasName
getName
in interface MetaMethod
public Set<? extends MetaAnnotation> getAnnotations()
MetaMethod
getAnnotations
in interface MetaMethod
public MetaAnnotation getAnnotation(String annotationName)
MetaMethod
getAnnotation
in interface MetaMethod
annotationName
- The name of the annotation desired
public boolean isStatic()
MetaMethod
isStatic
in interface MetaMethod
public MetaType getType()
MetaMethod
getType
in interface MetaMethod
public Set<? extends MetaParameter> getParameters()
MetaMethod
getParameters
in interface MetaMethod
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |