/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/ |
D | FieldDeclaration.java | 70 …FieldDeclaration extends BodyDeclaration<FieldDeclaration> implements NodeWithJavadoc<FieldDeclara… class 77 public FieldDeclaration() { in FieldDeclaration() method in FieldDeclaration 81 public FieldDeclaration(EnumSet<Modifier> modifiers, VariableDeclarator variable) { in FieldDeclaration() method in FieldDeclaration 85 public FieldDeclaration(EnumSet<Modifier> modifiers, NodeList<VariableDeclarator> variables) { in FieldDeclaration() method in FieldDeclaration 90 …public FieldDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeLis… in FieldDeclaration() method in FieldDeclaration 98 …public FieldDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExp… in FieldDeclaration() method in FieldDeclaration 112 public FieldDeclaration(EnumSet<Modifier> modifiers, Type type, String name) { in FieldDeclaration() method in FieldDeclaration 145 public FieldDeclaration setModifiers(final EnumSet<Modifier> modifiers) { in setModifiers() 148 return (FieldDeclaration) this; in setModifiers() 156 public FieldDeclaration setVariables(final NodeList<VariableDeclarator> variables) { in setVariables() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithMembers.java | 83 default FieldDeclaration addField(Class<?> typeClass, String name, Modifier... modifiers) { in addField() 96 default FieldDeclaration addField(String type, String name, Modifier... modifiers) { in addField() 108 default FieldDeclaration addField(Type type, String name, Modifier... modifiers) { in addField() 109 FieldDeclaration fieldDeclaration = new FieldDeclaration(); in addField() 127 …default FieldDeclaration addFieldWithInitializer(Type type, String name, Expression initializer, M… in addFieldWithInitializer() 128 FieldDeclaration declaration = addField(type, name, modifiers); in addFieldWithInitializer() 140 default FieldDeclaration addPrivateField(Class<?> typeClass, String name) { in addPrivateField() 152 default FieldDeclaration addPrivateField(String type, String name) { in addPrivateField() 163 default FieldDeclaration addPublicField(Class<?> typeClass, String name) { in addPublicField() 175 default FieldDeclaration addPublicField(String type, String name) { in addPublicField() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithMembers.java | 18 import com.github.javaparser.ast.body.FieldDeclaration; 48 default FieldDeclaration addField(Class<?> typeClass, String name, Modifier... modifiers) { in addField() 61 default FieldDeclaration addField(String type, String name, Modifier... modifiers) { in addField() 73 default FieldDeclaration addField(Type<?> type, String name, Modifier... modifiers) { in addField() 74 FieldDeclaration fieldDeclaration = new FieldDeclaration(); in addField() 93 default FieldDeclaration addPrivateField(Class<?> typeClass, String name) { in addPrivateField() 105 default FieldDeclaration addPrivateField(String type, String name) { in addPrivateField() 116 default FieldDeclaration addPublicField(Class<?> typeClass, String name) { in addPublicField() 128 default FieldDeclaration addPublicField(String type, String name) { in addPublicField() 139 default FieldDeclaration addProtectedField(Class<?> typeClass, String name) { in addProtectedField() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/ |
D | FieldDeclaration.java | 52 public final class FieldDeclaration extends BodyDeclaration<FieldDeclaration> implements class 53 NodeWithJavaDoc<FieldDeclaration>, 54 NodeWithElementType<FieldDeclaration>, 55 NodeWithModifiers<FieldDeclaration>, 56 NodeWithVariables<FieldDeclaration> { 66 public FieldDeclaration() { in FieldDeclaration() method in FieldDeclaration 69 …public FieldDeclaration(EnumSet<Modifier> modifiers, Type elementType, VariableDeclarator variable… in FieldDeclaration() method in FieldDeclaration 77 …public FieldDeclaration(EnumSet<Modifier> modifiers, Type elementType, List<VariableDeclarator> va… in FieldDeclaration() method in FieldDeclaration 83 …public FieldDeclaration(EnumSet<Modifier> modifiers, List<AnnotationExpr> annotations, Type elemen… in FieldDeclaration() method in FieldDeclaration 92 …public FieldDeclaration(Range range, EnumSet<Modifier> modifiers, List<AnnotationExpr> annotations… in FieldDeclaration() method in FieldDeclaration [all …]
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
D | FieldLocator.java | 23 import org.eclipse.jdt.core.dom.FieldDeclaration; 56 if (node instanceof FieldDeclaration) { in matches() 57 FieldDeclaration fieldDeclaration = (FieldDeclaration) node; in matches() 76 public FieldDeclaration find(CompilationUnit cu) { in find() 83 if (bodyDeclaration instanceof FieldDeclaration) { in find() 84 FieldDeclaration fieldDeclaration = (FieldDeclaration) bodyDeclaration; in find() 108 public static List<String> getFieldNames(FieldDeclaration fieldDeclarationNode) { in getFieldNames()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_ast_body_FieldDeclaration.txt | 2 …Line 70) setModifiers(modifiers) ==> com.github.javaparser.ast.body.FieldDeclaration.setModifiers(… 3 …Line 71) setElementType(elementType) ==> com.github.javaparser.ast.body.FieldDeclaration.setElemen… 5 …Line 74) setVariables(aux) ==> com.github.javaparser.ast.body.FieldDeclaration.setVariables(java.u… 6 …Line 78) setModifiers(modifiers) ==> com.github.javaparser.ast.body.FieldDeclaration.setModifiers(… 7 …Line 79) setElementType(elementType) ==> com.github.javaparser.ast.body.FieldDeclaration.setElemen… 8 …Line 80) setVariables(variables) ==> com.github.javaparser.ast.body.FieldDeclaration.setVariables(… 9 …Line 86) setModifiers(modifiers) ==> com.github.javaparser.ast.body.FieldDeclaration.setModifiers(… 10 …Line 87) setElementType(elementType) ==> com.github.javaparser.ast.body.FieldDeclaration.setElemen… 11 …Line 88) setVariables(variables) ==> com.github.javaparser.ast.body.FieldDeclaration.setVariables(… 12 …rayBracketPairsAfterElementType) ==> com.github.javaparser.ast.body.FieldDeclaration.setArrayBrack… [all …]
|
D | com_github_javaparser_ast_nodeTypes_NodeWithMembers.txt | 7 …Line 77) fieldDeclaration.getVariables() ==> com.github.javaparser.ast.body.FieldDeclaration.getVa… 9 …numSet.noneOf(Modifier.class)))) ==> com.github.javaparser.ast.body.FieldDeclaration.setModifiers(… 99 …Line 267) getMembers().stream().filter(m -> m instanceof FieldDeclaration && ((FieldDeclaration) m… 100 …Line 267) getMembers().stream().filter(m -> m instanceof FieldDeclaration && ((FieldDeclaration) m… 101 …Line 267) getMembers().stream().filter(m -> m instanceof FieldDeclaration && ((FieldDeclaration) m… 104 …Line 268) ((FieldDeclaration) m).getVariables().stream().anyMatch(var -> var.getId().getName().equ… 105 Line 268) ((FieldDeclaration) m).getVariables().stream() ==> java.util.Collection.stream() 106 …Line 268) ((FieldDeclaration) m).getVariables() ==> com.github.javaparser.ast.body.FieldDeclaratio… 110 …leList(getMembers().stream().filter(m -> m instanceof FieldDeclaration).map(m -> (FieldDeclaration… 111 …e 279) getMembers().stream().filter(m -> m instanceof FieldDeclaration).map(m -> (FieldDeclaration… [all …]
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/ |
D | FieldDeclarationTransformationsTest.java | 25 import com.github.javaparser.ast.body.FieldDeclaration; 37 protected FieldDeclaration consider(String code) { in consider() 48 FieldDeclaration it = consider("int A;"); in addingModifiers() 55 FieldDeclaration it = consider("public int A;"); in removingModifiers() 62 FieldDeclaration it = consider("int A;"); in replacingModifiers() 69 FieldDeclaration it = consider("int a, b;"); in changingTypes()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/ |
D | FieldDeclaration.java | 37 public final class FieldDeclaration extends BodyDeclaration implements DocumentableNode { class 45 public FieldDeclaration() { in FieldDeclaration() method in FieldDeclaration 48 public FieldDeclaration(int modifiers, Type type, VariableDeclarator variable) { in FieldDeclaration() method in FieldDeclaration 56 public FieldDeclaration(int modifiers, Type type, List<VariableDeclarator> variables) { in FieldDeclaration() method in FieldDeclaration 62 …public FieldDeclaration(int modifiers, List<AnnotationExpr> annotations, Type type, List<VariableD… in FieldDeclaration() method in FieldDeclaration 69 …public FieldDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers,… in FieldDeclaration() method in FieldDeclaration
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/ |
D | NodeWithMembersBuildersTest.java | 42 … FieldDeclaration addField = classDeclaration.addField(int.class, "fieldName", Modifier.PRIVATE); in testAddField() 117 … FieldDeclaration addField = classDeclaration.addField(int.class, "fieldName", Modifier.PRIVATE); in testGetFieldWithName() 119 FieldDeclaration fieldByName = classDeclaration.getFieldByName("fieldName").get(); in testGetFieldWithName() 125 … FieldDeclaration firstField = classDeclaration.addField(int.class, "fieldName", Modifier.PRIVATE); in testGetFields() 126 …FieldDeclaration secondField = classDeclaration.addField(float.class, "secondField", Modifier.PRIV… in testGetFields() 128 List<FieldDeclaration> fields = classDeclaration.getFields(); in testGetFields()
|
D | FieldDeclarationBuildersTest.java | 44 new FieldDeclaration().createGetter(); in testOrphanFieldGetter() 49 new FieldDeclaration().createSetter(); in testOrphanFieldSetter() 108 FieldDeclaration myPrivateField = testClass.addPrivateField(int.class, "myField"); in testCreateGetterWithANonValidField() 115 FieldDeclaration myPrivateField = testClass.addPrivateField(int.class, "myField"); in testCreateSetterWithANonValidField()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/ |
D | com_github_javaparser_PositionUtils.txt | 41 Line 111) node instanceof FieldDeclaration ==> boolean 42 …Line 112) FieldDeclaration casted = (FieldDeclaration) node ==> com.github.javaparser.ast.body.Fie… 43 Line 112) (FieldDeclaration) node ==> com.github.javaparser.ast.body.FieldDeclaration
|
D | com_github_javaparser_ASTHelper.txt | 27 …Line 124) FieldDeclaration ret = new FieldDeclaration(modifiers, type, variables) ==> com.github.j… 28 …Line 124) new FieldDeclaration(modifiers, type, variables) ==> com.github.javaparser.ast.body.Fiel… 29 Line 125) ret ==> com.github.javaparser.ast.body.FieldDeclaration 34 …eateFieldDeclaration(modifiers, type, variable) ==> com.github.javaparser.ast.body.FieldDeclaration
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarators/ |
D | FieldSymbolDeclarator.java | 19 import com.github.javaparser.ast.body.FieldDeclaration; 31 public class FieldSymbolDeclarator extends AbstractSymbolDeclarator<FieldDeclaration> { 33 public FieldSymbolDeclarator(FieldDeclaration wrappedNode, TypeSolver typeSolver) { in FieldSymbolDeclarator()
|
D | VariableSymbolDeclarator.java | 19 import com.github.javaparser.ast.body.FieldDeclaration; 39 if (p instanceof FieldDeclaration) { in VariableSymbolDeclarator()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
D | TransformationsTest.java | 4 import com.github.javaparser.ast.body.FieldDeclaration; 81 …FieldDeclaration fd = (FieldDeclaration) cu.getClassByName("A").get().getMember(0).asFieldDeclarat… in example8() 89 …FieldDeclaration fd = (FieldDeclaration) cu.getClassByName("A").get().getMember(0).asFieldDeclarat… in example9()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ |
D | PositionUtils.java | 27 import com.github.javaparser.ast.body.FieldDeclaration; 111 } else if (node instanceof FieldDeclaration) { in beginNodeWithoutConsideringAnnotations() 112 FieldDeclaration casted = (FieldDeclaration) node; in beginNodeWithoutConsideringAnnotations()
|
D | ASTHelper.java | 27 import com.github.javaparser.ast.body.FieldDeclaration; 121 …public static FieldDeclaration createFieldDeclaration(int modifiers, Type type, VariableDeclarator… in createFieldDeclaration() 124 FieldDeclaration ret = new FieldDeclaration(modifiers, type, variables); in createFieldDeclaration() 139 public static FieldDeclaration createFieldDeclaration(int modifiers, Type type, String name) { in createFieldDeclaration()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserFieldDeclaration.java | 42 private com.github.javaparser.ast.body.FieldDeclaration wrappedNode; 52 …equireParentNode(variableDeclarator) instanceof com.github.javaparser.ast.body.FieldDeclaration)) { in JavaParserFieldDeclaration() 55 …this.wrappedNode = (com.github.javaparser.ast.body.FieldDeclaration) requireParentNode(variableDec… in JavaParserFieldDeclaration() 99 public com.github.javaparser.ast.body.FieldDeclaration getWrappedNode() { in getWrappedNode()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | Issue347.java | 6 import com.github.javaparser.ast.body.FieldDeclaration; 48 … FieldDeclaration fieldDeclaration = Navigator.findNodeOfGivenClass(cu, FieldDeclaration.class); in resolvingReferenceToEnumDeclarationInSameFile()
|
/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_JavaParserAnonymousClassDeclaration.txt | 42 …Line 111) findMembersOfKind(com.github.javaparser.ast.body.FieldDeclaration.class).stream().flatMa… 43 …Line 111) findMembersOfKind(com.github.javaparser.ast.body.FieldDeclaration.class).stream().flatMa… 44 …Line 111) findMembersOfKind(com.github.javaparser.ast.body.FieldDeclaration.class).stream() ==> ja… 45 …Line 111) findMembersOfKind(com.github.javaparser.ast.body.FieldDeclaration.class) ==> com.github.… 48 Line 114) field.getVariables() ==> com.github.javaparser.ast.body.FieldDeclaration.getVariables() 61 …Line 128) ImmutableList.<FieldDeclaration>builder().addAll(myFields).addAll(superClassFields).addA… 62 …Line 128) ImmutableList.<FieldDeclaration>builder().addAll(myFields).addAll(superClassFields).addA… 63 …Line 128) ImmutableList.<FieldDeclaration>builder().addAll(myFields).addAll(superClassFields) ==> … 64 …Line 128) ImmutableList.<FieldDeclaration>builder().addAll(myFields) ==> com.google.common.collect… 65 …Line 128) ImmutableList.<FieldDeclaration>builder() ==> com.google.common.collect.ImmutableList.bu…
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/ |
D | CommentParsingSteps.java | 355 … FieldDeclaration fieldUnderTest = getMemberByTypeAndPosition(classUnderTest, fieldPosition - 1, in thenFieldInClassContainsComments() 356 FieldDeclaration.class); in thenFieldInClassContainsComments() 363 … FieldDeclaration fieldUnderTest = getMemberByTypeAndPosition(classUnderTest, fieldPosition - 1, in thenFieldInClassIsNotCommented() 364 FieldDeclaration.class); in thenFieldInClassIsNotCommented() 371 … FieldDeclaration fieldUnderTest = getMemberByTypeAndPosition(classUnderTest, fieldPosition - 1, in thenFieldInClassIsCommented() 372 FieldDeclaration.class); in thenFieldInClassIsCommented() 380 … FieldDeclaration fieldUnderTest = getMemberByTypeAndPosition(classUnderTest, fieldPosition - 1, in thenVariableValueOfFieldInClassIsCommented() 381 FieldDeclaration.class); in thenVariableValueOfFieldInClassIsCommented() 403 assertThat(commentUnderTest.getCommentedNode().get(), instanceOf(FieldDeclaration.class)); in thenCommentInCompilationUnitCommentedNodeIsFieldDeclaration()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/ |
D | NodeListTest.java | 26 import com.github.javaparser.ast.body.FieldDeclaration; 71 private FieldDeclaration createIntField(String name) { 72 return new FieldDeclaration(EnumSet.noneOf(Modifier.class), PrimitiveType.intType(), name); 230 FieldDeclaration clone = (FieldDeclaration) bodyDeclaration.clone(); 248 …cd.getMembers().removeIf(m -> ((FieldDeclaration) m).getVariable(0).getName().getIdentifier().leng…
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | ArrayExprTest.java | 4 import com.github.javaparser.ast.body.FieldDeclaration; 20 …FieldDeclaration field = JavaParser.parse(code).getClassByName("A").get().getFieldByName("toExamin… in verifyAnArrayAccessExprTypeIsCalculatedProperly()
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
D | DexMaker.java | 319 FieldDeclaration fieldDeclaration = new FieldDeclaration(fieldId, flags, staticValue); in declare() 561 private final Map<FieldId, FieldDeclaration> fields = new LinkedHashMap<>(); 591 for (FieldDeclaration field : fields.values()) { in toClassDefItem() 605 static class FieldDeclaration { class in DexMaker 610 FieldDeclaration(FieldId<?, ?> fieldId, int accessFlags, Object staticValue) { in FieldDeclaration() method in DexMaker.FieldDeclaration
|