CstArray.List| 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.
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
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. |
static CstCallSite |
make(CstMethodHandle bootstrapHandle,
CstNat nat,
BootstrapMethodArgumentsList optionalArguments)
Creates an instance of a
CstCallSite. |
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 static CstCallSite make(CstMethodHandle bootstrapHandle, CstNat nat, BootstrapMethodArgumentsList optionalArguments)
CstCallSite.bootstrapHandle - non-null; the bootstrap method handle to invokenat - non-null; the name and type to be resolved by the bootstrap method handleoptionalArguments - null-ok; optional arguments to provide to the bootstrap
methodCstCallSite instanceprotected int compareTo0(Constant other)
compareTo0 in class CstArrayother - non-null; the instance to compare to-1, 0, or 1, as usual
for a comparisonpublic java.lang.String typeName()
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 CstArraytrue iff this instance is category-2Copyright © 2020. All Rights Reserved.