public class TruffleDebugJavaMethod extends Object implements JavaMethod, JavaMethodContext
JavaMethod for use as a context value in
debug scopes.| Modifier and Type | Field and Description |
|---|---|
private com.oracle.truffle.api.RootCallTarget |
compilable |
private static JavaType |
declaringClass |
private static Signature |
signature |
| Constructor and Description |
|---|
TruffleDebugJavaMethod(com.oracle.truffle.api.RootCallTarget compilable) |
| Modifier and Type | Method and Description |
|---|---|
JavaMethod |
asJavaMethod() |
boolean |
equals(Object obj) |
JavaType |
getDeclaringClass()
Returns the
JavaType object representing the class or interface that declares this
method. |
String |
getName()
Returns the name of this method.
|
Signature |
getSignature()
Returns the signature of this method.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitformatprivate final com.oracle.truffle.api.RootCallTarget compilable
private static final JavaType declaringClass
public TruffleDebugJavaMethod(com.oracle.truffle.api.RootCallTarget compilable)
public Signature getSignature()
JavaMethodgetSignature in interface JavaMethodpublic String getName()
JavaMethodgetName in interface JavaMethodpublic JavaType getDeclaringClass()
JavaMethodJavaType object representing the class or interface that declares this
method.getDeclaringClass in interface JavaMethodpublic JavaMethod asJavaMethod()
asJavaMethod in interface JavaMethodContext