Home
last modified time | relevance | path

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

/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalDifferenceCalculatorTest.java61 AnnotationDeclaration annotationDeclaration = (AnnotationDeclaration)cu.getType(0); in annotationDeclarationModifiersExampleOriginal() local
62 CsmElement element = ConcreteSyntaxModel.forClass(annotationDeclaration.getClass()); in annotationDeclarationModifiersExampleOriginal()
63 …m = new LexicalDifferenceCalculator().calculatedSyntaxModelForNode(element, annotationDeclaration); in annotationDeclarationModifiersExampleOriginal()
69 assertEquals(new CsmChild(annotationDeclaration.getName()), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal()
73 assertEquals(new CsmChild(annotationDeclaration.getMember(0)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal()
75 assertEquals(new CsmChild(annotationDeclaration.getMember(1)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal()
77 assertEquals(new CsmChild(annotationDeclaration.getMember(2)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal()
79 assertEquals(new CsmChild(annotationDeclaration.getMember(3)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal()
81 assertEquals(new CsmChild(annotationDeclaration.getMember(4)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal()
83 assertEquals(new CsmChild(annotationDeclaration.getMember(5)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal()
[all …]
DDifferenceElementCalculatorTest.java101 AnnotationDeclaration annotationDeclaration = (AnnotationDeclaration)cu.getType(0); in annotationDeclarationExampleWithModifierAdded() local
102 CsmElement element = ConcreteSyntaxModel.forClass(annotationDeclaration.getClass()); in annotationDeclarationExampleWithModifierAdded()
103 …l = new LexicalDifferenceCalculator().calculatedSyntaxModelForNode(element, annotationDeclaration); in annotationDeclarationExampleWithModifierAdded()
104 …nceCalculator().calculatedSyntaxModelAfterPropertyChange(element, annotationDeclaration, Observabl… in annotationDeclarationExampleWithModifierAdded()
113 … assertEquals(kept(new CsmChild(annotationDeclaration.getName())), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded()
117 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(0))), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded()
119 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(1))), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded()
121 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(2))), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded()
123 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(3))), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded()
125 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(4))), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded()
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/
DCloneVisitorTest.java62 AnnotationDeclaration annotationDeclaration = new AnnotationDeclaration(); in cloneJavaDocTest() local
63 annotationDeclaration.setName("nnotationDeclarationTest"); in cloneJavaDocTest()
64 typeDeclarationList.add(annotationDeclaration.setJavadocComment("javadoc")); in cloneJavaDocTest()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DCompilationUnit.java359 … AnnotationDeclaration annotationDeclaration = new AnnotationDeclaration(Arrays.stream(modifiers) in addAnnotationDeclaration() local
361 getTypes().add(annotationDeclaration); in addAnnotationDeclaration()
362 annotationDeclaration.setParentNode(this); in addAnnotationDeclaration()
363 return annotationDeclaration; in addAnnotationDeclaration()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/
DJavaSymbolSolver.java110 …ResolvedAnnotationDeclaration annotationDeclaration = node.findAncestor(AnnotationDeclaration.clas… in resolveDeclaration() local
111 …ResolvedAnnotationMemberDeclaration resolved = annotationDeclaration.getAnnotationMembers().stream… in resolveDeclaration()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DCompilationUnit.java435 …AnnotationDeclaration annotationDeclaration = new AnnotationDeclaration(createModifierList(modifie… in addAnnotationDeclaration() local
436 getTypes().add(annotationDeclaration); in addAnnotationDeclaration()
437 return annotationDeclaration; in addAnnotationDeclaration()
/external/turbine/javatests/com/google/turbine/binder/
DBinderTest.java198 public void annotationDeclaration() throws Exception { in annotationDeclaration() method in BinderTest
/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.java268 …AnnotationDeclaration annotationDeclaration = (AnnotationDeclaration) typeDeclarationSymbolReferen… in solve() local
270 return SymbolReference.solved(annotationDeclaration); in solve()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_CompilationUnit.txt71 Line 361) getTypes().add(annotationDeclaration) ==> java.util.List.add(E)
73 …Line 362) annotationDeclaration.setParentNode(this) ==> com.github.javaparser.ast.Node.setParentNo…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java253 …ResolvedAnnotationDeclaration annotationDeclaration = (ResolvedAnnotationDeclaration) typeDeclarat… in solve() local
254 return SymbolReference.solved(annotationDeclaration); in solve()
/external/turbine/java/com/google/turbine/parse/
DParser.java156 decls.add(annotationDeclaration(access, annos.build())); in compilationUnit()
251 private TyDecl annotationDeclaration(EnumSet<TurbineModifier> access, ImmutableList<Anno> annos) { in annotationDeclaration() method in Parser
598 acc.add(annotationDeclaration(access, annos.build())); in classMembers()
/external/turbine/javatests/com/google/turbine/bytecode/
DClassReaderTest.java106 public void annotationDeclaration() { in annotationDeclaration() method in ClassReaderTest
/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.txt108 …Line 270) SymbolReference.solved(annotationDeclaration) ==> com.github.javaparser.symbolsolver.mod…
/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/ ...