| //////////////////////////////////////////////////////////////////////////////// |
| // Test case file for checkstyle. |
| // Created: 2001 |
| //////////////////////////////////////////////////////////////////////////////// |
| package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocmethod; |
| |
| public class InputJavadocMethodScopeInnerInterfaces |
| { |
| // inner interfaces with different scopes |
| |
| private interface PrivateInterface |
| { |
| public String CA = "CONST A"; |
| String CB = "CONST b"; |
| |
| public void ma(); |
| void mb(); |
| } |
| |
| interface PackageInnerInterface |
| { |
| public String CA = "CONST A"; |
| String CB = "CONST b"; |
| |
| public void ma(); |
| void mb(); |
| } |
| |
| protected interface ProtectedInnerInterface |
| { |
| public String CA = "CONST A"; |
| String CB = "CONST b"; |
| |
| public void ma(); |
| void mb(); |
| } |
| |
| public interface PublicInnerInterface |
| { |
| public String CA = "CONST A"; |
| String CB = "CONST b"; |
| |
| public void ma(); |
| void mb(); |
| } |
| |
| private |
| class |
| MyClass1 { |
| } |
| |
| class |
| MyClass2 { |
| } |
| |
| private |
| interface |
| MyInterface1 { |
| } |
| |
| interface |
| MyInterface2 { |
| } |
| |
| protected |
| enum |
| MyEnum { |
| } |
| |
| private |
| @interface |
| MyAnnotation { |
| } |
| } |