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(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, setAttributes
getAccessFlags
public Method()
public final Code getCode()
public final ExceptionTable getExceptionTable()
public final LocalVariableTable getLocalVariableTable()
public final java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.