blob: c1c0b75b4857fec476d2c0537561526612f40f47 [file] [log] [blame]
Mads Ager418d1ca2017-05-22 09:35:49 +02001// Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4package enclosingmethod;
5
6public class Main {
7 public static void main(String... args) {
8 OuterClass anInstance = new OuterClass();
9 anInstance.aMethod();
10 final Class[] classes = OuterClass.class.getDeclaredClasses();
11 for (Class clazz : classes) {
12 System.out.println("InnerClass " + clazz.getName());
13 }
14 }
15}