|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 HasResolvepublic String getName()
MetaMethod
getName in interface HasNamegetName in interface MetaMethodpublic Set<? extends MetaAnnotation> getAnnotations()
MetaMethod
getAnnotations in interface MetaMethodpublic MetaAnnotation getAnnotation(String annotationName)
MetaMethod
getAnnotation in interface MetaMethodannotationName - The name of the annotation desired
public boolean isStatic()
MetaMethod
isStatic in interface MetaMethodpublic MetaType getType()
MetaMethod
getType in interface MetaMethodpublic 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 | |||||||||