/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserClassDeclarationTest.java | 401 ResolvedFieldDeclaration fieldDeclaration = null; in testGetFieldForExistingField() local 404 fieldDeclaration = constructorDeclaration.getField("modifiers"); in testGetFieldForExistingField() 405 assertEquals("modifiers", fieldDeclaration.getName()); in testGetFieldForExistingField() 406 …assertEquals("java.util.EnumSet", fieldDeclaration.getType().asReferenceType().getQualifiedName()); in testGetFieldForExistingField() 407 assertEquals(AccessSpecifier.PRIVATE, fieldDeclaration.accessSpecifier()); in testGetFieldForExistingField() 408 assertEquals(false, fieldDeclaration.isStatic()); in testGetFieldForExistingField() 411 fieldDeclaration = constructorDeclaration.getField("annotations"); in testGetFieldForExistingField() 412 assertEquals("annotations", fieldDeclaration.getName()); in testGetFieldForExistingField() 413 … assertEquals("java.util.List", fieldDeclaration.getType().asReferenceType().getQualifiedName()); in testGetFieldForExistingField() 414 assertEquals(AccessSpecifier.PRIVATE, fieldDeclaration.accessSpecifier()); in testGetFieldForExistingField() [all …]
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
D | FieldLocator.java | 57 FieldDeclaration fieldDeclaration = (FieldDeclaration) node; in matches() local 59 : (List<VariableDeclarationFragment>) fieldDeclaration.fragments()) { in matches() 84 FieldDeclaration fieldDeclaration = (FieldDeclaration) bodyDeclaration; in find() local 86 : (List<VariableDeclarationFragment>) fieldDeclaration.fragments()) { in find() 89 return fieldDeclaration; in find() 111 for (VariableDeclarationFragment fieldDeclaration : fieldDeclarations) { in getFieldNames() 112 fieldNames.add(fieldDeclaration.getName().getIdentifier()); in getFieldNames()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/type/ |
D | ArrayTypeTest.java | 45 …FieldDeclaration fieldDeclaration = parseBodyDeclaration("@C int @A[] @B[] a @X[] @Y[];").asFieldD… in getFieldDeclarationWithArrays() local 47 ArrayType arrayType1 = fieldDeclaration.getVariable(0).getType().asArrayType(); in getFieldDeclarationWithArrays() 59 …assertThat(fieldDeclaration.getAnnotations()).containsExactly(new MarkerAnnotationExpr(parseName("… in getFieldDeclarationWithArrays() 61 … assertThat(arrayType1.getParentNode().get().getParentNode().get()).isSameAs(fieldDeclaration); in getFieldDeclarationWithArrays() 132 … FieldDeclaration fieldDeclaration = parseBodyDeclaration("int[][] a[][];").asFieldDeclaration(); in setFieldDeclarationWithArrays() local 133 …fieldDeclaration.getVariable(0).setType(new ArrayType(new ArrayType(parseClassOrInterfaceType("Blo… in setFieldDeclarationWithArrays() 135 assertEquals("Blob[][] a;", fieldDeclaration.toString()); in setFieldDeclarationWithArrays() 148 FieldDeclaration fieldDeclaration = parseBodyDeclaration("int[] a[];").asFieldDeclaration(); in fieldDeclarationWithArraysHasCorrectOrigins() local 150 Type outerType = fieldDeclaration.getVariables().get(0).getType(); in fieldDeclarationWithArraysHasCorrectOrigins()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/ |
D | PrettyPrinterTest.java | 194 FieldDeclaration fieldDeclaration = parseBodyDeclaration("int a, b;").asFieldDeclaration(); in printingInconsistentVariables() local 196 assertEquals("int a, b;", fieldDeclaration.toString()); in printingInconsistentVariables() 198 fieldDeclaration.getVariable(0).setType(PrimitiveType.doubleType()); in printingInconsistentVariables() 200 assertEquals("??? a, b;", fieldDeclaration.toString()); in printingInconsistentVariables() 202 fieldDeclaration.getVariable(1).setType(PrimitiveType.doubleType()); in printingInconsistentVariables() 204 assertEquals("double a, b;", fieldDeclaration.toString()); in printingInconsistentVariables()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithMembers.java | 74 FieldDeclaration fieldDeclaration = new FieldDeclaration(); in addField() local 75 fieldDeclaration.setParentNode((Node) this); in addField() 77 fieldDeclaration.getVariables().add(variable); in addField() 78 variable.setParentNode(fieldDeclaration); in addField() 79 fieldDeclaration.setModifiers(Arrays.stream(modifiers) in addField() 82 getMembers().add(fieldDeclaration); in addField() 83 return fieldDeclaration; in addField()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/body/ |
D | FieldDeclarationTest.java | 18 FieldDeclaration fieldDeclaration = declaration.asFieldDeclaration(); in wofjweoifj() local 19 VariableDeclarator var1 = fieldDeclaration.getVariables().get(0); in wofjweoifj() 20 VariableDeclarator var2 = fieldDeclaration.getVariables().get(1); in wofjweoifj()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithMembers.java | 109 FieldDeclaration fieldDeclaration = new FieldDeclaration(); in addField() local 111 fieldDeclaration.getVariables().add(variable); in addField() 112 fieldDeclaration.setModifiers(Arrays.stream(modifiers) in addField() 114 getMembers().add(fieldDeclaration); in addField() 115 return fieldDeclaration; in addField()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/observer/ |
D | PropagatingAstObserverTest.java | 52 FieldDeclaration fieldDeclaration = cu.getClassByName("A").get().addField("String", "foo"); in verifyPropagation() local 54 assertEquals(true, fieldDeclaration.isRegistered(observer)); in verifyPropagation()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | Issue347.java | 48 … FieldDeclaration fieldDeclaration = Navigator.findNodeOfGivenClass(cu, FieldDeclaration.class); in resolvingReferenceToEnumDeclarationInSameFile() local 49 ResolvedType fieldType = javaParserFacade.getType(fieldDeclaration); in resolvingReferenceToEnumDeclarationInSameFile()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/ |
D | JavaSymbolSolver.java | 94 FieldDeclaration fieldDeclaration = (FieldDeclaration)node; in resolveDeclaration() local 95 if (fieldDeclaration.getVariables().size() != 1) { in resolveDeclaration() 98 …ResolvedFieldDeclaration resolved = new JavaParserFieldDeclaration(fieldDeclaration.getVariable(0)… in resolveDeclaration()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | JavaParserFacadeResolutionTest.java | 118 …FieldDeclaration fieldDeclaration = Navigator.findNodeOfGivenClass(JavaParser.parse(code), FieldDe… in solvingReferenceToAnAncestorInternalClass() local 119 Type jpType = fieldDeclaration.getCommonType(); in solvingReferenceToAnAncestorInternalClass()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_ast_nodeTypes_NodeWithMembers.txt | 5 …Line 75) fieldDeclaration.setParentNode((Node) this) ==> com.github.javaparser.ast.Node.setParentN… 6 Line 77) fieldDeclaration.getVariables().add(variable) ==> java.util.List.add(E) 7 …Line 77) fieldDeclaration.getVariables() ==> com.github.javaparser.ast.body.FieldDeclaration.getVa… 8 …Line 78) variable.setParentNode(fieldDeclaration) ==> com.github.javaparser.ast.Node.setParentNode… 9 …Line 79) fieldDeclaration.setModifiers(Arrays.stream(modifiers).collect(toCollection(() -> EnumSet… 15 Line 82) getMembers().add(fieldDeclaration) ==> java.util.List.add(E)
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
D | DexMaker.java | 319 FieldDeclaration fieldDeclaration = new FieldDeclaration(fieldId, flags, staticValue); in declare() local 320 typeDeclaration.fields.put(fieldId, fieldDeclaration); in declare()
|
/external/doclava/src/com/google/doclava/parser/ |
D | Java.g | 67 * : fieldDeclaration 217 * fieldDeclaration and pulled type into memberDeclaration. So we parse 503 : fieldDeclaration 545 fieldDeclaration
|
D | JavaParser.java | 3254 fieldDeclaration(); in memberDecl() 3778 public final void fieldDeclaration() throws RecognitionException { in fieldDeclaration() method in JavaParser 14030 fieldDeclaration(); in synpred52_Java_fragment()
|
/external/antlr/runtime/C/ |
D | README | 976 : ( ( fieldDeclaration )=> fieldDeclaration | ( methodDeclaration )=>
|
/external/antlr/tool/ |
D | CHANGES.txt | 2617 : ( ( fieldDeclaration )=> fieldDeclaration | ( methodDeclaration )=>
|