public final class Method extends FieldOrMethod
attributes, attributes_count, constant_pool, name_index, signature_index
access_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, setAttributes
getAccessFlags
public 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 Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.