|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.binding.classes.BindingMethod
Binding method information. Tracks a method used by the binding code, supplying hash code and equality checking based on the method signature and actual byte code of the method, ignoring the method name. This allows comparisons between methods generated by different bindings, and between generated and existing methods.
Field Summary | |
private ClassFile |
m_classFile
Owning class file information. |
Constructor Summary | |
protected |
BindingMethod(ClassFile cf)
Constructor. |
Method Summary | |
static int |
computeMethodHash(org.apache.bcel.classfile.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 org.apache.bcel.classfile.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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private ClassFile m_classFile
Constructor Detail |
protected BindingMethod(ClassFile cf)
cf
- owning class file informationMethod Detail |
public 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 org.apache.bcel.classfile.Method getMethod()
public abstract ClassItem getItem()
public void makeAccessible(ClassFile src)
src
- class file for required accesspublic static int computeMethodHash(org.apache.bcel.classfile.Method method)
public abstract int hashCode()
public boolean equals(java.lang.Object obj)
true
if equal objects, false
if not
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |