Home
last modified time | relevance | path

Searched refs:setModifiers (Results 1 – 25 of 88) sorted by relevance

1234

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithModifiers.java52 N setModifiers(NodeList<Modifier> modifiers); in setModifiers() method
63 setModifiers(existingModifiers); in addModifier()
73 setModifiers(remaining); in removeModifier()
97 default N setModifiers(final Modifier.Keyword... modifiers) { in setModifiers() method
98 return setModifiers(Arrays.stream(modifiers).map(Modifier::new).collect(toNodeList())); in setModifiers()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DBaseParameter.java44 setModifiers(modifiers); in BaseParameter()
49 setModifiers(modifiers); in BaseParameter()
56 setModifiers(modifiers); in BaseParameter()
89 public void setModifiers(int modifiers) { in setModifiers() method in BaseParameter
DFieldDeclaration.java49 setModifiers(modifiers); in FieldDeclaration()
57 setModifiers(modifiers); in FieldDeclaration()
64 setModifiers(modifiers); in FieldDeclaration()
71 setModifiers(modifiers); in FieldDeclaration()
104 public void setModifiers(int modifiers) { in setModifiers() method in FieldDeclaration
DTypeDeclaration.java46 setModifiers(modifiers); in TypeDeclaration()
54 setModifiers(modifiers); in TypeDeclaration()
64 setModifiers(modifiers); in TypeDeclaration()
91 public final void setModifiers(int modifiers) { in setModifiers() method in TypeDeclaration
DAnnotationMemberDeclaration.java52 setModifiers(modifiers); in AnnotationMemberDeclaration()
60 setModifiers(modifiers); in AnnotationMemberDeclaration()
68 setModifiers(modifiers); in AnnotationMemberDeclaration()
111 public void setModifiers(int modifiers) { in setModifiers() method in AnnotationMemberDeclaration
DMethodDeclaration.java66 setModifiers(modifiers); in MethodDeclaration()
72 setModifiers(modifiers); in MethodDeclaration()
82 setModifiers(modifiers); in MethodDeclaration()
97 setModifiers(modifiers); in MethodDeclaration()
173 public void setModifiers(final int modifiers) { in setModifiers() method in MethodDeclaration
DConstructorDeclaration.java60 setModifiers(modifiers); in ConstructorDeclaration()
67 setModifiers(modifiers); in ConstructorDeclaration()
79 setModifiers(modifiers); in ConstructorDeclaration()
142 public void setModifiers(int modifiers) { in setModifiers() method in ConstructorDeclaration
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_body_TypeDeclaration.txt3 …Line 58) setModifiers(modifiers) ==> com.github.javaparser.ast.body.TypeDeclaration.setModifiers(j…
5 …Line 66) setModifiers(modifiers) ==> com.github.javaparser.ast.body.TypeDeclaration.setModifiers(j…
8 …Line 75) setModifiers(modifiers) ==> com.github.javaparser.ast.body.TypeDeclaration.setModifiers(j…
Dcom_github_javaparser_ast_body_AnnotationMemberDeclaration.txt2 …Line 59) setModifiers(modifiers) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.se…
6 …Line 68) setModifiers(modifiers) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.se…
10 …Line 77) setModifiers(modifiers) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.se…
Dcom_github_javaparser_ast_expr_VariableDeclarationExpr.txt11setModifiers(Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifie…
19setModifiers(Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifie…
26 …Line 97) setModifiers(modifiers) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.setMod…
29 …Line 108) setModifiers(modifiers) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.setMo…
Dcom_github_javaparser_ast_body_FieldDeclaration.txt2 …Line 70) setModifiers(modifiers) ==> com.github.javaparser.ast.body.FieldDeclaration.setModifiers(…
6 …Line 78) setModifiers(modifiers) ==> com.github.javaparser.ast.body.FieldDeclaration.setModifiers(…
9 …Line 86) setModifiers(modifiers) ==> com.github.javaparser.ast.body.FieldDeclaration.setModifiers(…
13 …Line 95) setModifiers(modifiers) ==> com.github.javaparser.ast.body.FieldDeclaration.setModifiers(…
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/
DMethodDeclarationTransformationsTest.java202 it.setModifiers(createModifierList(PUBLIC)); in addingModifiers()
209 it.setModifiers(new NodeList<>()); in removingModifiers()
216 it.setModifiers(new NodeList<>()); in removingModifiersWithExistingAnnotationsShort()
237 cu.getType(0).getMethods().get(0).setModifiers(new NodeList<>()); in removingModifiersWithExistingAnnotations()
250 it.setModifiers(createModifierList(PROTECTED)); in replacingModifiers()
257 it.setModifiers(createModifierList(PROTECTED)); in replacingModifiersWithExistingAnnotationsShort()
271 cu.getType(0).getMethods().get(0).setModifiers(createModifierList(PROTECTED)); in replacingModifiersWithExistingAnnotations()
441 it.setModifiers(NodeList.nodeList(Modifier.publicModifier(), Modifier.finalModifier())); in addingModifiersWithExistingAnnotationsShort()
DEnumDeclarationTransformationsTest.java61 ed.setModifiers(createModifierList(PUBLIC)); in addingModifiers()
68 ed.setModifiers(new NodeList<>()); in removingModifiers()
75 ed.setModifiers(createModifierList(PROTECTED)); in replacingModifiers()
DFieldDeclarationTransformationsTest.java51 it.setModifiers(createModifierList(PUBLIC)); in addingModifiers()
58 it.setModifiers(new NodeList<>()); in removingModifiers()
65 it.setModifiers(createModifierList(PROTECTED)); in replacingModifiers()
DConstructorDeclarationTransformationsTest.java65 cd.setModifiers(createModifierList(PUBLIC)); in addingModifiers()
72 cd.setModifiers(new NodeList<>()); in removingModifiers()
79 cd.setModifiers(createModifierList(PROTECTED)); in replacingModifiers()
DAnnotationDeclarationTransformationsTest.java63 … cu.getAnnotationDeclarationByName("ClassPreamble").get().setModifiers(createModifierList(PUBLIC)); in addingModifiers()
70 cu.getAnnotationDeclarationByName("ClassPreamble").get().setModifiers(new NodeList<>()); in removingModifiers()
77 …cu.getAnnotationDeclarationByName("ClassPreamble").get().setModifiers(createModifierList(PROTECTED… in replacingModifiers()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java79 setModifiers(Arrays.stream(modifiers) in VariableDeclarationExpr()
86 setModifiers(Arrays.stream(modifiers) in VariableDeclarationExpr()
97 setModifiers(modifiers); in VariableDeclarationExpr()
108 setModifiers(modifiers); in VariableDeclarationExpr()
170 public VariableDeclarationExpr setModifiers(final EnumSet<Modifier> modifiers) { in setModifiers() method in VariableDeclarationExpr
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DTypeDeclaration.java58 setModifiers(modifiers); in TypeDeclaration()
66 setModifiers(modifiers); in TypeDeclaration()
75 setModifiers(modifiers); in TypeDeclaration()
129 public T setModifiers(EnumSet<Modifier> modifiers) { in setModifiers() method in TypeDeclaration
DAnnotationMemberDeclaration.java59 setModifiers(modifiers); in AnnotationMemberDeclaration()
68 setModifiers(modifiers); in AnnotationMemberDeclaration()
77 setModifiers(modifiers); in AnnotationMemberDeclaration()
125 public AnnotationMemberDeclaration setModifiers(EnumSet<Modifier> modifiers) { in setModifiers() method in AnnotationMemberDeclaration
DFieldDeclaration.java70 setModifiers(modifiers); in FieldDeclaration()
78 setModifiers(modifiers); in FieldDeclaration()
86 setModifiers(modifiers); in FieldDeclaration()
95 setModifiers(modifiers); in FieldDeclaration()
164 public FieldDeclaration setModifiers(EnumSet<Modifier> modifiers) { in setModifiers() method in FieldDeclaration
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_body_FieldDeclaration.txt9 Line 49) setModifiers(modifiers) ==> void
15 Line 57) setModifiers(modifiers) ==> void
19 Line 64) setModifiers(modifiers) ==> void
27 Line 71) setModifiers(modifiers) ==> void
Dcom_github_javaparser_ast_body_BaseParameter.txt7 Line 44) setModifiers(modifiers) ==> void
9 Line 49) setModifiers(modifiers) ==> void
16 Line 56) setModifiers(modifiers) ==> void
Dcom_github_javaparser_ast_body_TypeDeclaration.txt10 Line 46) setModifiers(modifiers) ==> void
13 Line 54) setModifiers(modifiers) ==> void
21 Line 64) setModifiers(modifiers) ==> void
/external/javassist/src/main/javassist/tools/reflect/
DReflection.java275 f.setModifiers(Modifier.PROTECTED); in modifyClassfile()
284 f.setModifiers(Modifier.PRIVATE | Modifier.STATIC); in modifyClassfile()
322 m2.setModifiers(mod); in processMethods0()
331 m2.setModifiers(mod); in processMethods0()
348 wmethod.setModifiers(mod); in processMethods0()
387 wmethod.setModifiers(mod); in processFields()
396 wmethod.setModifiers(mod); in processFields()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java54 setModifiers(modifiers); in VariableDeclarationExpr()
63 setModifiers(modifiers); in VariableDeclarationExpr()
104 public void setModifiers(final int modifiers) { in setModifiers() method in VariableDeclarationExpr

1234