| 1 |
/* |
| 2 |
* Created on Jan 25, 2009 |
| 3 |
* |
| 4 |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the |
| 5 |
* License. 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 distributed under the License is distributed on an "AS IS" |
| 10 |
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language |
| 11 |
* governing permissions and limitations under the License. |
| 12 |
* |
| 13 |
* Copyright @2009 the original author or authors. |
| 14 |
*/ |
| 15 |
package org.fest.reflect.innerclass; |
| 16 |
|
| 17 |
/** |
| 18 |
* Understands SOMETHING DUMMY. |
| 19 |
* |
| 20 |
* @author Alex Ruiz |
| 21 |
*/ |
| 22 |
public class OuterClass { |
| 23 |
|
| 24 |
public static class PublicInnerClass {} |
| 25 |
|
| 26 |
protected static class ProtectedInnerClass {} |
| 27 |
|
| 28 |
static class PackageInnerClass {} |
| 29 |
|
| 30 |
@SuppressWarnings("unused") |
| 31 |
private static class PrivateInnerClass { |
| 32 |
private final String name; |
| 33 |
|
| 34 |
PrivateInnerClass(String name) { |
| 35 |
this.name = name; |
| 36 |
} |
| 37 |
|
| 38 |
String name() { |
| 39 |
return name; |
| 40 |
} |
| 41 |
} |
| 42 |
} |