Note
As a TypeBearer, this class bears the return type
of the method.
| Modifier and Type | Field and Description |
|---|---|
| private Prototype | instancePrototype
|
| private final Prototype | prototype
|
| Access | Constructor and Description |
|---|---|
| pack-priv | CstBaseMethodRef(CstType
non-null; the type of the defining classnon-null; the name-and-typeConstructs an instance. |
| Modifier and Type | Method and Description |
|---|---|
| protected final int | compareTo0(Constant
non-null; the instance to compare toOverrides org. |
| public final int | Returns: >= 0; the argument word countwhether the method should be considered static isStatic)Gets the number of words of parameters required by this method's descriptor. |
| public final Prototype | |
| public final Prototype | Returns: non-null; the method prototypewhether the method should be considered static isStatic)Gets the prototype of this method as either a
|
| public final Type | Returns: non-null; the method's return typeImplements org. |
| public final boolean | Returns: true iff this is a reference to an
instance initialization methodGets whether this is a reference to a class initialization method. |
| public final boolean | Returns: true iff this is a reference to an
instance initialization methodGets whether this is a reference to an instance initialization method. |
| instancePrototype | back to summary |
|---|---|
| private Prototype instancePrototype
| |
| prototype | back to summary |
|---|---|
| private final Prototype prototype
| |
| CstBaseMethodRef | back to summary |
|---|---|
| pack-priv CstBaseMethodRef(CstType definingClass, CstNat nat) Constructs an instance. | |
| compareTo0 | back to summary |
|---|---|
| protected final int compareTo0(Constant other) Overrides org. Doc from org. Compare the values of this and another instance, which are guaranteed to be of the same class. Subclasses must implement this. Note This implementation just compares the defining
class and name, and it is up to subclasses to compare the rest
after calling
| |
| getParameterWordCount | back to summary |
|---|---|
| public final int getParameterWordCount(boolean isStatic) Gets the number of words of parameters required by this
method's descriptor. Since instances of this class have no way
to know if they will be used in a
| |
| getPrototype | back to summary |
|---|---|
| public final Prototype getPrototype() Gets the raw prototype of this method. This doesn't include a
| |
| getPrototype | back to summary |
|---|---|
| public final Prototype getPrototype(boolean isStatic) Gets the prototype of this method as either a
| |
| getType | back to summary |
|---|---|
| public final Type getType() Implements org. Doc from org. Gets the type associated with this instance. In this case, this method returns the return type of this method.
| |
| isClassInit | back to summary |
|---|---|
| public final boolean isClassInit() Gets whether this is a reference to a class initialization
method. This is just a convenient shorthand for
| |
| isInstanceInit | back to summary |
|---|---|
| public final boolean isInstanceInit() Gets whether this is a reference to an instance initialization
method. This is just a convenient shorthand for
| |