Home
last modified time | relevance | path

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

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/
DNodeWithExtends.java32 ClassOrInterfaceType classOrInterfaceType = new ClassOrInterfaceType(name); in addExtends() local
33 getExtends().add(classOrInterfaceType); in addExtends()
34 classOrInterfaceType.setParentNode((Node) this); in addExtends()
DNodeWithImplements.java21 ClassOrInterfaceType classOrInterfaceType = new ClassOrInterfaceType(name); in addImplements() local
22 getImplements().add(classOrInterfaceType); in addImplements()
23 classOrInterfaceType.setParentNode((Node) this); in addImplements()
DNodeWithType.java65 ClassOrInterfaceType classOrInterfaceType = new ClassOrInterfaceType(type); in setType() local
66 return setType(classOrInterfaceType); in setType()
DNodeWithElementType.java70 ClassOrInterfaceType classOrInterfaceType = new ClassOrInterfaceType(type); in setElementType() local
71 return setElementType(classOrInterfaceType); in setElementType()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserClassDeclaration.java407 private ResolvedReferenceType toReferenceType(ClassOrInterfaceType classOrInterfaceType) { in toReferenceType() argument
408 String className = classOrInterfaceType.getName().getId(); in toReferenceType()
409 if (classOrInterfaceType.getScope().isPresent()) { in toReferenceType()
411 className = classOrInterfaceType.getScope().get().toString() + "." + className; in toReferenceType()
415 Optional<ClassOrInterfaceType> localScope = classOrInterfaceType.getScope(); in toReferenceType()
417 …String localName = localScope.get().getName().getId() + "." + classOrInterfaceType.getName().getId… in toReferenceType()
422 throw new UnsolvedSymbolException(classOrInterfaceType.getName().getId()); in toReferenceType()
424 if (!classOrInterfaceType.getTypeArguments().isPresent()) { in toReferenceType()
427 List<ResolvedType> superClassTypeParameters = classOrInterfaceType.getTypeArguments().get() in toReferenceType()
DJavaParserInterfaceDeclaration.java354 private ResolvedReferenceType toReferenceType(ClassOrInterfaceType classOrInterfaceType) { in toReferenceType() argument
356 String typeName = classOrInterfaceType.getName().getId(); in toReferenceType()
357 if (classOrInterfaceType.getScope().isPresent()) { in toReferenceType()
358 typeName = classOrInterfaceType.getScope().get().asString() + "." + typeName; in toReferenceType()
368 throw new UnsolvedSymbolException(classOrInterfaceType.getName().getId()); in toReferenceType()
370 if (!classOrInterfaceType.getTypeArguments().isPresent()) { in toReferenceType()
373 List<ResolvedType> superClassTypeParameters = classOrInterfaceType.getTypeArguments().get() in toReferenceType()
DJavaParserEnumDeclaration.java242 private ResolvedReferenceType toReferenceType(ClassOrInterfaceType classOrInterfaceType) { in toReferenceType() argument
243 String className = classOrInterfaceType.getName().getId(); in toReferenceType()
244 if (classOrInterfaceType.getScope().isPresent()) { in toReferenceType()
246 className = classOrInterfaceType.getScope().get().toString() + "." + className; in toReferenceType()
250 throw new UnsolvedSymbolException(classOrInterfaceType.getName().getId()); in toReferenceType()
252 if (!classOrInterfaceType.getTypeArguments().isPresent()) { in toReferenceType()
255 List<ResolvedType> superClassTypeParameters = classOrInterfaceType.getTypeArguments().get() in toReferenceType()
DJavaParserTypeParameter.java148 private Bound toBound(ClassOrInterfaceType classOrInterfaceType, TypeSolver typeSolver) { in toBound() argument
149 …type = JavaParserFacade.get(typeSolver).convertToUsage(classOrInterfaceType, classOrInterfaceType); in toBound()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserInterfaceDeclaration.txt93 Line 299) classOrInterfaceType.toString().indexOf('.') ==> java.lang.String.indexOf(int)
94 Line 299) classOrInterfaceType.toString() ==> com.github.javaparser.ast.Node.toString()
95 …Line 300) typeSolver.tryToSolveType(classOrInterfaceType.toString()) ==> com.github.javaparser.sym…
96 Line 300) classOrInterfaceType.toString() ==> com.github.javaparser.ast.Node.toString()
98 …Line 303) solveType(classOrInterfaceType.toString(), typeSolver) ==> com.github.javaparser.symbols…
99 Line 303) classOrInterfaceType.toString() ==> com.github.javaparser.ast.Node.toString()
101 …Line 306) solveType(classOrInterfaceType.getName().getId(), typeSolver) ==> com.github.javaparser.…
102 …Line 306) classOrInterfaceType.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithI…
103 …Line 306) classOrInterfaceType.getName() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.g…
105 …Line 309) classOrInterfaceType.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithI…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserClassDeclaration_J9.txt106 …Line 357) classOrInterfaceType.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithI…
107 …Line 357) classOrInterfaceType.getName() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.g…
108 Line 358) classOrInterfaceType.getScope().isPresent() ==> java.util.Optional.isPresent()
109 …Line 358) classOrInterfaceType.getScope() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.…
110 …Line 360) classOrInterfaceType.getScope().get().toString() ==> com.github.javaparser.ast.Node.toSt…
111 Line 360) classOrInterfaceType.getScope().get() ==> java.util.Optional.get()
112 …Line 360) classOrInterfaceType.getScope() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.…
115 …Line 364) classOrInterfaceType.getScope() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.…
120 …Line 366) classOrInterfaceType.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithI…
121 …Line 366) classOrInterfaceType.getName() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.g…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserClassDeclaration.txt106 …Line 357) classOrInterfaceType.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithI…
107 …Line 357) classOrInterfaceType.getName() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.g…
108 Line 358) classOrInterfaceType.getScope().isPresent() ==> java.util.Optional.isPresent()
109 …Line 358) classOrInterfaceType.getScope() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.…
110 …Line 360) classOrInterfaceType.getScope().get().toString() ==> com.github.javaparser.ast.Node.toSt…
111 Line 360) classOrInterfaceType.getScope().get() ==> java.util.Optional.get()
112 …Line 360) classOrInterfaceType.getScope() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.…
115 …Line 364) classOrInterfaceType.getScope() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.…
120 …Line 366) classOrInterfaceType.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithI…
121 …Line 366) classOrInterfaceType.getName() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.g…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt152 …Line 358) JavaParserFactory.getContext(classOrInterfaceType, typeSolver).solveType(classOrInterfac…
153 …Line 358) JavaParserFactory.getContext(classOrInterfaceType, typeSolver) ==> com.github.javaparser…
154 …Line 358) classOrInterfaceType.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithI…
155 …Line 358) classOrInterfaceType.getName() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.g…
181 …Line 424) classOrInterfaceType.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithI…
182 …Line 424) classOrInterfaceType.getName() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.g…
183 Line 425) classOrInterfaceType.getScope().isPresent() ==> java.util.Optional.isPresent()
184 …Line 425) classOrInterfaceType.getScope() ==> com.github.javaparser.ast.type.ClassOrInterfaceType.…
185 …Line 426) qName(classOrInterfaceType.getScope().get()) ==> com.github.javaparser.symbolsolver.java…
186 Line 426) classOrInterfaceType.getScope().get() ==> java.util.Optional.get()
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserTypeParameter.txt37 …e 149) JavaParserFacade.get(typeSolver).convertToUsage(classOrInterfaceType, classOrInterfaceType)…
/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/
DJavaParserInterfaceDeclaration.java297 private ReferenceType toReferenceType(ClassOrInterfaceType classOrInterfaceType) { in toReferenceType() argument
299 if (classOrInterfaceType.toString().indexOf('.') > -1) { in toReferenceType()
300 ref = typeSolver.tryToSolveType(classOrInterfaceType.toString()); in toReferenceType()
303 ref = solveType(classOrInterfaceType.toString(), typeSolver); in toReferenceType()
306 ref = solveType(classOrInterfaceType.getName().getId(), typeSolver); in toReferenceType()
309 throw new UnsolvedSymbolException(classOrInterfaceType.getName().getId()); in toReferenceType()
311 if (!classOrInterfaceType.getTypeArguments().isPresent()) { in toReferenceType()
314 List<Type> superClassTypeParameters = classOrInterfaceType.getTypeArguments().get() in toReferenceType()
DJavaParserClassDeclaration.java356 private ReferenceType toReferenceType(ClassOrInterfaceType classOrInterfaceType) { in toReferenceType() argument
357 String className = classOrInterfaceType.getName().getId(); in toReferenceType()
358 if (classOrInterfaceType.getScope().isPresent()) { in toReferenceType()
360 className = classOrInterfaceType.getScope().get().toString() + "." + className; in toReferenceType()
364 Optional<ClassOrInterfaceType> localScope = classOrInterfaceType.getScope(); in toReferenceType()
366 …String localName = localScope.get().getName().getId() + "." + classOrInterfaceType.getName().getId… in toReferenceType()
371 throw new UnsolvedSymbolException(classOrInterfaceType.getName().getId()); in toReferenceType()
373 if (!classOrInterfaceType.getTypeArguments().isPresent()) { in toReferenceType()
376 List<Type> superClassTypeParameters = classOrInterfaceType.getTypeArguments().get() in toReferenceType()
DJavaParserTypeParameter.java148 private Bound toBound(ClassOrInterfaceType classOrInterfaceType, TypeSolver typeSolver) { in toBound() argument
149 …type = JavaParserFacade.get(typeSolver).convertToUsage(classOrInterfaceType, classOrInterfaceType); in toBound()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java357 ClassOrInterfaceType classOrInterfaceType = (ClassOrInterfaceType) typeExpr.getType(); in toMethodUsage() local
358 …bolReference = JavaParserFactory.getContext(classOrInterfaceType, typeSolver).solveType(classOrInt… in toMethodUsage()
423 private String qName(ClassOrInterfaceType classOrInterfaceType) { in qName() argument
424 String name = classOrInterfaceType.getName().getId(); in qName()
425 if (classOrInterfaceType.getScope().isPresent()) { in qName()
426 return qName(classOrInterfaceType.getScope().get()) + "." + name; in qName()
434 ClassOrInterfaceType classOrInterfaceType = (ClassOrInterfaceType) type; in convertToUsage() local
435 String name = qName(classOrInterfaceType); in convertToUsage()
442 if (classOrInterfaceType.getTypeArguments().isPresent()) { in convertToUsage()
443 …typeParameters = classOrInterfaceType.getTypeArguments().get().stream().map((pt) -> convertToUsage… in convertToUsage()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_nodeTypes_NodeWithImplements.txt1 Line 22) getImplements().add(classOrInterfaceType) ==> java.util.List.add(E)
3 …Line 23) classOrInterfaceType.setParentNode((Node) this) ==> com.github.javaparser.ast.Node.setPar…
Dcom_github_javaparser_ast_nodeTypes_NodeWithExtends.txt4 Line 33) getExtends().add(classOrInterfaceType) ==> java.util.List.add(E)
6 …Line 34) classOrInterfaceType.setParentNode((Node) this) ==> com.github.javaparser.ast.Node.setPar…
Dcom_github_javaparser_ast_nodeTypes_NodeWithElementType.txt4 …Line 71) setElementType(classOrInterfaceType) ==> com.github.javaparser.ast.nodeTypes.NodeWithElem…
Dcom_github_javaparser_ast_nodeTypes_NodeWithType.txt4 …Line 66) setType(classOrInterfaceType) ==> com.github.javaparser.ast.nodeTypes.NodeWithType.setTyp…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java365 ClassOrInterfaceType classOrInterfaceType = (ClassOrInterfaceType) typeExpr.getType(); in toMethodUsage() local
366 …bolReference = JavaParserFactory.getContext(classOrInterfaceType, typeSolver).solveType(classOrInt… in toMethodUsage()
492 private String qName(ClassOrInterfaceType classOrInterfaceType) { in qName() argument
493 String name = classOrInterfaceType.getName().getId(); in qName()
494 if (classOrInterfaceType.getScope().isPresent()) { in qName()
495 return qName(classOrInterfaceType.getScope().get()) + "." + name; in qName()
505 ClassOrInterfaceType classOrInterfaceType = (ClassOrInterfaceType) type; in convertToUsage() local
506 String name = qName(classOrInterfaceType); in convertToUsage()
513 if (classOrInterfaceType.getTypeArguments().isPresent()) { in convertToUsage()
514 …typeParameters = classOrInterfaceType.getTypeArguments().get().stream().map((pt) -> convertToUsage… in convertToUsage()
/external/doclava/src/com/google/doclava/parser/
DJava.g225 * Changed type to use classOrInterfaceType, thus simplifying it; of course
226 * I then had to add classOrInterfaceType, but it is used in several
603 : classOrInterfaceType
612 classOrInterfaceType
1161 : 'new' nonWildcardTypeArguments classOrInterfaceType classCreatorRest
1162 | 'new' classOrInterfaceType classCreatorRest
1200 : classOrInterfaceType
DJavaParser.java4468 classOrInterfaceType(); in type()
4591 public final void classOrInterfaceType() throws RecognitionException { in classOrInterfaceType() method in JavaParser
12164 classOrInterfaceType(); in creator()
12186 classOrInterfaceType(); in creator()
12766 classOrInterfaceType(); in createdName()
15086 classOrInterfaceType(); in synpred236_Java_fragment()
15112 classOrInterfaceType(); in synpred237_Java_fragment()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
Djavaparser-core-3.0.0-alpha.2.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/github/ com/ ...