|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jibx.binding.classes.BindingMethod
public abstract class 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.
| 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(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 String |
getName()
Get name of method. |
abstract 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 |
| Constructor Detail |
|---|
protected BindingMethod(ClassFile cf)
cf - owning class file information| Method Detail |
|---|
public ClassFile getClassFile()
public abstract String getName()
public abstract 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()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objecttrue if equal objects, false if not
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||