1# /*
2#  * Copyright (C) 2015 The Android Open Source Project
3#  *
4#  * Licensed under the Apache License, Version 2.0 (the "License");
5#  * you may not use this file except in compliance with the License.
6#  * You may obtain a copy of the License at
7#  *
8#  *      http://www.apache.org/licenses/LICENSE-2.0
9#  *
10#  * Unless required by applicable law or agreed to in writing, software
11#  * distributed under the License is distributed on an "AS IS" BASIS,
12#  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13#  * See the License for the specific language governing permissions and
14#  * limitations under the License.
15#  */
16#
17#  package pkg;
18#  public class Target {
19#    public void packageMethod() {
20#      System.out.println("Package method called!");
21#    }
22#  }
23
24.class public Lpkg/Target;
25
26.super Ljava/lang/Object;
27
28.method public constructor <init>()V
29    .locals 0
30    invoke-direct {p0}, Ljava/lang/Object;-><init>()V
31    return-void
32.end method
33
34.method packageMethod()V
35    .locals 2
36    const-string v1, "Package method called!"
37    sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
38    invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V
39    return-void
40.end method
41