/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/ |
D | NodeWithMembersBuildersTest.java | 38 private final ClassOrInterfaceDeclaration classDeclaration = cu.addClass("test"); field in NodeWithMembersBuildersTest 42 … FieldDeclaration addField = classDeclaration.addField(int.class, "fieldName", Modifier.PRIVATE); in testAddField() 43 assertEquals(1, classDeclaration.getMembers().size()); in testAddField() 44 assertEquals(addField, classDeclaration.getMember(0)); in testAddField() 50 MethodDeclaration addMethod = classDeclaration.addMethod("foo", Modifier.PUBLIC); in testAddMethod() 51 assertEquals(1, classDeclaration.getMembers().size()); in testAddMethod() 52 assertEquals(addMethod, classDeclaration.getMember(0)); in testAddMethod() 58 ConstructorDeclaration addCtor = classDeclaration.addConstructor(Modifier.PUBLIC); in testAddCtor() 59 assertEquals(1, classDeclaration.getMembers().size()); in testAddCtor() 60 assertEquals(addCtor, classDeclaration.getMember(0)); in testAddCtor() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ |
D | LocalClassDeclarationStmt.java | 51 private ClassOrInterfaceDeclaration classDeclaration; field in LocalClassDeclarationStmt 58 public LocalClassDeclarationStmt(final ClassOrInterfaceDeclaration classDeclaration) { in LocalClassDeclarationStmt() argument 59 this(null, classDeclaration); in LocalClassDeclarationStmt() 66 …ic LocalClassDeclarationStmt(TokenRange tokenRange, ClassOrInterfaceDeclaration classDeclaration) { in LocalClassDeclarationStmt() argument 68 setClassDeclaration(classDeclaration); in LocalClassDeclarationStmt() 86 return classDeclaration; in getClassDeclaration() 90 …LocalClassDeclarationStmt setClassDeclaration(final ClassOrInterfaceDeclaration classDeclaration) { in setClassDeclaration() argument 91 assertNotNull(classDeclaration); in setClassDeclaration() 92 if (classDeclaration == this.classDeclaration) { in setClassDeclaration() 95 …otifyPropertyChange(ObservableProperty.CLASS_DECLARATION, this.classDeclaration, classDeclaration); in setClassDeclaration() [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | DefaultConstructorDeclaration.java | 37 private ResolvedClassDeclaration classDeclaration; field in DefaultConstructorDeclaration 39 DefaultConstructorDeclaration(ResolvedClassDeclaration classDeclaration) { in DefaultConstructorDeclaration() argument 40 this.classDeclaration = classDeclaration; in DefaultConstructorDeclaration() 45 return classDeclaration; in declaringType() 60 return classDeclaration.getName(); in getName()
|
D | JavaParserConstructorDeclaration.java | 36 private ResolvedClassDeclaration classDeclaration; field in JavaParserConstructorDeclaration 40 …JavaParserConstructorDeclaration(ResolvedClassDeclaration classDeclaration, com.github.javaparser.… in JavaParserConstructorDeclaration() argument 42 this.classDeclaration = classDeclaration; in JavaParserConstructorDeclaration() 49 return classDeclaration; in declaringType() 67 return this.classDeclaration.getName(); in getName()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | JavaParserAPIIntegrationTest.java | 125 ClassOrInterfaceDeclaration classDeclaration = (ClassOrInterfaceDeclaration) cu.getType(0); in fieldDeclarationResolve() local 126 assertEquals("CompilationUnit", classDeclaration.getNameAsString()); in fieldDeclarationResolve() 127 FieldDeclaration declaration = classDeclaration.getFields().get(0); in fieldDeclarationResolve() 137 ClassOrInterfaceDeclaration classDeclaration = (ClassOrInterfaceDeclaration) cu.getType(0); in methodDeclarationResolve() local 138 assertEquals("CompilationUnit", classDeclaration.getNameAsString()); in methodDeclarationResolve() 139 MethodDeclaration declaration = classDeclaration.getMethodsByName("getComments").get(0); in methodDeclarationResolve() 151 ClassOrInterfaceDeclaration classDeclaration = (ClassOrInterfaceDeclaration) cu.getType(0); in parameterDeclarationResolve() local 152 assertEquals("CompilationUnit", classDeclaration.getNameAsString()); in parameterDeclarationResolve() 153 … MethodDeclaration methodDeclaration = classDeclaration.getMethodsByName("setComments").get(0); in parameterDeclarationResolve()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserClassDeclarationTest.java | 487 …JavaParserClassDeclaration classDeclaration = new JavaParserClassDeclaration(Navigator.demandClass… in testGetAllGenericFields() local 489 assertEquals(3, classDeclaration.getAllFields().size()); in testGetAllGenericFields() 491 ReferenceTypeImpl rtClassDeclaration = new ReferenceTypeImpl(classDeclaration, typeSolver); in testGetAllGenericFields() 493 assertEquals("s", classDeclaration.getAllFields().get(0).getName()); in testGetAllGenericFields() 494 assertEquals(string, classDeclaration.getAllFields().get(0).getType()); in testGetAllGenericFields() 497 assertEquals("t", classDeclaration.getAllFields().get(1).getName()); in testGetAllGenericFields() 498 …assertEquals("java.util.List<java.lang.Boolean>", classDeclaration.getAllFields().get(1).getType()… in testGetAllGenericFields() 501 assertEquals("i", classDeclaration.getAllFields().get(2).getName()); in testGetAllGenericFields() 502 assertEquals(ResolvedPrimitiveType.INT, classDeclaration.getAllFields().get(2).getType()); in testGetAllGenericFields()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | SymbolSolverWithJavassistClassTest.java | 133 … private void assertCanSolveSymbol(String symbolName, JavassistClassDeclaration classDeclaration) { in assertCanSolveSymbol() argument 134 …olvedValueDeclaration> solvedSymbol = symbolSolver.solveSymbolInType(classDeclaration, symbolName); in assertCanSolveSymbol()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_DefaultConstructorDeclaration.txt | 1 …Line 52) classDeclaration.getName() ==> com.github.javaparser.symbolsolver.model.declarations.Decl…
|
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserConstructorDeclaration.txt | 8 …Line 61) this.classDeclaration.getName() ==> com.github.javaparser.symbolsolver.model.declarations…
|
/external/doclava/src/com/google/doclava/parser/ |
D | Java.g | 40 * : classOrInterfaceModifiers (classDeclaration | interfaceDeclaration) 46 * : classDeclaration | interfaceDeclaration 49 * with classOrInterfaceModifiers been moved inside classDeclaration and 61 * | classDeclaration 69 * | classDeclaration 231 * normalInterfaceDeclaration rather than classDeclaration and 342 : classDeclaration 372 classDeclaration 505 | classDeclaration 570 | classDeclaration
|
D | JavaParser.java | 1205 classDeclaration(); in classOrInterfaceDeclaration() 1538 public final void classDeclaration() throws RecognitionException { in classDeclaration() method in JavaParser 3282 classDeclaration(); in memberDecl() 4069 classDeclaration(); in interfaceBodyDeclaration() 13976 classDeclaration(); in synpred12_Java_fragment() 14066 classDeclaration(); in synpred54_Java_fragment() 14327 classDeclaration(); in synpred71_Java_fragment()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/ |
D | ParsingSteps.java | 326 …ClassOrInterfaceDeclaration classDeclaration = compilationUnit.getType(0).asClassOrInterfaceDeclar… in thenTheAssignExprProducedDoesntHaveANullTarget() local 327 ConstructorDeclaration ctor = classDeclaration.getMember(1).asConstructorDeclaration(); in thenTheAssignExprProducedDoesntHaveANullTarget()
|
/external/turbine/java/com/google/turbine/parse/ |
D | Parser.java | 163 decls.add(classDeclaration(access, annos.build())); in compilationUnit() 491 private TyDecl classDeclaration(EnumSet<TurbineModifier> access, ImmutableList<Anno> annos) { in classDeclaration() method in Parser 615 acc.add(classDeclaration(access, annos.build())); in classMembers()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/ |
D | ModifierVisitor.java | 969 …ClassOrInterfaceDeclaration classDeclaration = (ClassOrInterfaceDeclaration) n.getClassDeclaration… in visit() local 971 if (classDeclaration == null) in visit() 973 n.setClassDeclaration(classDeclaration); in visit()
|
D | CloneVisitor.java | 687 ClassOrInterfaceDeclaration classDeclaration = cloneNode(n.getClassDeclaration(), arg); in visit() local 689 …eclarationStmt r = new LocalClassDeclarationStmt(n.getTokenRange().orElse(null), classDeclaration); in visit()
|
/external/antlr/runtime/C/ |
D | README | 978 constructorDeclaration | ( classDeclaration )=> classDeclaration | (
|
/external/antlr/tool/ |
D | CHANGES.txt | 2619 constructorDeclaration | ( classDeclaration )=> classDeclaration | (
|