1 ; Copyright (C) 2017 The Android Open Source Project 2 ; 3 ; Licensed under the Apache License, Version 2.0 (the "License"); 4 ; you may not use this file except in compliance with the License. 5 ; You may obtain a copy of the License at 6 ; 7 ; http://www.apache.org/licenses/LICENSE-2.0 8 ; 9 ; Unless required by applicable law or agreed to in writing, software 10 ; distributed under the License is distributed on an "AS IS" BASIS, 11 ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 ; See the License for the specific language governing permissions and 13 ; limitations under the License. 14 15 .class public Test1Derived 16 .super Test1Base 17 18 .method public <init>()V 19 .limit stack 1 20 .limit locals 1 21 aload_0 22 invokespecial Test1Base.<init>()V 23 return 24 .end method 25 26 .method public static test()V 27 .limit stack 2 28 .limit locals 0 29 new Test1Derived 30 dup 31 invokespecial Test1Derived.<init>()V 32 invokespecial Test1Derived.foo()V 33 return 34 .end method 35 36 .method private foo()V 37 .limit stack 2 38 .limit locals 1 39 getstatic java/lang/System/out Ljava/io/PrintStream; 40 ldc "Test1Derived.foo()" 41 invokevirtual java/io/PrintStream.println(Ljava/lang/String;)V 42 return 43 .end method 44