CodeEntry.CodeId| Constructor and Description |
|---|
DefinedEntry(Symbol symbol,
Type type) |
DefinedEntry(Type type) |
| Modifier and Type | Method and Description |
|---|---|
Instruction[] |
code() |
int |
fieldOffset() |
byte |
fieldSort() |
Type |
fieldType() |
boolean |
hasNoCode() |
Instruction[] |
initCode() |
boolean |
isDefinedField()
Indicates that this code entry is that of a defined class field.
|
boolean |
isField()
Indicates that this code entry is that of a class field, although
this may be a code entry that is undefined as yet.
|
boolean |
isInlinable() |
boolean |
isProjection()
Indicates that this code entry is that of a named tuple projection.
|
boolean |
isSetOnEvaluation() |
boolean |
isUnsafe() |
ClassType |
objectType() |
TupleComponentInstruction |
projection() |
void |
registerReleasableEntry(CodeEntry entry)
Adds the specified code entry to the set of releasable entries of this code entry.
|
void |
registerUnsafeEntry(CodeEntry entry)
Adds the specified code entry to the set of unsafe entries of this code entry.
|
void |
releaseUnsafeEntries()
Releases all releasable entries of the unsafe entries of this CodeEntry.
|
void |
removeUnsafeEntry(CodeEntry entry)
Removes the specified code entry from the set of usafe entries of this code entry,
and sets the latter to null if it becomes empty.
|
void |
setCode(Instruction[] code) |
void |
setFieldInfo()
Sets this code entry to be a defined class field's.
|
void |
setInitCode() |
void |
setInlinable(boolean flag) |
DefinedEntry |
setIsField()
Sets this code entry to be that of a class field (defined or not), and
returns this defined entry.
|
DefinedEntry |
setIsProjection()
Sets this code entry to be that of a named tuple projection.
|
void |
setOnEvaluation() |
void |
setValue(double value) |
void |
setValue(int value) |
void |
setValue(java.lang.Object value) |
void |
showCode() |
java.lang.String |
toString() |
public DefinedEntry(Type type)
public final boolean isProjection()
isProjection in class CodeEntrypublic final DefinedEntry setIsProjection()
public final boolean isField()
public final DefinedEntry setIsField()
public final boolean isDefinedField()
isDefinedField in class CodeEntrypublic final void setFieldInfo()
public final byte fieldSort()
public final int fieldOffset()
public final ClassType objectType()
public final Type fieldType()
public final boolean isSetOnEvaluation()
public final void setOnEvaluation()
public final Instruction[] initCode()
public final void setInlinable(boolean flag)
public final boolean isInlinable()
public final TupleComponentInstruction projection()
public final void setCode(Instruction[] code)
public final Instruction[] code()
public final boolean hasNoCode()
public final boolean isUnsafe()
public final void registerUnsafeEntry(CodeEntry entry)
public final void removeUnsafeEntry(CodeEntry entry)
public final void registerReleasableEntry(CodeEntry entry)
public final void releaseUnsafeEntries()
public final void setValue(int value)
public final void setValue(double value)
public final void setValue(java.lang.Object value)
public final void setInitCode()
public final void showCode()