Home
last modified time | relevance | path

Searched defs:compilationUnit (Results 1 – 25 of 34) sorted by relevance

12

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistClassDeclarationTest.java55 …JavassistClassDeclaration compilationUnit = (JavassistClassDeclaration) typeSolver.solveType("com.… in testIsClass() local
61 …JavassistClassDeclaration compilationUnit = (JavassistClassDeclaration) typeSolver.solveType("com.… in testIsInterface() local
67 …JavassistClassDeclaration compilationUnit = (JavassistClassDeclaration) typeSolver.solveType("com.… in testIsEnum() local
73 …JavassistClassDeclaration compilationUnit = (JavassistClassDeclaration) typeSolver.solveType("com.… in testIsTypeVariable() local
79 …JavassistClassDeclaration compilationUnit = (JavassistClassDeclaration) typeSolver.solveType("com.… in testIsType() local
85 …JavassistClassDeclaration compilationUnit = (JavassistClassDeclaration) typeSolver.solveType("com.… in testAsType() local
91 …JavassistClassDeclaration compilationUnit = (JavassistClassDeclaration) typeSolver.solveType("com.… in testAsClass() local
97 …JavassistClassDeclaration compilationUnit = (JavassistClassDeclaration) typeSolver.solveType("com.… in testAsInterface() local
103 …JavassistClassDeclaration compilationUnit = (JavassistClassDeclaration) typeSolver.solveType("com.… in testAsEnum() local
109 …JavassistClassDeclaration compilationUnit = (JavassistClassDeclaration) typeSolver.solveType("com.… in testGetPackageName() local
[all …]
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
DManipulationSteps.java128 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenThePackageDeclarationIsSetTo() local
135 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenAClassCalledIsAddedToTheCompilationUnit() local
143 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenAStaticMethodCalledReturningIsAddedToClassInTheCompilationUnit() local
155 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenVarargsCalledAreAddedToMethodInClass() local
163 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenABlockStmtIsAddedToMethodInClass() local
171 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenHelloWorldIsAddedToTheBodyOfMethodInClass() local
182 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenMethodInClassHasItsNameConvertedToUppercase() local
189 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenMethodInClassHasAnIntArgumentCalledAdded() local
196 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenTheCompilationUnitIsCloned() local
202 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenTheVisitorVisitsToCompilationUnit() local
[all …]
DSharedSteps.java91 CompilationUnit compilationUnit = JavaParser.parse(new File(url.toURI())); in whenTheJavaFileIsParsed() local
97 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenTheCompilationUnitIsEqualToTheSecondCompilationUnit() local
105 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenTheCompilationUnitHasTheSameHashcodeToTheSecondCompilationUnit() local
113 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenTheCompilationUnitIsNotEqualToTheSecondCompilationUnit() local
121 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenTheCompilationUnitHasADifferentHashcodeToTheSecondCompilationUnit() local
129 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenTheExpectedSourcesShouldBe() local
146 …ublic static MethodDeclaration getMethodByPositionAndClassPosition(CompilationUnit compilationUnit, in getMethodByPositionAndClassPosition()
DVisitorSteps.java115 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenTheSecondCompilationUnitIsCloned() local
122 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenTheCompilationUnitIsVisitedByTheVistor() local
129 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenTheCompilationUnitIsVisitedByTheVariableNameCollectorVisitor() local
136 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenTheCompilationUnitIsVisitedByTheVisitorThatReturnsVariableNames() local
142 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenTheCompilationUnitIsVisitedByTheVisitorThatReturnsAllVariableNames() local
148 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in whenTheCompilationUnitIsVisitedByThePositionTestVisitor() local
DParsingSteps.java96 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenTheConstructorDeclarationAsAStringIs() local
104 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenConstructorInClassDeclarationShortFormAsAStringIs() local
112 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenMethod1InClass1DeclarationAsAStringIs() local
120 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenMethodInClassDeclarationAsAStringShortFormIs() local
128 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenFieldInClassContainsAnnotationValueIs() local
222 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenMethodClassIsADefaultMethod() local
230 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenMethodClassIsNotADefaultMethod() local
237 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in getStatementInMethodInClass() local
260 CompilationUnit compilationUnit = (CompilationUnit) state.get(stateKey); in assertAllNodesOfTheCompilationUnitHaveTheirParentSet() local
325 CompilationUnit compilationUnit = (CompilationUnit) state.get("cu1"); in thenTheAssignExprProducedDoesntHaveANullTarget() local
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserClassDeclarationTest.java87 …JavaParserClassDeclaration compilationUnit = (JavaParserClassDeclaration) typeSolver.solveType("co… in testIsClass() local
93 …JavaParserClassDeclaration compilationUnit = (JavaParserClassDeclaration) typeSolver.solveType("co… in testIsInterface() local
99 …JavaParserClassDeclaration compilationUnit = (JavaParserClassDeclaration) typeSolver.solveType("co… in testIsEnum() local
105 …JavaParserClassDeclaration compilationUnit = (JavaParserClassDeclaration) typeSolver.solveType("co… in testIsTypeVariable() local
111 …JavaParserClassDeclaration compilationUnit = (JavaParserClassDeclaration) typeSolver.solveType("co… in testIsType() local
117 …JavaParserClassDeclaration compilationUnit = (JavaParserClassDeclaration) typeSolver.solveType("co… in testAsType() local
123 …JavaParserClassDeclaration compilationUnit = (JavaParserClassDeclaration) typeSolver.solveType("co… in testAsClass() local
129 …JavaParserClassDeclaration compilationUnit = (JavaParserClassDeclaration) typeSolver.solveType("co… in testAsInterface() local
135 …JavaParserClassDeclaration compilationUnit = (JavaParserClassDeclaration) typeSolver.solveType("co… in testAsEnum() local
141 …JavaParserClassDeclaration compilationUnit = (JavaParserClassDeclaration) typeSolver.solveType("co… in testGetPackageName() local
[all …]
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/
DVisitorGenerator.java41 …final CompilationUnit compilationUnit = sourceRoot.tryToParse(pkg, visitorClassName + ".java").get… in generate() local
59 …aseNodeMetaModel node, ClassOrInterfaceDeclaration visitorClass, CompilationUnit compilationUnit) { in generateVisitMethodForNode()
81 …MethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit); in generateVisitMethodBody()
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/
DVoidVisitorGenerator.java18 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DGenericVisitorGenerator.java18 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DObjectIdentityEqualsVisitorGenerator.java22 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DGenericVisitorWithDefaultsGenerator.java19 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DVoidVisitorWithDefaultsGenerator.java19 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DObjectIdentityHashCodeVisitorGenerator.java25 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DEqualsVisitorGenerator.java22 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DNoCommentEqualsVisitorGenerator.java43 CompilationUnit compilationUnit) { in generateVisitMethodBody()
DModifierVisitorGenerator.java21 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DVoidVisitorAdapterGenerator.java22 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DGenericVisitorAdapterGenerator.java22 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DGenericListVisitorAdapterGenerator.java26 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DCloneVisitorGenerator.java23 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DHashCodeVisitorGenerator.java25 …ethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, CompilationUnit compilationUnit) { in generateVisitMethodBody()
DNoCommentHashCodeVisitorGenerator.java46 CompilationUnit compilationUnit) { in generateVisitMethodBody()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/body/
DFieldDeclarationTest.java12 CompilationUnit compilationUnit = parse("" + in wofjweoifj() local
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassDeclarationTest.java307 …ReflectionClassDeclaration compilationUnit = (ReflectionClassDeclaration) typeResolver.solveType("… in testGetSuperclassWithoutTypeParameters() local
313 …ReflectionClassDeclaration compilationUnit = (ReflectionClassDeclaration) typeResolver.solveType("… in testGetSuperclassWithTypeParameters() local
352 …ReflectionClassDeclaration compilationUnit = (ReflectionClassDeclaration) typeResolver.solveType("… in testGetInterfacesWithoutParameters() local
409 …ReflectionClassDeclaration compilationUnit = (ReflectionClassDeclaration) typeResolver.solveType("… in testGetAllInterfacesWithoutParameters() local
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/issue113/com/foo/
DWidget.java30 CompilationUnit compilationUnit = JavaParser.parse(new File(CLASS)); in main() local

12