|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.binding.classes.BindingMethod
org.jibx.binding.classes.ExistingMethod
public class ExistingMethod
Information for an existing binding method. It supplies hash code and equality checking based on the method signature and actual byte code of the generated method, ignoring the method name.
Field Summary | |
---|---|
private int |
m_hashCode
Accumulated hash code from adding instructions. |
private ClassItem |
m_item
Class item information. |
private org.apache.bcel.classfile.Method |
m_method
Actual method information. |
private boolean |
m_used
Flag for method used in code. |
Constructor Summary | |
---|---|
ExistingMethod(org.apache.bcel.classfile.Method method,
ClassItem item,
ClassFile file)
Constructor. |
Method Summary | |
---|---|
void |
delete()
Delete method from class. |
int |
getAccessFlags()
Get access flags. |
ClassItem |
getItem()
Get the method item. |
org.apache.bcel.classfile.Method |
getMethod()
Get the actual method. |
java.lang.String |
getName()
Get name of method. |
java.lang.String |
getSignature()
Get signature. |
int |
hashCode()
Get hash code. |
boolean |
isUsed()
Check method used status. |
void |
setAccessFlags(int flags)
Set access flags. |
void |
setUsed()
Set method used status. |
Methods inherited from class org.jibx.binding.classes.BindingMethod |
---|
computeMethodHash, equals, getClassFile, makeAccessible |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private ClassItem m_item
private org.apache.bcel.classfile.Method m_method
private int m_hashCode
private boolean m_used
Constructor Detail |
---|
public ExistingMethod(org.apache.bcel.classfile.Method method, ClassItem item, ClassFile file)
method
- actual method informationitem
- class item information for methodfile
- class file informationMethod Detail |
---|
public java.lang.String getName()
getName
in class BindingMethod
public java.lang.String getSignature()
getSignature
in class BindingMethod
public int getAccessFlags()
getAccessFlags
in class BindingMethod
public void setAccessFlags(int flags)
setAccessFlags
in class BindingMethod
flags
- access type to be setpublic boolean isUsed()
public void setUsed()
public org.apache.bcel.classfile.Method getMethod()
getMethod
in class BindingMethod
public ClassItem getItem()
getItem
in class BindingMethod
public void delete()
public int hashCode()
hashCode
in class BindingMethod
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |