org.jetbrains.kotlin.codegen
Class StackValue.StackValueWithSimpleReceiver
java.lang.Object
org.jetbrains.kotlin.codegen.StackValue
org.jetbrains.kotlin.codegen.StackValue.StackValueWithSimpleReceiver
- Direct Known Subclasses:
- StackValue.CollectionElement, StackValue.DelegatedForComplexReceiver, StackValue.Field, StackValue.FieldForSharedVar, StackValue.Shared
- Enclosing class:
- StackValue
public abstract static class StackValue.StackValueWithSimpleReceiver
- extends StackValue
Nested classes/interfaces inherited from class org.jetbrains.kotlin.codegen.StackValue |
StackValue.CallReceiver, StackValue.CollectionElement, StackValue.CollectionElementReceiver, StackValue.Constant, StackValue.DelegatedForComplexReceiver, StackValue.Field, StackValue.FieldForSharedVar, StackValue.Local, StackValue.OnStack, StackValue.Receiver, StackValue.Shared, StackValue.StackValueWithSimpleReceiver |
Method Summary |
void |
dup(org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v,
boolean withWriteReceiver)
|
boolean |
isNonStaticAccess(boolean isRead)
|
void |
putReceiver(org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v,
boolean isRead)
|
int |
receiverSize()
|
void |
store(StackValue rightSide,
org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v,
boolean skipReceiver)
|
Methods inherited from class org.jetbrains.kotlin.codegen.StackValue |
and, arrayElement, canHaveSideEffects, changeReceiverForFieldAndSharedVar, cmp, coerce, coerceFrom, coerceTo, coercion, collectionElement, compareIntWithZero, compareWithNull, complexWriteReadReceiver, constant, couldSkipReceiverOnStaticCall, enumEntry, expression, field, field, field, field, fieldForSharedVar, fieldForSharedVar, functionCall, local, moveToTopOfStack, none, not, onStack, operation, or, postIncrement, preIncrement, preIncrementForLocalVar, property, put, put, putSelector, putUnitInstance, receiver, receiverWithoutReceiverArgument, receiverWithRefWrapper, refType, shared, sharedTypeForType, singleton, singletonViaInstance, store, storeSelector, thisOrOuter, unit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isStaticPut
public final boolean isStaticPut
isStaticStore
public final boolean isStaticStore
receiver
@NotNull
public final StackValue receiver
StackValue.StackValueWithSimpleReceiver
public StackValue.StackValueWithSimpleReceiver(@NotNull
org.jetbrains.org.objectweb.asm.Type type,
boolean isStaticPut,
boolean isStaticStore,
@NotNull
StackValue receiver,
boolean canHaveSideEffects)
putReceiver
public void putReceiver(@NotNull
org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v,
boolean isRead)
- Overrides:
putReceiver
in class StackValue
isNonStaticAccess
public boolean isNonStaticAccess(boolean isRead)
- Overrides:
isNonStaticAccess
in class StackValue
receiverSize
public int receiverSize()
dup
public void dup(@NotNull
org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v,
boolean withWriteReceiver)
- Overrides:
dup
in class StackValue
store
public void store(@NotNull
StackValue rightSide,
@NotNull
org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v,
boolean skipReceiver)
- Overrides:
store
in class StackValue