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 Method
ClassFile
this method belongs to.public String getName()
public String getDescriptor()
getDescriptor
in interface Method
public int getAccess()
public String getSignature()
Method
getSignature
in interface Method
public String[] getExceptions()
getExceptions
in interface Method
public Collection<MethodRef> getReferencedMethods()
getReferencedMethods
in interface Method
public Collection<String> getReferencedClasses()
getReferencedClasses
in interface Method
public MethodRef getSelfReference()
getSelfReference
in interface Method
Copyright © 2009–2023 Oracle Corporation. All rights reserved.