com.ibm.dtfj.java

Interface JavaMethod

All Superinterfaces:
JavaMember

  1. public interface JavaMethod
  2. extends JavaMember
Represents a method or constructor in a class.

Method Summary

Modifier and Type Method and Description
  1. boolean
equals(java.lang.Object obj)
  1. java.util.Iterator
getBytecodeSections()
Get the set of ImageSections containing the bytecode of this method.
  1. java.util.Iterator
getCompiledSections()
Get the set of ImageSections containing the compiled code of this method.
  1. int
hashCode()
Methods inherited from interface com.ibm.dtfj.java.JavaMember
getDeclaringClass, getModifiers, getName, getSignature

Method Detail

getBytecodeSections

  1. java.util.Iterator getBytecodeSections( )
Get the set of ImageSections containing the bytecode of this method.
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:

getCompiledSections

  1. java.util.Iterator getCompiledSections( )
Get the set of ImageSections containing the compiled code of this method.
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:

equals

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

hashCode

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