com.ibm.dtfj.java
Interface JavaMethod

All Superinterfaces:
JavaMember

public interface JavaMethod
extends JavaMember

Represents a method or constructor in a class


Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Iterator getBytecodeSections()
           
 java.util.Iterator getCompiledSections()
           
 int hashCode()
           
 
Methods inherited from interface com.ibm.dtfj.java.JavaMember
getDeclaringClass, getModifiers, getName, getSignature
 

Method Detail

getBytecodeSections

java.util.Iterator getBytecodeSections()
Returns:
an iterator over a collection of ImageSections. Each ImageSection contains data (usually bytecodes) used in executing this method in interpreted mode.

The collection may be empty for native methods, or pre-compiled methods.

Typically, the collection will contain no more than one section, but this is not guaranteed.

See Also:
ImageSection, CorruptData

getCompiledSections

java.util.Iterator getCompiledSections()
Returns:
an iterator over a collection of ImageSections. Each ImageSection contains data (usually executable code) used in executing this method in compiled mode.
See Also:
ImageSection, CorruptData

equals

boolean equals(java.lang.Object obj)
Specified by:
equals in interface JavaMember
Overrides:
equals in class java.lang.Object
Parameters:
obj -
Returns:
True obj refers to the same Java Method in the image

hashCode

int hashCode()
Specified by:
hashCode in interface JavaMember
Overrides:
hashCode in class java.lang.Object