Home
last modified time | relevance | path

Searched refs:TypeDeclaration (Results 1 – 25 of 147) sorted by relevance

123456

/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_body_TypeDeclaration.txt2 …Line 57) setName(name) ==> com.github.javaparser.ast.body.TypeDeclaration.setName(java.lang.String)
3 …Line 58) setModifiers(modifiers) ==> com.github.javaparser.ast.body.TypeDeclaration.setModifiers(j…
4 …Line 65) setName(name) ==> com.github.javaparser.ast.body.TypeDeclaration.setName(java.lang.String)
5 …Line 66) setModifiers(modifiers) ==> com.github.javaparser.ast.body.TypeDeclaration.setModifiers(j…
6 …Line 67) setMembers(members) ==> com.github.javaparser.ast.body.TypeDeclaration.setMembers(java.ut…
7 …Line 74) setName(name) ==> com.github.javaparser.ast.body.TypeDeclaration.setName(java.lang.String)
8 …Line 75) setModifiers(modifiers) ==> com.github.javaparser.ast.body.TypeDeclaration.setModifiers(j…
9 …Line 76) setMembers(members) ==> com.github.javaparser.ast.body.TypeDeclaration.setMembers(java.ut…
10 Line 87) getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
12 …Line 90) setMembers(members) ==> com.github.javaparser.ast.body.TypeDeclaration.setMembers(java.ut…
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DTypeDeclaration.java51 public abstract class TypeDeclaration<T extends TypeDeclaration<?>> extends BodyDeclaration<T> impl… class
59 public TypeDeclaration() { in TypeDeclaration() method in TypeDeclaration
63 public TypeDeclaration(EnumSet<Modifier> modifiers, String name) { in TypeDeclaration() method in TypeDeclaration
68 …public TypeDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleNa… in TypeDeclaration() method in TypeDeclaration
76 …public TypeDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr… in TypeDeclaration() method in TypeDeclaration
191 return getParentNode().map(p -> p instanceof TypeDeclaration).orElse(false); in isNestedType()
196 public TypeDeclaration<?> clone() { in clone()
197 return (TypeDeclaration<?>) accept(new CloneVisitor(), null); in clone()
232 public TypeDeclaration asTypeDeclaration() { in asTypeDeclaration()
237 public void ifTypeDeclaration(Consumer<TypeDeclaration> action) { in ifTypeDeclaration()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DTypeDeclarationStmt.java24 import com.github.javaparser.ast.body.TypeDeclaration;
33 private TypeDeclaration typeDecl;
38 public TypeDeclarationStmt(final TypeDeclaration typeDecl) { in TypeDeclarationStmt()
43 final TypeDeclaration typeDecl) { in TypeDeclarationStmt()
56 public TypeDeclaration getTypeDeclaration() { in getTypeDeclaration()
60 public void setTypeDeclaration(final TypeDeclaration typeDecl) { in setTypeDeclaration()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DTypeDeclarationStmt.java25 import com.github.javaparser.ast.body.TypeDeclaration;
34 private TypeDeclaration typeDecl;
39 public TypeDeclarationStmt(final TypeDeclaration typeDecl) { in TypeDeclarationStmt()
43 public TypeDeclarationStmt(Range range, final TypeDeclaration typeDecl) { in TypeDeclarationStmt()
56 public TypeDeclaration getTypeDeclaration() { in getTypeDeclaration()
60 public TypeDeclarationStmt setTypeDeclaration(final TypeDeclaration typeDecl) { in setTypeDeclaration()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparser/
DNavigator.java54 public static Optional<TypeDeclaration<?>> findType(CompilationUnit cu, String qualifiedName) { in findType()
60 …Optional<TypeDeclaration<?>> type = cu.getTypes().stream().filter((t) -> t.getName().getId().equal… in findType()
69 … public static Optional<TypeDeclaration<?>> findType(TypeDeclaration<?> td, String qualifiedName) { in findType()
72 Optional<TypeDeclaration<?>> type = Optional.empty(); in findType()
74 … if (n instanceof TypeDeclaration && ((TypeDeclaration<?>) n).getName().getId().equals(typeName)) { in findType()
75 type = Optional.of((TypeDeclaration<?>) n); in findType()
95 Optional<TypeDeclaration<?>> res = findType(cu, qualifiedName); in demandEnum()
105 public static MethodDeclaration demandMethod(TypeDeclaration<?> cd, String name) { in demandMethod()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/
DCompilationUnit.java30 import com.github.javaparser.ast.body.TypeDeclaration;
57 private List<TypeDeclaration> types;
62 …tionUnit(PackageDeclaration pakage, List<ImportDeclaration> imports, List<TypeDeclaration> types) { in CompilationUnit()
68 …dColumn, PackageDeclaration pakage, List<ImportDeclaration> imports, List<TypeDeclaration> types) { in CompilationUnit()
132 public List<TypeDeclaration> getTypes() { in getTypes()
176 public void setTypes(List<TypeDeclaration> types) { in setTypes()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserEnumDeclaration.txt1 Line 69) wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
5 Line 83) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
7 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
10 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
13 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
16 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
19 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
36 …Line 197) this.wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMemb…
37 …Line 198) this.wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMemb…
54 …olveTypeInType(com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration, java.lang.St…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_JavaParserTypeDeclarationAdapter.txt3 Line 42) this.wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
5 …aparsermodel.JavaParserFacade.getTypeDeclaration(com.github.javaparser.ast.body.TypeDeclaration<?>)
7 …Line 47) this.wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembe…
10 Line 50) internalType.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
12 …aparsermodel.JavaParserFacade.getTypeDeclaration(com.github.javaparser.ast.body.TypeDeclaration<?>)
16 Line 52) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
17 Line 52) internalType.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
23 Line 53) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
26 Line 54) internalType.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
32 Line 55) internalType.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserInterfaceDeclaration.txt2 Line 63) wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
10 Line 98) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
13 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
21 …Interface() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.asInterface()
33 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
42 Line 192) wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
57 Line 220) this.wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
61 Line 228) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
87 …Line 274) wrappedNode.getModifiers() ==> com.github.javaparser.ast.body.TypeDeclaration.getModifie…
88 …Line 280) this.wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMemb…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserClassDeclaration.txt6 Line 107) wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
27 Line 147) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
38 Line 173) wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
44 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
57 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
62 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
70 Line 263) this.wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
74 Line 271) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
90 Line 298) wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
98 …Line 324) wrappedNode.getModifiers() ==> com.github.javaparser.ast.body.TypeDeclaration.getModifie…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserClassDeclaration_J9.txt6 Line 107) wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
27 Line 147) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
38 Line 173) wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
44 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
57 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
62 …fiedName() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.getQualifiedN…
70 Line 263) this.wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
74 Line 271) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
90 Line 298) wrappedNode.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
98 …Line 324) wrappedNode.getModifiers() ==> com.github.javaparser.ast.body.TypeDeclaration.getModifie…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserAnnotationDeclaration.txt7 Line 72) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
8 Line 74) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
10 Line 80) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
Dcom_github_javaparser_symbolsolver_javaparser_Navigator.txt17 …lsolver.javaparser.Navigator.findType(com.github.javaparser.ast.body.TypeDeclaration<?>, java.lang…
21 Line 67) td.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
22 …Line 68) ((TypeDeclaration<?>) n).getName().getId().equals(typeName) ==> java.lang.String.equals(j…
23 …Line 68) ((TypeDeclaration<?>) n).getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWi…
24 …Line 68) ((TypeDeclaration<?>) n).getName() ==> com.github.javaparser.ast.body.TypeDeclaration.get…
25 Line 69) Optional.of((TypeDeclaration<?>) n) ==> java.util.Optional.of(T)
29 …lsolver.javaparser.Navigator.findType(com.github.javaparser.ast.body.TypeDeclaration<?>, java.lang…
37 Line 101) cd.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
41 Line 119) cd.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DTypeDeclaration.java33 public abstract class TypeDeclaration extends BodyDeclaration implements NamedNode { class
41 public TypeDeclaration() { in TypeDeclaration() method in TypeDeclaration
44 public TypeDeclaration(int modifiers, String name) { in TypeDeclaration() method in TypeDeclaration
49 public TypeDeclaration(List<AnnotationExpr> annotations, in TypeDeclaration() method in TypeDeclaration
58 public TypeDeclaration(int beginLine, int beginColumn, int endLine, in TypeDeclaration() method in TypeDeclaration
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
DCommentParsingSteps.java252 TypeDeclaration<?> classUnderTest = compilationUnit.getType(position - 1); in thenClassIsNotCommented()
258 TypeDeclaration<?> classUnderTest = compilationUnit.getType(position - 1); in thenClassIsCommented()
264 TypeDeclaration<?> classUnderTest = compilationUnit.getType(position - 1); in thenClassHasTotalContainedComments()
271 TypeDeclaration<?> classUnderTest = compilationUnit.getType(position - 1); in thenClassHasOrphanComments()
277 TypeDeclaration<?> classUnderTest = compilationUnit.getType(classPosition - 1); in thenClassOrphanCommentIs()
284 TypeDeclaration<?> classUnderTest = compilationUnit.getType(classPosition - 1); in thenMethodInClassIsCommented()
292 TypeDeclaration<?> classUnderTest = compilationUnit.getType(classPosition - 1); in thenMethodInClassHasTotalContainedComments()
300 TypeDeclaration<?> classUnderTest = compilationUnit.getType(classPosition - 1); in thenCommentInMethodInClassIs()
309 TypeDeclaration<?> classUnderTest = compilationUnit.getType(classPosition - 1); in thenMethodInClassHasOrphanComments()
317 TypeDeclaration<?> classUnderTest = compilationUnit.getType(classPosition - 1); in thenBlockStatementInMethodInClassHasTotalContainedComments()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DTypeDeclaration.java44 public abstract class TypeDeclaration<T> extends BodyDeclaration<T> class
53 public TypeDeclaration() { in TypeDeclaration() method in TypeDeclaration
56 public TypeDeclaration(EnumSet<Modifier> modifiers, String name) { in TypeDeclaration() method in TypeDeclaration
61 public TypeDeclaration(List<AnnotationExpr> annotations, in TypeDeclaration() method in TypeDeclaration
70 public TypeDeclaration(Range range, List<AnnotationExpr> annotations, in TypeDeclaration() method in TypeDeclaration
86 public TypeDeclaration<T> addMember(BodyDeclaration<?> decl) { in addMember()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
DAddDefaultConstructor.java29 import org.eclipse.jdt.core.dom.TypeDeclaration;
56 void onAddDefaultConstructor(TypeLocator locator, TypeDeclaration typeDeclaration); in onAddDefaultConstructor()
73 if (abstractTypeDeclaration instanceof TypeDeclaration) { in process()
74 TypeDeclaration typeDeclaration = (TypeDeclaration) abstractTypeDeclaration; in process()
81 private void addDefaultConstructor(ASTRewrite rewrite, TypeDeclaration node) { in addDefaultConstructor()
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DShardingAnnotator.java35 import org.eclipse.jdt.core.dom.TypeDeclaration;
76 if (type instanceof TypeDeclaration) { in process()
77 TypeDeclaration declaration = (TypeDeclaration) type; in process()
85 private boolean needsAnnotation(TypeDeclaration declaration) { in needsAnnotation()
93 CompilationUnit cu, ASTRewrite rewrite, TypeDeclaration type, Set<String> imports) { in annotateTestType()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DDexMaker.java199 private final Map<TypeId<?>, TypeDeclaration> types = new LinkedHashMap<>();
217 TypeDeclaration getTypeDeclaration(TypeId<?> type) { in getTypeDeclaration()
218 TypeDeclaration result = types.get(type); in getTypeDeclaration()
220 result = new TypeDeclaration(type); in getTypeDeclaration()
234 TypeDeclaration declaration = getTypeDeclaration(type); in declare()
263 TypeDeclaration typeDeclaration = getTypeDeclaration(method.declaringType); in declare()
302 TypeDeclaration typeDeclaration = getTypeDeclaration(fieldId.declaringType); in declare()
333 for (TypeDeclaration typeDeclaration : types.values()) { in generate()
356 TypeDeclaration decl = getTypeDeclaration(typeId); in generateFileName()
550 static class TypeDeclaration { class in DexMaker
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DCompilationUnit.java30 import com.github.javaparser.ast.body.TypeDeclaration;
88 private NodeList<TypeDeclaration<?>> types;
105 …on packageDeclaration, NodeList<ImportDeclaration> imports, NodeList<TypeDeclaration<?>> types, Mo… in CompilationUnit()
113 …on packageDeclaration, NodeList<ImportDeclaration> imports, NodeList<TypeDeclaration<?>> types, Mo… in CompilationUnit()
186 public NodeList<TypeDeclaration<?>> getTypes() { in getTypes()
196 public TypeDeclaration<?> getType(int i) { in getType()
252 public CompilationUnit setTypes(final NodeList<TypeDeclaration<?>> types) { in setTypes()
265 public CompilationUnit setType(int i, TypeDeclaration<?> type) { in setType()
266 NodeList<TypeDeclaration<?>> copy = new NodeList<>(); in setType()
273 public CompilationUnit addType(TypeDeclaration<?> type) { in addType()
[all …]
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/visitor/
DCloneVisitorTest.java60 NodeList<TypeDeclaration<?>> typeDeclarationList = new NodeList<>(); in cloneJavaDocTest()
84 NodeList<TypeDeclaration<?>> typeDeclarationListClone = cuClone.getTypes(); in cloneJavaDocTest()
85 Iterator<TypeDeclaration<?>> typeItr = typeDeclarationListClone.iterator(); in cloneJavaDocTest()
86 TypeDeclaration<?> typeDeclaration; in cloneJavaDocTest()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/wiki_samples/
DMethodChanger_2.java29 import com.github.javaparser.ast.body.TypeDeclaration;
53 NodeList<TypeDeclaration<?>> types = cu.getTypes(); in changeMethods()
54 for (TypeDeclaration<?> type : types) { in changeMethods()
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/checker/
DRecordPublicApiRules.java43 import org.eclipse.jdt.core.dom.TypeDeclaration;
111 @Override public boolean visit(TypeDeclaration node) { in process()
208 if (type instanceof TypeDeclaration) { in isMemberPublicApiEligible()
209 TypeDeclaration typeDeclaration = (TypeDeclaration) type; in isMemberPublicApiEligible()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DJavaParserTypeDeclarationAdapter.java27 private com.github.javaparser.ast.body.TypeDeclaration<?> wrappedNode;
32 …public JavaParserTypeDeclarationAdapter(com.github.javaparser.ast.body.TypeDeclaration<?> wrappedN… in JavaParserTypeDeclarationAdapter()
48 if (member instanceof com.github.javaparser.ast.body.TypeDeclaration) { in solveType()
49 …com.github.javaparser.ast.body.TypeDeclaration<?> internalType = (com.github.javaparser.ast.body.T… in solveType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/
DASTHelper.java30 import com.github.javaparser.ast.body.TypeDeclaration;
205 public static void addTypeDeclaration(CompilationUnit cu, TypeDeclaration type) { in addTypeDeclaration()
206 List<TypeDeclaration> types = cu.getTypes(); in addTypeDeclaration()
208 types = new ArrayList<TypeDeclaration>(); in addTypeDeclaration()
277 public static void addMember(TypeDeclaration type, BodyDeclaration decl) { in addMember()

123456