final class com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation extends com.oracle.truffle.api.test.polyglot.ProxyInstrument implements com.oracle.truffle.api.instrumentation.AllocationListener
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation
  super_class: com.oracle.truffle.api.test.polyglot.ProxyInstrument
{
  private final java.util.List<java.lang.String> allocations;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljava/lang/String;>;

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation this
         0: .line 2122
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.test.polyglot.ProxyInstrument.<init>:()V
         1: .line 2124
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation.allocations:Ljava/util/List;
         2: .line 2122
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTest$TestAllocation;

  protected void onCreate(com.oracle.truffle.api.instrumentation.TruffleInstrument$Env);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation this
        start local 1 // com.oracle.truffle.api.instrumentation.TruffleInstrument$Env env
         0: .line 2128
            aload 0 /* this */
            aload 1 /* env */
            invokespecial com.oracle.truffle.api.test.polyglot.ProxyInstrument.onCreate:(Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;)V
         1: .line 2129
            aload 1 /* env */
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getLanguages:()Ljava/util/Map;
            ldc "instrumentation-test-language"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.nodes.LanguageInfo
            astore 2 /* testLanguage */
        start local 2 // com.oracle.truffle.api.nodes.LanguageInfo testLanguage
         2: .line 2130
            aload 1 /* env */
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            invokestatic com.oracle.truffle.api.instrumentation.AllocationEventFilter.newBuilder:()Lcom/oracle/truffle/api/instrumentation/AllocationEventFilter$Builder;
            iconst_1
            anewarray com.oracle.truffle.api.nodes.LanguageInfo
            dup
            iconst_0
            aload 2 /* testLanguage */
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.AllocationEventFilter$Builder.languages:([Lcom/oracle/truffle/api/nodes/LanguageInfo;)Lcom/oracle/truffle/api/instrumentation/AllocationEventFilter$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.AllocationEventFilter$Builder.build:()Lcom/oracle/truffle/api/instrumentation/AllocationEventFilter;
            aload 0 /* this */
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachAllocationListener:(Lcom/oracle/truffle/api/instrumentation/AllocationEventFilter;Lcom/oracle/truffle/api/instrumentation/AllocationListener;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            pop
         3: .line 2131
            return
        end local 2 // com.oracle.truffle.api.nodes.LanguageInfo testLanguage
        end local 1 // com.oracle.truffle.api.instrumentation.TruffleInstrument$Env env
        end local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    4     0          this  Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTest$TestAllocation;
            0    4     1           env  Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            2    4     2  testLanguage  Lcom/oracle/truffle/api/nodes/LanguageInfo;
    MethodParameters:
      Name  Flags
      env   

  java.lang.String getAllocations();
    descriptor: ()Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation this
         0: .line 2134
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation.allocations:Ljava/util/List;
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            areturn
        end local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTest$TestAllocation;

  public void onEnter(com.oracle.truffle.api.instrumentation.AllocationEvent);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/AllocationEvent;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation this
        start local 1 // com.oracle.truffle.api.instrumentation.AllocationEvent event
         0: .line 2140
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation.allocations:Ljava/util/List;
            new java.lang.StringBuilder
            dup
            ldc "W "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* event */
            invokevirtual com.oracle.truffle.api.instrumentation.AllocationEvent.getNewSize:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* event */
            invokevirtual com.oracle.truffle.api.instrumentation.AllocationEvent.getValue:()Ljava/lang/Object;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         1: .line 2141
            return
        end local 1 // com.oracle.truffle.api.instrumentation.AllocationEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTest$TestAllocation;
            0    2     1  event  Lcom/oracle/truffle/api/instrumentation/AllocationEvent;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
       Name  Flags
      event  

  public void onReturnValue(com.oracle.truffle.api.instrumentation.AllocationEvent);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/AllocationEvent;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation this
        start local 1 // com.oracle.truffle.api.instrumentation.AllocationEvent event
         0: .line 2146
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation.allocations:Ljava/util/List;
            new java.lang.StringBuilder
            dup
            ldc "A "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* event */
            invokevirtual com.oracle.truffle.api.instrumentation.AllocationEvent.getNewSize:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* event */
            invokevirtual com.oracle.truffle.api.instrumentation.AllocationEvent.getValue:()Ljava/lang/Object;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         1: .line 2147
            return
        end local 1 // com.oracle.truffle.api.instrumentation.AllocationEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTest$TestAllocation;
            0    2     1  event  Lcom/oracle/truffle/api/instrumentation/AllocationEvent;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
       Name  Flags
      event  
}
SourceFile: "InstrumentationTest.java"
NestHost: com.oracle.truffle.api.instrumentation.test.InstrumentationTest
InnerClasses:
  public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
  public Builder = com.oracle.truffle.api.instrumentation.AllocationEventFilter$Builder of com.oracle.truffle.api.instrumentation.AllocationEventFilter
  public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
  private final TestAllocation = com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestAllocation of com.oracle.truffle.api.instrumentation.test.InstrumentationTest