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.
|
boolean |
isDiscoverableReferenceInitialized()
Is this instance initialized?
This seems like a funny method to have, because by the time I could see an instance class
from ordinary Java code it would be initialized.
|
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 boolean isDiscoverableReferenceInitialized()
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()