| Constructor and Description |
|---|
BCELMethod(ClassFile owningClass,
org.apache.bcel.classfile.Method method) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAccess() |
String |
getDescriptor() |
String[] |
getExceptions() |
String |
getName() |
ClassFile |
getOwningClass() |
Collection<String> |
getReferencedClasses() |
Collection<MethodRef> |
getReferencedMethods() |
MethodRef |
getSelfReference() |
String |
getSignature()
Used only when method's parameters or return type use generics.
|
boolean |
isNative() |
public BCELMethod(ClassFile owningClass, org.apache.bcel.classfile.Method method)
public ClassFile getOwningClass()
getOwningClass in interface MethodClassFile this method belongs to.public String getName()
public String getDescriptor()
getDescriptor in interface Methodpublic int getAccess()
public String getSignature()
MethodgetSignature in interface Methodpublic String[] getExceptions()
getExceptions in interface Methodpublic Collection<MethodRef> getReferencedMethods()
getReferencedMethods in interface Methodpublic Collection<String> getReferencedClasses()
getReferencedClasses in interface Methodpublic MethodRef getSelfReference()
getSelfReference in interface MethodCopyright © 2009–2017 Oracle Corporation. All rights reserved.