|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaMethod
Represents a method or constructor in a class
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<ImageSection> |
getBytecodeSections()
Get the set of ImageSections containing the bytecode of this method. |
java.util.List<ImageSection> |
getCompiledSections()
Get the set of ImageSections containing the compiled code of this method. |
java.util.List<JavaVariable> |
getVariables()
An experimental addition to the API. |
int |
hashCode()
|
Methods inherited from interface javax.tools.diagnostics.runtime.java.JavaMember |
---|
getDeclaringClass, getModifiers, getName, getSignature |
Method Detail |
---|
java.util.List<ImageSection> getBytecodeSections()
Get the set of ImageSections containing the bytecode of this method.
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.
The returned list follows the standard semantics for javax.tools.diagnostics collections.
The returned list is never null but could be empty.
ImageSection
java.util.List<ImageSection> getCompiledSections()
Get the set of ImageSections containing the compiled code of this method.
Each ImageSection contains data (usually executable code) used in executing this method in compiled mode.
The returned list follows the standard semantics for javax.tools.diagnostics collections.
The returned list is never null but could be empty.
ImageSection
java.util.List<JavaVariable> getVariables()
An experimental addition to the API.
Get the set of JavaVariable
objects
The returned list follows the standard semantics for javax.tools.diagnostics collections.
The returned list is never null but could be empty.
boolean equals(java.lang.Object obj)
equals
in interface JavaMember
equals
in class java.lang.Object
obj
-
int hashCode()
hashCode
in interface JavaMember
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |