public final class Method extends FieldOrMethod
attributes, attributes_count, constant_pool, name_index, signature_indexaccess_flags| Constructor and Description |
|---|
Method()
Empty constructor, all attributes have to be defined via `setXXX'
methods.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Return value as defined by given BCELComparator strategy.
|
Code |
getCode() |
ExceptionTable |
getExceptionTable() |
LocalVariableTable |
getLocalVariableTable() |
int |
hashCode()
Return value as defined by given BCELComparator strategy.
|
String |
toString()
Return string representation close to declaration format,
`public static void main(String[] args) throws IOException', e.g.
|
getName, getSignature, setAttributesgetAccessFlagspublic Method()
public final Code getCode()
public final ExceptionTable getExceptionTable()
public final LocalVariableTable getLocalVariableTable()
public final String toString()
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.