1*795d594fSAndroid Build Coastguard Worker; Copyright (C) 2019 The Android Open Source Project 2*795d594fSAndroid Build Coastguard Worker; 3*795d594fSAndroid Build Coastguard Worker; Licensed under the Apache License, Version 2.0 (the "License"); 4*795d594fSAndroid Build Coastguard Worker; you may not use this file except in compliance with the License. 5*795d594fSAndroid Build Coastguard Worker; You may obtain a copy of the License at 6*795d594fSAndroid Build Coastguard Worker; 7*795d594fSAndroid Build Coastguard Worker; http://www.apache.org/licenses/LICENSE-2.0 8*795d594fSAndroid Build Coastguard Worker; 9*795d594fSAndroid Build Coastguard Worker; Unless required by applicable law or agreed to in writing, software 10*795d594fSAndroid Build Coastguard Worker; distributed under the License is distributed on an "AS IS" BASIS, 11*795d594fSAndroid Build Coastguard Worker; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*795d594fSAndroid Build Coastguard Worker; See the License for the specific language governing permissions and 13*795d594fSAndroid Build Coastguard Worker; limitations under the License. 14*795d594fSAndroid Build Coastguard Worker 15*795d594fSAndroid Build Coastguard Worker.class public art_test/TestCases1966 16*795d594fSAndroid Build Coastguard Worker.super java/lang/Object 17*795d594fSAndroid Build Coastguard Worker.inner class public static TestClass1 inner art/Test1966$TestClass1 outer art/Test1966 18*795d594fSAndroid Build Coastguard Worker.inner interface public static abstract TestInterface inner art/Test1966$TestInterface outer art/Test1966 19*795d594fSAndroid Build Coastguard Worker 20*795d594fSAndroid Build Coastguard Worker.method public <init>()V 21*795d594fSAndroid Build Coastguard Worker .limit stack 1 22*795d594fSAndroid Build Coastguard Worker .limit locals 1 23*795d594fSAndroid Build Coastguard Worker 0: aload_0 24*795d594fSAndroid Build Coastguard Worker 1: invokespecial java/lang/Object/<init>()V 25*795d594fSAndroid Build Coastguard Worker 4: return 26*795d594fSAndroid Build Coastguard Worker.end method 27*795d594fSAndroid Build Coastguard Worker 28*795d594fSAndroid Build Coastguard Worker.method public static PrimitiveMethod(Ljava/util/function/IntConsumer;)V 29*795d594fSAndroid Build Coastguard Worker .limit stack 2 30*795d594fSAndroid Build Coastguard Worker .limit locals 2 31*795d594fSAndroid Build Coastguard Worker 0: bipush 42 32*795d594fSAndroid Build Coastguard Worker 2: istore_1 33*795d594fSAndroid Build Coastguard Worker 3: aload_0 34*795d594fSAndroid Build Coastguard Worker 4: sipush 1 35*795d594fSAndroid Build Coastguard Worker 7: invokeinterface java/util/function/IntConsumer/accept(I)V 2 36*795d594fSAndroid Build Coastguard Worker 12: iload_1 37*795d594fSAndroid Build Coastguard Worker 13: invokestatic java/lang/Integer/valueOf(I)Ljava/lang/Integer; 38*795d594fSAndroid Build Coastguard Worker 16: invokestatic art/Test1966/reportValue(Ljava/lang/Object;)V 39*795d594fSAndroid Build Coastguard Worker 19: return 40*795d594fSAndroid Build Coastguard Worker.end method 41*795d594fSAndroid Build Coastguard Worker 42*795d594fSAndroid Build Coastguard Worker.method public static CastInterfaceMethod(Ljava/util/function/IntConsumer;)V 43*795d594fSAndroid Build Coastguard Worker .limit stack 2 44*795d594fSAndroid Build Coastguard Worker .limit locals 3 45*795d594fSAndroid Build Coastguard Worker 0: ldc "ObjectMethod" 46*795d594fSAndroid Build Coastguard Worker 2: invokestatic art/Test1966$TestClass1/create(Ljava/lang/String;)Ljava/lang/Object; 47*795d594fSAndroid Build Coastguard Worker 5: astore_1 48*795d594fSAndroid Build Coastguard Worker 6: aload_1 49*795d594fSAndroid Build Coastguard Worker 7: checkcast art/Test1966$TestClass1 50*795d594fSAndroid Build Coastguard Worker 10: astore_2 51*795d594fSAndroid Build Coastguard Worker 11: aload_0 52*795d594fSAndroid Build Coastguard Worker 12: sipush 2 53*795d594fSAndroid Build Coastguard Worker 15: invokeinterface java/util/function/IntConsumer/accept(I)V 2 54*795d594fSAndroid Build Coastguard Worker 20: aload_2 55*795d594fSAndroid Build Coastguard Worker 21: invokestatic art/Test1966/reportValue(Ljava/lang/Object;)V 56*795d594fSAndroid Build Coastguard Worker 24: return 57*795d594fSAndroid Build Coastguard Worker.end method 58*795d594fSAndroid Build Coastguard Worker 59*795d594fSAndroid Build Coastguard Worker.method public static CastExactMethod(Ljava/util/function/IntConsumer;)V 60*795d594fSAndroid Build Coastguard Worker .limit stack 2 61*795d594fSAndroid Build Coastguard Worker .limit locals 3 62*795d594fSAndroid Build Coastguard Worker 0: ldc "ObjectMethod" 63*795d594fSAndroid Build Coastguard Worker 2: invokestatic art/Test1966$TestClass1/create(Ljava/lang/String;)Ljava/lang/Object; 64*795d594fSAndroid Build Coastguard Worker 5: astore_1 65*795d594fSAndroid Build Coastguard Worker 6: aload_1 66*795d594fSAndroid Build Coastguard Worker 7: checkcast art/Test1966$TestClass1 67*795d594fSAndroid Build Coastguard Worker 10: astore_2 68*795d594fSAndroid Build Coastguard Worker 11: aload_0 69*795d594fSAndroid Build Coastguard Worker 12: sipush 2 70*795d594fSAndroid Build Coastguard Worker 15: invokeinterface java/util/function/IntConsumer/accept(I)V 2 71*795d594fSAndroid Build Coastguard Worker 20: aload_2 72*795d594fSAndroid Build Coastguard Worker 21: invokestatic art/Test1966/reportValue(Ljava/lang/Object;)V 73*795d594fSAndroid Build Coastguard Worker 24: return 74*795d594fSAndroid Build Coastguard Worker.end method 75*795d594fSAndroid Build Coastguard Worker 76*795d594fSAndroid Build Coastguard Worker.method public static ObjectMethod(Ljava/util/function/IntConsumer;)V 77*795d594fSAndroid Build Coastguard Worker .limit stack 2 78*795d594fSAndroid Build Coastguard Worker .limit locals 2 79*795d594fSAndroid Build Coastguard Worker 0: ldc "ObjectMethod" 80*795d594fSAndroid Build Coastguard Worker 2: invokestatic art/Test1966$TestClass1/create(Ljava/lang/String;)Ljava/lang/Object; 81*795d594fSAndroid Build Coastguard Worker 5: astore_1 82*795d594fSAndroid Build Coastguard Worker 6: aload_0 83*795d594fSAndroid Build Coastguard Worker 7: sipush 1 84*795d594fSAndroid Build Coastguard Worker 10: invokeinterface java/util/function/IntConsumer/accept(I)V 2 85*795d594fSAndroid Build Coastguard Worker 15: aload_1 86*795d594fSAndroid Build Coastguard Worker 16: invokestatic art/Test1966/reportValue(Ljava/lang/Object;)V 87*795d594fSAndroid Build Coastguard Worker 19: return 88*795d594fSAndroid Build Coastguard Worker.end method 89*795d594fSAndroid Build Coastguard Worker 90*795d594fSAndroid Build Coastguard Worker.method public static InterfaceMethod(Ljava/util/function/IntConsumer;)V 91*795d594fSAndroid Build Coastguard Worker .limit stack 2 92*795d594fSAndroid Build Coastguard Worker .limit locals 2 93*795d594fSAndroid Build Coastguard Worker 0: ldc "InterfaceMethod" 94*795d594fSAndroid Build Coastguard Worker 2: invokestatic art/Test1966$TestClass1/createInterface(Ljava/lang/String;)Lart/Test1966$TestInterface; 95*795d594fSAndroid Build Coastguard Worker 5: astore_1 96*795d594fSAndroid Build Coastguard Worker 6: aload_0 97*795d594fSAndroid Build Coastguard Worker 7: sipush 1 98*795d594fSAndroid Build Coastguard Worker 10: invokeinterface java/util/function/IntConsumer/accept(I)V 2 99*795d594fSAndroid Build Coastguard Worker 15: aload_1 100*795d594fSAndroid Build Coastguard Worker 16: invokestatic art/Test1966/reportValue(Ljava/lang/Object;)V 101*795d594fSAndroid Build Coastguard Worker 19: return 102*795d594fSAndroid Build Coastguard Worker.end method 103*795d594fSAndroid Build Coastguard Worker 104*795d594fSAndroid Build Coastguard Worker.method public static ExactClassMethod(Ljava/util/function/IntConsumer;)V 105*795d594fSAndroid Build Coastguard Worker .limit stack 2 106*795d594fSAndroid Build Coastguard Worker .limit locals 2 107*795d594fSAndroid Build Coastguard Worker 0: ldc "SpecificClassMethod" 108*795d594fSAndroid Build Coastguard Worker 2: invokestatic art/Test1966$TestClass1/createExact(Ljava/lang/String;)Lart/Test1966$TestClass1; 109*795d594fSAndroid Build Coastguard Worker 5: astore_1 110*795d594fSAndroid Build Coastguard Worker 6: aload_0 111*795d594fSAndroid Build Coastguard Worker 7: sipush 1 112*795d594fSAndroid Build Coastguard Worker 10: invokeinterface java/util/function/IntConsumer/accept(I)V 2 113*795d594fSAndroid Build Coastguard Worker 15: aload_1 114*795d594fSAndroid Build Coastguard Worker 16: invokestatic art/Test1966/reportValue(Ljava/lang/Object;)V 115*795d594fSAndroid Build Coastguard Worker 19: return 116*795d594fSAndroid Build Coastguard Worker.end method 117*795d594fSAndroid Build Coastguard Worker 118*795d594fSAndroid Build Coastguard Worker.method public static CastExactNullMethod(Ljava/util/function/IntConsumer;)V 119*795d594fSAndroid Build Coastguard Worker .limit stack 2 120*795d594fSAndroid Build Coastguard Worker .limit locals 3 121*795d594fSAndroid Build Coastguard Worker 0: aconst_null 122*795d594fSAndroid Build Coastguard Worker 1: astore_1 123*795d594fSAndroid Build Coastguard Worker 2: aload_1 124*795d594fSAndroid Build Coastguard Worker 3: checkcast art/Test1966$TestClass1 125*795d594fSAndroid Build Coastguard Worker 6: astore_2 126*795d594fSAndroid Build Coastguard Worker 7: aload_0 127*795d594fSAndroid Build Coastguard Worker 8: sipush 2 128*795d594fSAndroid Build Coastguard Worker 11: invokeinterface java/util/function/IntConsumer/accept(I)V 2 129*795d594fSAndroid Build Coastguard Worker 16: aload_2 130*795d594fSAndroid Build Coastguard Worker 17: invokestatic art/Test1966/reportValue(Ljava/lang/Object;)V 131*795d594fSAndroid Build Coastguard Worker 20: return 132*795d594fSAndroid Build Coastguard Worker.end method 133*795d594fSAndroid Build Coastguard Worker 134*795d594fSAndroid Build Coastguard Worker.method public static CastInterfaceNullMethod(Ljava/util/function/IntConsumer;)V 135*795d594fSAndroid Build Coastguard Worker .limit stack 2 136*795d594fSAndroid Build Coastguard Worker .limit locals 3 137*795d594fSAndroid Build Coastguard Worker 0: aconst_null 138*795d594fSAndroid Build Coastguard Worker 1: astore_1 139*795d594fSAndroid Build Coastguard Worker 2: aload_1 140*795d594fSAndroid Build Coastguard Worker 3: checkcast art/Test1966$TestInterface 141*795d594fSAndroid Build Coastguard Worker 6: astore_2 142*795d594fSAndroid Build Coastguard Worker 7: aload_0 143*795d594fSAndroid Build Coastguard Worker 8: sipush 2 144*795d594fSAndroid Build Coastguard Worker 11: invokeinterface java/util/function/IntConsumer/accept(I)V 2 145*795d594fSAndroid Build Coastguard Worker 16: aload_2 146*795d594fSAndroid Build Coastguard Worker 17: invokestatic art/Test1966/reportValue(Ljava/lang/Object;)V 147*795d594fSAndroid Build Coastguard Worker 20: return 148*795d594fSAndroid Build Coastguard Worker.end method 149*795d594fSAndroid Build Coastguard Worker 150*795d594fSAndroid Build Coastguard Worker.method public static NullMethod(Ljava/util/function/IntConsumer;)V 151*795d594fSAndroid Build Coastguard Worker .limit stack 2 152*795d594fSAndroid Build Coastguard Worker .limit locals 2 153*795d594fSAndroid Build Coastguard Worker 0: aconst_null 154*795d594fSAndroid Build Coastguard Worker 1: astore_1 155*795d594fSAndroid Build Coastguard Worker 2: aload_0 156*795d594fSAndroid Build Coastguard Worker 3: sipush 1 157*795d594fSAndroid Build Coastguard Worker 6: invokeinterface java/util/function/IntConsumer/accept(I)V 2 158*795d594fSAndroid Build Coastguard Worker 11: aload_1 159*795d594fSAndroid Build Coastguard Worker 12: invokestatic art/Test1966/reportValue(Ljava/lang/Object;)V 160*795d594fSAndroid Build Coastguard Worker 15: return 161*795d594fSAndroid Build Coastguard Worker.end method 162