Searched refs:allModifiers (Results 1 – 5 of 5) sorted by relevance
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/validator/ |
D | Java1_2ValidatorTest.java | 20 …private final String allModifiers = "public protected private abstract static final transient vola… field in Java1_2ValidatorTest 24 …CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider(allModifiers + "class X{}")); in topClass() 43 …it> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + allModifiers + "class I{}}")… in nestedClass() 59 …= javaParser.parse(COMPILATION_UNIT, provider("class X{ void x() {" + allModifiers + "class I{}}}"… in localClass() 79 …CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider(allModifiers + "interface X{… in topInterface() 99 …it> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + allModifiers + "interface I{… in nestedInterface() 116 …Unit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + allModifiers + "X(){};}")); in constructor() 136 …> result = javaParser.parse(COMPILATION_UNIT, provider("class X{X(" + allModifiers + " int i){};}"… in constructorParameter() 158 …it> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + allModifiers + "int x(){};}"… in classMethod() 173 …result = javaParser.parse(COMPILATION_UNIT, provider("interface X{" + allModifiers + "int x(){};}"… in interfaceMethod() [all …]
|
D | Java1_1ValidatorTest.java | 22 …public static final String allModifiers = "public protected private abstract static final transien… field in Java1_1ValidatorTest 26 …CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider(allModifiers + "class X{}")); in topClass() 45 …it> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + allModifiers + "class I{}}")… in nestedClass() 61 …= javaParser.parse(COMPILATION_UNIT, provider("class X{ void x() {" + allModifiers + "class I{}}}"… in localClass() 81 …CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider(allModifiers + "interface X{… in topInterface() 101 …it> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + allModifiers + "interface I{… in nestedInterface() 118 …Unit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + allModifiers + "X(){};}")); in constructor() 138 …> result = javaParser.parse(COMPILATION_UNIT, provider("class X{X(" + allModifiers + " int i){};}"… in constructorParameter() 159 …it> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + allModifiers + "int x(){};}"… in classMethod() 174 …result = javaParser.parse(COMPILATION_UNIT, provider("interface X{" + allModifiers + "int x(){};}"… in interfaceMethod() [all …]
|
D | Java5ValidatorTest.java | 16 import static com.github.javaparser.ast.validator.Java1_1ValidatorTest.allModifiers; 31 …CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider(allModifiers + "@interface X… in topAnnotationDeclaration() 51 …it> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + allModifiers + "@interface I… in nestedAnnotationDeclaration() 68 …esult = javaParser.parse(COMPILATION_UNIT, provider("@interface X{" + allModifiers + "int x();}")); in annotationMember() 89 …<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider(allModifiers + "enum X{}")); in topEnum() 110 …it> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + allModifiers + "enum I{}}")); in nestedEnum()
|
D | Java9ValidatorTest.java | 14 import static com.github.javaparser.ast.validator.Java1_1ValidatorTest.allModifiers; 34 …esult = javaParser.parse(COMPILATION_UNIT, provider("module x{requires " + allModifiers + " a;}")); in moduleRequires() 55 …result = javaParser.parse(COMPILATION_UNIT, provider("interface X{" + allModifiers + "int x(){};}"… in interfaceMethod()
|
D | Java8ValidatorTest.java | 14 import static com.github.javaparser.ast.validator.Java1_1ValidatorTest.allModifiers; 29 … javaParser.parse(COMPILATION_UNIT, provider("class X{int x(){ a((" + allModifiers + " Integer x) … in lambdaParameter() 52 …result = javaParser.parse(COMPILATION_UNIT, provider("interface X{" + allModifiers + "int x(){};}"… in interfaceMethod()
|