public abstract class BindingMethod
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ClassFile |
m_classFile
Owning class file information.
|
Modifier | Constructor and Description |
---|---|
protected |
BindingMethod(ClassFile cf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static int |
computeMethodHash(Method method)
Computes the hash code for a method.
|
boolean |
equals(java.lang.Object obj)
Check if objects are equal.
|
abstract int |
getAccessFlags()
Get access flags.
|
ClassFile |
getClassFile()
Get class file containing method.
|
abstract ClassItem |
getItem()
Get the method item.
|
abstract Method |
getMethod()
Get the actual method.
|
abstract java.lang.String |
getName()
Get name of method.
|
abstract java.lang.String |
getSignature()
Get signature.
|
abstract int |
hashCode()
Get hash code.
|
void |
makeAccessible(ClassFile src)
Make accessible method.
|
abstract void |
setAccessFlags(int flags)
Set access flags.
|
private ClassFile m_classFile
protected BindingMethod(ClassFile cf)
cf
- owning class file informationpublic ClassFile getClassFile()
public abstract java.lang.String getName()
public abstract java.lang.String getSignature()
public abstract int getAccessFlags()
public abstract void setAccessFlags(int flags)
flags
- access type to be setpublic abstract Method getMethod()
public abstract ClassItem getItem()
public void makeAccessible(ClassFile src)
src
- class file for required accesspublic static int computeMethodHash(Method method)
public abstract int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
true
if equal objects, false
if not