Home
last modified time | relevance | path

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

/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalDifferenceCalculatorTest.java57 AnnotationDeclaration annotationDeclaration = (AnnotationDeclaration)cu.getType(0); in annotationDeclarationModifiersExampleOriginal() local
58 CsmElement element = ConcreteSyntaxModel.forClass(annotationDeclaration.getClass()); in annotationDeclarationModifiersExampleOriginal()
59 …m = new LexicalDifferenceCalculator().calculatedSyntaxModelForNode(element, annotationDeclaration); in annotationDeclarationModifiersExampleOriginal()
65 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getName()), csm.elemen… in annotationDeclarationModifiersExampleOriginal()
69 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(0)), csm.ele… in annotationDeclarationModifiersExampleOriginal()
71 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(1)), csm.ele… in annotationDeclarationModifiersExampleOriginal()
73 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(2)), csm.ele… in annotationDeclarationModifiersExampleOriginal()
75 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(3)), csm.ele… in annotationDeclarationModifiersExampleOriginal()
77 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(4)), csm.ele… in annotationDeclarationModifiersExampleOriginal()
79 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(5)), csm.ele… in annotationDeclarationModifiersExampleOriginal()
[all …]
DDifferenceTest.java98 AnnotationDeclaration annotationDeclaration = (AnnotationDeclaration)cu.getType(0); in annotationDeclarationExampleWithModifierAdded() local
99 CsmElement element = ConcreteSyntaxModel.forClass(annotationDeclaration.getClass()); in annotationDeclarationExampleWithModifierAdded()
100 …l = new LexicalDifferenceCalculator().calculatedSyntaxModelForNode(element, annotationDeclaration); in annotationDeclarationExampleWithModifierAdded()
101 …nceCalculator().calculatedSyntaxModelAfterPropertyChange(element, annotationDeclaration, Observabl… in annotationDeclarationExampleWithModifierAdded()
110 … assertEquals(kept(new CsmChild(annotationDeclaration.getName())), diff.getElements().get(i++)); in annotationDeclarationExampleWithModifierAdded()
114 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(0))), diff.getElements().get(i++)); in annotationDeclarationExampleWithModifierAdded()
116 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(1))), diff.getElements().get(i++)); in annotationDeclarationExampleWithModifierAdded()
118 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(2))), diff.getElements().get(i++)); in annotationDeclarationExampleWithModifierAdded()
120 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(3))), diff.getElements().get(i++)); in annotationDeclarationExampleWithModifierAdded()
122 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(4))), diff.getElements().get(i++)); in annotationDeclarationExampleWithModifierAdded()
[all …]
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/visitor/
DCloneVisitorTest.java61 AnnotationDeclaration annotationDeclaration = new AnnotationDeclaration(); in cloneJavaDocTest() local
62 annotationDeclaration.setName("nnotationDeclarationTest"); in cloneJavaDocTest()
63 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.java87 …ResolvedAnnotationDeclaration annotationDeclaration = node.findParent(AnnotationDeclaration.class)… in resolveDeclaration() local
88 …ResolvedAnnotationMemberDeclaration resolved = annotationDeclaration.getAnnotationMembers().stream… in resolveDeclaration()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DCompilationUnit.java438 …AnnotationDeclaration annotationDeclaration = new AnnotationDeclaration(Arrays.stream(modifiers).c… in addAnnotationDeclaration() local
439 getTypes().add(annotationDeclaration); in addAnnotationDeclaration()
440 return annotationDeclaration; in addAnnotationDeclaration()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java255 …ResolvedAnnotationDeclaration annotationDeclaration = (ResolvedAnnotationDeclaration) typeDeclarat… in solve() local
257 return SymbolReference.solved(annotationDeclaration); in solve()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_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/turbine/javatests/com/google/turbine/binder/
DBinderTest.java204 public void annotationDeclaration() throws Exception { in annotationDeclaration() method in BinderTest
/external/turbine/java/com/google/turbine/parse/
DParser.java154 decls.add(annotationDeclaration(access, annos.build())); in compilationUnit()
247 private TyDecl annotationDeclaration(EnumSet<TurbineModifier> access, ImmutableList<Anno> annos) { in annotationDeclaration() method in Parser
585 acc.add(annotationDeclaration(access, annos.build())); in classMembers()
/external/turbine/javatests/com/google/turbine/bytecode/
DClassReaderTest.java105 public void annotationDeclaration() { in annotationDeclaration() method in ClassReaderTest
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/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/ ...