public class CstCallSiteRef extends Constant
| Modifier and Type | Method and Description |
|---|---|
protected int |
compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed
to be of the same class.
|
CstCallSite |
getCallSite()
Gets the
CstCallSite that this instance refers to. |
Prototype |
getPrototype()
Gets the prototype of the method handle resolved at the call site.
|
Type |
getReturnType()
Gets the return type of the method handle resolved at the call site.
|
boolean |
isCategory2()
Returns
true if this instance is a category-2 constant,
meaning it takes up two slots in the constant pool, or
false if this instance is category-1. |
java.lang.String |
toHuman()
Return the "human" string form of this instance.
|
java.lang.String |
toString() |
java.lang.String |
typeName()
Returns the human name for the particular type of constant
this instance is.
|
public boolean isCategory2()
true if this instance is a category-2 constant,
meaning it takes up two slots in the constant pool, or
false if this instance is category-1.isCategory2 in class Constanttrue iff this instance is category-2public java.lang.String typeName()
protected int compareTo0(Constant other)
compareTo0 in class Constantother - non-null; the instance to compare to-1, 0, or 1, as usual
for a comparisonpublic java.lang.String toHuman()
toString().non-null; the human string formpublic java.lang.String toString()
toString in class java.lang.Objectpublic Prototype getPrototype()
public Type getReturnType()
public CstCallSite getCallSite()
CstCallSite that this instance refers to.null-ok; the call site associated with this instanceCopyright © 2020. All Rights Reserved.