/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/ |
D | com_github_javaparser_ast_body_TypeDeclaration.txt | 2 …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/ |
D | TypeDeclaration.java | 50 public abstract class TypeDeclaration<T extends TypeDeclaration<?>> extends BodyDeclaration<T> impl… class 58 public TypeDeclaration() { in TypeDeclaration() method in TypeDeclaration 62 public TypeDeclaration(NodeList<Modifier> modifiers, String name) { in TypeDeclaration() method in TypeDeclaration 67 …public TypeDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleN… in TypeDeclaration() method in TypeDeclaration 75 …public TypeDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExp… in TypeDeclaration() method in TypeDeclaration 204 …return findAncestor(TypeDeclaration.class).map(td -> (TypeDeclaration<?>) td).flatMap(td -> td.get… in getFullyQualifiedName() 212 return getParentNode().map(p -> p instanceof TypeDeclaration).orElse(false); in isNestedType() 217 public TypeDeclaration<?> clone() { in clone() 218 return (TypeDeclaration<?>) accept(new CloneVisitor(), null); in clone() 259 public TypeDeclaration asTypeDeclaration() { in asTypeDeclaration() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/ |
D | TypeDeclarationStmt.java | 25 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-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/ |
D | TypeDeclarationStmt.java | 24 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-core/src/main/java/com/github/javaparser/symbolsolver/javaparser/ |
D | Navigator.java | 52 public static Optional<TypeDeclaration<?>> findType(CompilationUnit cu, String qualifiedName) { in findType() 58 …Optional<TypeDeclaration<?>> type = cu.getTypes().stream().filter((t) -> t.getName().getId().equal… in findType() 72 … public static Optional<TypeDeclaration<?>> findType(TypeDeclaration<?> td, String qualifiedName) { in findType() 75 Optional<TypeDeclaration<?>> type = Optional.empty(); in findType() 77 … if (n instanceof TypeDeclaration && ((TypeDeclaration<?>) n).getName().getId().equals(typeName)) { in findType() 78 type = Optional.of((TypeDeclaration<?>) n); in findType() 106 Optional<TypeDeclaration<?>> res = findType(cu, qualifiedName); in demandEnum() 116 public static MethodDeclaration demandMethod(TypeDeclaration<?> cd, String name) { in demandMethod() 143 public static ConstructorDeclaration demandConstructor(TypeDeclaration<?> td, int index) { in demandConstructor()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | CompilationUnitContext.java | 23 import com.github.javaparser.ast.body.TypeDeclaration; 72 …SymbolReference<com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration> type = this… in solveSymbol() 86 …com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration importedType = typeSolver.so… in solveSymbol() 99 …com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration importedType = typeSolver.so… in solveSymbol() 111 …public SymbolReference<com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration> solv… in solveType() 113 for (TypeDeclaration<?> type : wrappedNode.getTypes()) { in solveType() 149 …lReference.adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.class); in solveType() 160 …lReference.adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.class); in solveType() 171 …lReference.adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.class); in solveType() 178 …lReference.adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.class); in solveType() [all …]
|
D | AnonymousClassDeclarationContext.java | 13 import com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration; 101 public SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType() 102 List<com.github.javaparser.ast.body.TypeDeclaration> typeDeclarations = in solveType() 104 .findMembersOfKind(com.github.javaparser.ast.body.TypeDeclaration.class); in solveType() 106 Optional<SymbolReference<TypeDeclaration>> exactMatch = in solveType() 119 Optional<SymbolReference<TypeDeclaration>> recursiveMatch = in solveType() 134 Optional<SymbolReference<TypeDeclaration>> typeArgumentsMatch = in solveType() 161 … for (TypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes()) { in solveType()
|
D | JavaParserTypeDeclarationAdapter.java | 27 private com.github.javaparser.ast.body.TypeDeclaration<?> wrappedNode; 32 …public JavaParserTypeDeclarationAdapter(com.github.javaparser.ast.body.TypeDeclaration<?> wrappedN… in JavaParserTypeDeclarationAdapter() 41 public SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType() 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() 73 … for (TypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes()) { in solveType()
|
D | AbstractMethodLikeDeclarationContext.java | 11 import com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration; 72 public final SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType() 82 … List<com.github.javaparser.ast.body.TypeDeclaration> localTypes = wrappedNode.getChildNodesByType( in solveType() 83 com.github.javaparser.ast.body.TypeDeclaration.class); in solveType() 84 for (com.github.javaparser.ast.body.TypeDeclaration<?> localType : localTypes) { in solveType()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/ |
D | CompilationUnit.java | 30 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/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparser/ |
D | Navigator.java | 48 public static Optional<TypeDeclaration<?>> findType(CompilationUnit cu, String qualifiedName) { in findType() 54 …Optional<TypeDeclaration<?>> type = cu.getTypes().stream().filter((t) -> t.getName().getId().equal… in findType() 63 … public static Optional<TypeDeclaration<?>> findType(TypeDeclaration<?> td, String qualifiedName) { in findType() 66 Optional<TypeDeclaration<?>> type = Optional.empty(); in findType() 68 … if (n instanceof TypeDeclaration && ((TypeDeclaration<?>) n).getName().getId().equals(typeName)) { in findType() 69 type = Optional.of((TypeDeclaration<?>) n); in findType() 89 Optional<TypeDeclaration<?>> res = findType(cu, qualifiedName); in demandEnum() 99 public static MethodDeclaration demandMethod(TypeDeclaration<?> cd, String name) { in demandMethod() 197 Optional<TypeDeclaration<?>> res = findType(compilationUnit, qualifiedName); in demandClassOrInterface()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/ |
D | TypeDeclaration.java | 33 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-core-testing-bdd/src/test/java/com/github/javaparser/steps/ |
D | CommentParsingSteps.java | 253 TypeDeclaration<?> classUnderTest = compilationUnit.getType(position - 1); in thenClassIsNotCommented() 259 TypeDeclaration<?> classUnderTest = compilationUnit.getType(position - 1); in thenClassIsCommented() 265 TypeDeclaration<?> classUnderTest = compilationUnit.getType(position - 1); in thenClassHasTotalContainedComments() 272 TypeDeclaration<?> classUnderTest = compilationUnit.getType(position - 1); in thenClassHasOrphanComments() 278 TypeDeclaration<?> classUnderTest = compilationUnit.getType(classPosition - 1); in thenClassOrphanCommentIs() 285 TypeDeclaration<?> classUnderTest = compilationUnit.getType(classPosition - 1); in thenMethodInClassIsCommented() 293 TypeDeclaration<?> classUnderTest = compilationUnit.getType(classPosition - 1); in thenMethodInClassHasTotalContainedComments() 301 TypeDeclaration<?> classUnderTest = compilationUnit.getType(classPosition - 1); in thenCommentInMethodInClassIs() 310 TypeDeclaration<?> classUnderTest = compilationUnit.getType(classPosition - 1); in thenMethodInClassHasOrphanComments() 318 TypeDeclaration<?> classUnderTest = compilationUnit.getType(classPosition - 1); in thenBlockStatementInMethodInClassHasTotalContainedComments() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserEnumDeclaration.txt | 1 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 …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_JavaParserTypeDeclarationAdapter.txt | 3 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 …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserInterfaceDeclaration.txt | 2 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 …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/ |
D | TypeDeclaration.java | 44 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/ |
D | AddDefaultConstructor.java | 29 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/ |
D | ShardingAnnotator.java | 35 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/ |
D | SymbolSolver.java | 30 import com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration; 74 public SymbolReference<? extends TypeDeclaration> solveType(String name, Context context) { in solveType() 78 public SymbolReference<? extends TypeDeclaration> solveType(String name, Node node) { in solveType() 94 public TypeDeclaration solveType(com.github.javaparser.ast.type.Type type) { in solveType() 100 …SymbolReference<TypeDeclaration> ref = JavaParserFactory.getContext(type, typeSolver).solveType(na… in solveType() 126 …public SymbolReference<? extends ValueDeclaration> solveSymbolInType(TypeDeclaration typeDeclarati… in solveSymbolInType() 155 …public SymbolReference<TypeDeclaration> solveTypeInType(TypeDeclaration typeDeclaration, String na… in solveTypeInType()
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
D | DexMaker.java | 199 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-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserTypeAdapter.java | 12 import com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration; 78 public SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType() 89 if (member instanceof com.github.javaparser.ast.body.TypeDeclaration) { in solveType() 90 …com.github.javaparser.ast.body.TypeDeclaration<?> internalType = (com.github.javaparser.ast.body.T… in solveType() 111 return SymbolReference.unsolved(TypeDeclaration.class); in solveType()
|
D | JavaParserFieldDeclaration.java | 26 import com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration; 115 public TypeDeclaration declaringType() { in declaringType() 116 …vaparser.ast.body.TypeDeclaration> typeDeclaration = Navigator.findAncestor(wrappedNode, com.githu… in declaringType()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/ |
D | CompilationUnit.java | 27 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() 254 public CompilationUnit setTypes(final NodeList<TypeDeclaration<?>> types) { in setTypes() 267 public CompilationUnit setType(int i, TypeDeclaration<?> type) { in setType() 268 NodeList<TypeDeclaration<?>> copy = new NodeList<>(); in setType() 275 public CompilationUnit addType(TypeDeclaration<?> type) { in addType() [all …]
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/ |
D | CloneVisitorTest.java | 61 NodeList<TypeDeclaration<?>> typeDeclarationList = new NodeList<>(); in cloneJavaDocTest() 85 NodeList<TypeDeclaration<?>> typeDeclarationListClone = cuClone.getTypes(); in cloneJavaDocTest() 86 Iterator<TypeDeclaration<?>> typeItr = typeDeclarationListClone.iterator(); in cloneJavaDocTest() 87 TypeDeclaration<?> typeDeclaration; in cloneJavaDocTest()
|