| Constructor and Description |
|---|
AbstractAccessor(org.panda_lang.utilities.commons.function.ThrowingBiFunction<ProcessStack,Object,MemoryContainer,Exception> memory,
T variable,
int internalPointer) |
| Modifier and Type | Method and Description |
|---|---|
MemoryContainer |
fetchMemoryContainer(ProcessStack stack,
Object instance) |
int |
getMemoryPointer() |
@Nullable Object |
getValue(ProcessStack stack,
Object instance) |
T |
getVariable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetType, toAssignerpublic AbstractAccessor(org.panda_lang.utilities.commons.function.ThrowingBiFunction<ProcessStack,Object,MemoryContainer,Exception> memory, T variable, int internalPointer)
public MemoryContainer fetchMemoryContainer(ProcessStack stack, Object instance) throws Exception
fetchMemoryContainer in interface Accessor<T extends Variable>Exception@Nullable public @Nullable Object getValue(ProcessStack stack, Object instance) throws Exception
public int getMemoryPointer()
getMemoryPointer in interface Accessor<T extends Variable>public T getVariable()
getVariable in interface Accessor<T extends Variable>Copyright © 2020. All rights reserved.