public final class ImageHeapObjectArray extends ImageHeapArray
compressed, hostedObject, identityHashCode, type| Modifier and Type | Method and Description |
|---|---|
JavaConstant |
compress() |
boolean |
equals(Object o) |
ImageHeapConstant |
forObjectClone()
Returns a new image heap instance, as if
Object.clone() was called on the original
object. |
Object |
getElement(int idx)
Return the value of the element at the specified index as computed by
ImageHeapScanner.onArrayElementReachable(ImageHeapArray, AnalysisType, JavaConstant, int, ObjectScanner.ScanReason, Consumer). |
int |
getLength() |
int |
hashCode() |
JavaConstant |
readElementValue(int index)
Returns the element value, i.e., a
JavaConstant. |
void |
setElement(int idx,
JavaConstant value) |
void |
setElementTask(int idx,
AnalysisFuture<JavaConstant> task) |
JavaConstant |
uncompress() |
createasBoolean, asBoxedPrimitive, asDouble, asFloat, asInt, asLong, getHostedObject, getIdentityHashCode, getJavaKind, getType, isBackedByHostedObject, isCompressed, isDefaultForKind, isNull, isReachable, markReachable, setType, toValueStringpublic Object getElement(int idx)
ImageHeapScanner.onArrayElementReachable(ImageHeapArray, AnalysisType, JavaConstant, int, ObjectScanner.ScanReason, Consumer).getElement in class ImageHeapArraypublic JavaConstant readElementValue(int index)
JavaConstant. If the value is not yet materialized
then the future is executed on the current thread.readElementValue in class ImageHeapArraypublic void setElement(int idx,
JavaConstant value)
setElement in class ImageHeapArraypublic void setElementTask(int idx,
AnalysisFuture<JavaConstant> task)
public int getLength()
getLength in class ImageHeapArraypublic JavaConstant compress()
public JavaConstant uncompress()
public ImageHeapConstant forObjectClone()
ImageHeapConstantObject.clone() was called on the original
object. If the type is not cloneable, then null is returned.forObjectClone in class ImageHeapConstantpublic boolean equals(Object o)
equals in class ImageHeapConstantpublic int hashCode()
hashCode in class ImageHeapConstant