1 ; Copyright (C) 2008 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 .source TestProtected.java 16 .class public dot.junit.opcodes.invoke_static.d.TestProtected 17 .super java/lang/Object 18 19 20 .method public <init>()V 21 .limit regs 2 22 invoke-direct {v1}, java/lang/Object/<init>()V 23 return-void 24 .end method 25 26 .method protected static testP()I 27 .limit regs 2 28 const v0, 888 29 return v0 30 .end method 31 32 33 .source T_invoke_static_18.java 34 .class public dot.junit.opcodes.invoke_static.d.T_invoke_static_18 35 .super java/lang/Object 36 37 38 .method public <init>()V 39 .limit regs 2 40 41 invoke-direct {v1}, java/lang/Object/<init>()V 42 return-void 43 .end method 44 45 .method public run()I 46 .limit regs 3 47 48 invoke-static {}, dot/junit/opcodes/invoke_static/d/TestProtected/testP()I 49 move-result v0 50 return v0 51 .end method 52 53 54