public final class ImageHeapPrimitiveArray 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 |
getArray() |
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 idx) |
void |
setElement(int idx,
JavaConstant value) |
JavaConstant |
uncompress() |
createasBoolean, asBoxedPrimitive, asDouble, asFloat, asInt, asLong, getHostedObject, getIdentityHashCode, getJavaKind, getType, isBackedByHostedObject, isCompressed, isDefaultForKind, isNull, isReachable, markReachable, setType, toValueStringpublic Object getArray()
public Object getElement(int idx)
ImageHeapScanner.onArrayElementReachable(ImageHeapArray, AnalysisType, JavaConstant, int, ObjectScanner.ScanReason, Consumer).getElement in class ImageHeapArraypublic JavaConstant readElementValue(int idx)
readElementValue in class ImageHeapArraypublic void setElement(int idx,
JavaConstant value)
setElement in class ImageHeapArraypublic 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