Home
last modified time | relevance | path

Searched refs:classOrInterfaceDeclaration (Results 1 – 15 of 15) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/
DClassOrInterfaceDeclarationContextResolutionTest.java65 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in getParentForTopClass() local
66 … Context context = new ClassOrInterfaceDeclarationContext(classOrInterfaceDeclaration, typeSolver); in getParentForTopClass()
75 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in solveExistingGenericType() local
76 … Context context = new ClassOrInterfaceDeclarationContext(classOrInterfaceDeclaration, typeSolver); in solveExistingGenericType()
95 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in solveUnexistingGenericType() local
96 … Context context = new ClassOrInterfaceDeclarationContext(classOrInterfaceDeclaration, typeSolver); in solveUnexistingGenericType()
106 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in solveSymbolReferringToDeclaredInstanceField() local
107 … Context context = new ClassOrInterfaceDeclarationContext(classOrInterfaceDeclaration, typeSolver); in solveSymbolReferringToDeclaredInstanceField()
117 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in solveSymbolReferringToDeclaredStaticField() local
118 … Context context = new ClassOrInterfaceDeclarationContext(classOrInterfaceDeclaration, typeSolver); in solveSymbolReferringToDeclaredStaticField()
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/
DNodeWithMembersBuildersTest.java136 … ClassOrInterfaceDeclaration classOrInterfaceDeclaration = compilationUnit.addClass("Person"); in testAddPrivateFieldWithType() local
137 classOrInterfaceDeclaration.addPrivateField(parseType("java.lang.String"), "name"); in testAddPrivateFieldWithType()
139 assertNotNull(classOrInterfaceDeclaration.getFields()); in testAddPrivateFieldWithType()
140 assertEquals(1, classOrInterfaceDeclaration.getFields().size()); in testAddPrivateFieldWithType()
142 FieldDeclaration fieldDeclaration = classOrInterfaceDeclaration.getFields().get(0); in testAddPrivateFieldWithType()
151 … ClassOrInterfaceDeclaration classOrInterfaceDeclaration = compilationUnit.addClass("Person"); in testAddPublicFieldWithType() local
152 classOrInterfaceDeclaration.addPublicField(parseType("java.lang.String"), "name"); in testAddPublicFieldWithType()
154 assertNotNull(classOrInterfaceDeclaration.getFields()); in testAddPublicFieldWithType()
155 assertEquals(1, classOrInterfaceDeclaration.getFields().size()); in testAddPublicFieldWithType()
157 FieldDeclaration fieldDeclaration = classOrInterfaceDeclaration.getFields().get(0); in testAddPublicFieldWithType()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DCompilationUnit.java280 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = new ClassOrInterfaceDeclaration( in addClass() local
284 getTypes().add(classOrInterfaceDeclaration); in addClass()
285 classOrInterfaceDeclaration.setParentNode(this); in addClass()
286 return classOrInterfaceDeclaration; in addClass()
307 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = new ClassOrInterfaceDeclaration( in addInterface() local
311 getTypes().add(classOrInterfaceDeclaration); in addInterface()
312 classOrInterfaceDeclaration.setParentNode(this); in addInterface()
313 return classOrInterfaceDeclaration; in addInterface()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DTransformationsTest.java215 …ClassOrInterfaceDeclaration classOrInterfaceDeclaration = (ClassOrInterfaceDeclaration)compilation… in addingStatement1() local
216 …MethodDeclaration methodDeclaration = (MethodDeclaration)classOrInterfaceDeclaration.getChildNodes… in addingStatement1()
245 …ClassOrInterfaceDeclaration classOrInterfaceDeclaration = (ClassOrInterfaceDeclaration)compilation… in addingStatement2() local
246 …MethodDeclaration methodDeclaration = (MethodDeclaration)classOrInterfaceDeclaration.getChildNodes… in addingStatement2()
275 …ClassOrInterfaceDeclaration classOrInterfaceDeclaration = (ClassOrInterfaceDeclaration)compilation… in addingStatement3() local
276 …MethodDeclaration methodDeclaration = (MethodDeclaration)classOrInterfaceDeclaration.getChildNodes… in addingStatement3()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/
DCloneVisitorTest.java74 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = new ClassOrInterfaceDeclaration(); in cloneJavaDocTest() local
75 classOrInterfaceDeclaration.setName("classOrInterfaceDeclarationTest"); in cloneJavaDocTest()
76 typeDeclarationList.add(classOrInterfaceDeclaration.setJavadocComment("javadoc")); in cloneJavaDocTest()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DCompilationUnit.java366 …ClassOrInterfaceDeclaration classOrInterfaceDeclaration = new ClassOrInterfaceDeclaration(createMo… in addClass() local
367 getTypes().add(classOrInterfaceDeclaration); in addClass()
368 return classOrInterfaceDeclaration; in addClass()
389 …ClassOrInterfaceDeclaration classOrInterfaceDeclaration = new ClassOrInterfaceDeclaration(createMo… in addInterface() local
390 getTypes().add(classOrInterfaceDeclaration); in addInterface()
391 return classOrInterfaceDeclaration; in addInterface()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DJavaParserAPIIntegrationTest.java97 …ClassOrInterfaceDeclaration classOrInterfaceDeclaration = (ClassOrInterfaceDeclaration)cu.getType(… in constructorDeclarationResolve() local
98 …ConstructorDeclaration constructorDeclaration = classOrInterfaceDeclaration.getDefaultConstructor(… in constructorDeclarationResolve()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_CompilationUnit.txt47 Line 284) getTypes().add(classOrInterfaceDeclaration) ==> java.util.List.add(E)
49 …Line 285) classOrInterfaceDeclaration.setParentNode(this) ==> com.github.javaparser.ast.Node.setPa…
55 Line 311) getTypes().add(classOrInterfaceDeclaration) ==> java.util.List.add(E)
57 …Line 312) classOrInterfaceDeclaration.setParentNode(this) ==> com.github.javaparser.ast.Node.setPa…
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java509 …erenceTypeDeclaration getTypeDeclaration(ClassOrInterfaceDeclaration classOrInterfaceDeclaration) { in getTypeDeclaration() argument
510 return JavaParserFactory.toTypeDeclaration(classOrInterfaceDeclaration, typeSolver); in getTypeDeclaration()
/external/doclava/src/com/google/doclava/parser/
DJava.g39 * classOrInterfaceDeclaration
45 * classOrInterfaceDeclaration
337 : classOrInterfaceDeclaration
341 classOrInterfaceDeclaration
825 | classOrInterfaceDeclaration
DJavaParser.java1131 classOrInterfaceDeclaration(); in typeDeclaration()
1174 public final void classOrInterfaceDeclaration() throws RecognitionException { in classOrInterfaceDeclaration() method in JavaParser
7081 classOrInterfaceDeclaration(); in blockStatement()
14633 classOrInterfaceDeclaration(); in synpred126_Java_fragment()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java602 …erenceTypeDeclaration getTypeDeclaration(ClassOrInterfaceDeclaration classOrInterfaceDeclaration) { in getTypeDeclaration() argument
603 return JavaParserFactory.toTypeDeclaration(classOrInterfaceDeclaration, typeSolver); in getTypeDeclaration()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt249 …Line 510) JavaParserFactory.toTypeDeclaration(classOrInterfaceDeclaration, typeSolver) ==> com.git…
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
Djavaparser-core-3.0.0-alpha.2.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/github/ com/ ...
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/lib/
Djavaparser-core-3.3.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/github/ com/ ...