org.jetbrains.kotlin.codegen
Class StackValue.CollectionElement

java.lang.Object
  extended by org.jetbrains.kotlin.codegen.StackValue
      extended by org.jetbrains.kotlin.codegen.StackValue.StackValueWithSimpleReceiver
          extended by org.jetbrains.kotlin.codegen.StackValue.CollectionElement
Enclosing class:
StackValue

public static class StackValue.CollectionElement
extends StackValue.StackValueWithSimpleReceiver


Nested Class Summary
 
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
 
Field Summary
 
Fields inherited from class org.jetbrains.kotlin.codegen.StackValue.StackValueWithSimpleReceiver
isStaticPut, isStaticStore, receiver
 
Fields inherited from class org.jetbrains.kotlin.codegen.StackValue
LOCAL_0, type
 
Constructor Summary
StackValue.CollectionElement(StackValue collectionElementReceiver, org.jetbrains.org.objectweb.asm.Type type, ResolvedCall<FunctionDescriptor> resolvedGetCall, ResolvedCall<FunctionDescriptor> resolvedSetCall, ExpressionCodegen codegen)
           
 
Method Summary
static boolean isStandardStack(JetTypeMapper typeMapper, ResolvedCall<?> call, int valueParamsSize)
           
 void putSelector(org.jetbrains.org.objectweb.asm.Type type, org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v)
           
 int receiverSize()
           
 void storeSelector(org.jetbrains.org.objectweb.asm.Type topOfStackType, org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v)
           
 
Methods inherited from class org.jetbrains.kotlin.codegen.StackValue.StackValueWithSimpleReceiver
dup, isNonStaticAccess, putReceiver, store
 
Methods inherited from class org.jetbrains.kotlin.codegen.StackValue
and, arrayElement, canHaveSideEffects, changeReceiverForFieldAndSharedVar, cmp, coerce, coerceFrom, coerceTo, coercion, collectionElement, compareIntWithZero, compareWithNull, complexWriteReadReceiver, constant, couldSkipReceiverOnStaticCall, expression, field, field, field, fieldForSharedVar, fieldForSharedVar, functionCall, local, moveToTopOfStack, none, not, onStack, operation, or, postIncrement, preIncrement, preIncrementForLocalVar, property, put, put, putUnitInstance, receiver, receiverWithoutReceiverArgument, receiverWithRefWrapper, refType, shared, sharedTypeForType, singleton, store, thisOrOuter, unit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackValue.CollectionElement

public StackValue.CollectionElement(@NotNull
                                    StackValue collectionElementReceiver,
                                    @NotNull
                                    org.jetbrains.org.objectweb.asm.Type type,
                                    @Nullable
                                    ResolvedCall<FunctionDescriptor> resolvedGetCall,
                                    @Nullable
                                    ResolvedCall<FunctionDescriptor> resolvedSetCall,
                                    @NotNull
                                    ExpressionCodegen codegen)
Method Detail

putSelector

public void putSelector(@NotNull
                        org.jetbrains.org.objectweb.asm.Type type,
                        @NotNull
                        org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v)
Specified by:
putSelector in class StackValue

receiverSize

public int receiverSize()
Overrides:
receiverSize in class StackValue.StackValueWithSimpleReceiver

isStandardStack

public static boolean isStandardStack(@NotNull
                                      JetTypeMapper typeMapper,
                                      @Nullable
                                      ResolvedCall<?> call,
                                      int valueParamsSize)

storeSelector

public void storeSelector(@NotNull
                          org.jetbrains.org.objectweb.asm.Type topOfStackType,
                          @NotNull
                          org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v)
Overrides:
storeSelector in class StackValue