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, wait
format
private final com.oracle.truffle.api.RootCallTarget compilable
private static final JavaType declaringClass
public TruffleDebugJavaMethod(com.oracle.truffle.api.RootCallTarget compilable)
public Signature getSignature()
JavaMethod
getSignature
in interface JavaMethod
public String getName()
JavaMethod
getName
in interface JavaMethod
public JavaType getDeclaringClass()
JavaMethod
JavaType
object representing the class or interface that declares this
method.getDeclaringClass
in interface JavaMethod
public JavaMethod asJavaMethod()
asJavaMethod
in interface JavaMethodContext