public class DiscoverableReference extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DiscoverableReference.TestingBackDoor
For testing and debugging.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DiscoverableReference(Object referent)
Constructor for sub-classes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clean() |
void |
clear()
Clear the referent.
|
boolean |
getIsDiscovered() |
DiscoverableReference |
getNextDiscoverableReference()
Read access to the next field.
|
org.graalvm.word.Pointer |
getReferentPointer()
Read access to the referent, as a Pointer.
|
DiscoverableReference |
prependToDiscoveredReference(DiscoverableReference newNext)
Push a DiscoverableReference onto the list.
|
void |
setReferentPointer(org.graalvm.word.Pointer value)
Write access to the referent, as a Pointer.
|
protected DiscoverableReference(Object referent)
referent - The Object to be tracked by this DiscoverableReference.public DiscoverableReference prependToDiscoveredReference(DiscoverableReference newNext)
public void clear()
public org.graalvm.word.Pointer getReferentPointer()
public void setReferentPointer(org.graalvm.word.Pointer value)
public DiscoverableReference getNextDiscoverableReference()
public boolean getIsDiscovered()
public void clean()