blob: 5bf92dd33117bea9d66fabfe24ce8029141c9362 [file] [log] [blame]
Calin Juravle175dc732015-08-25 15:42:32 +01001/*
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
17interface UnresolvedInterface {
18 void interfaceMethod();
19}
20
21class UnresolvedSuperClass {
22 public void superMethod() {
23 System.out.println("UnresolvedClass.superMethod()");
24 }
25}
26
27class UnresolvedClass extends UnresolvedSuperClass implements UnresolvedInterface {
28 static public void staticMethod() {
29 System.out.println("UnresolvedClass.staticMethod()");
30 }
31
32 public UnresolvedClass() {
33 System.out.println("UnresolvedClass.directCall()");
34 }
35
36 public void virtualMethod() {
37 System.out.println("UnresolvedClass.virtualMethod()");
38 }
39
40 public void interfaceMethod() {
41 System.out.println("UnresolvedClass.interfaceMethod()");
42 }
43}
44
45final class UnresolvedFinalClass {
46 public void directMethod() {
47 System.out.println("UnresolvedFinalClass.directMethod()");
48 }
49}
50
51class UnresolvedAtRuntime {
52 public void unresolvedAtRuntime() { }
53}
54