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(java.lang.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.
|
java.lang.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 java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.