Searched refs:classOrInterfaceType (Results 1 – 25 of 25) sorted by relevance
32 ClassOrInterfaceType classOrInterfaceType = new ClassOrInterfaceType(name); in addExtends() local33 getExtends().add(classOrInterfaceType); in addExtends()34 classOrInterfaceType.setParentNode((Node) this); in addExtends()
21 ClassOrInterfaceType classOrInterfaceType = new ClassOrInterfaceType(name); in addImplements() local22 getImplements().add(classOrInterfaceType); in addImplements()23 classOrInterfaceType.setParentNode((Node) this); in addImplements()
65 ClassOrInterfaceType classOrInterfaceType = new ClassOrInterfaceType(type); in setType() local66 return setType(classOrInterfaceType); in setType()
70 ClassOrInterfaceType classOrInterfaceType = new ClassOrInterfaceType(type); in setElementType() local71 return setElementType(classOrInterfaceType); in setElementType()
407 private ResolvedReferenceType toReferenceType(ClassOrInterfaceType classOrInterfaceType) { in toReferenceType() argument408 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()
354 private ResolvedReferenceType toReferenceType(ClassOrInterfaceType classOrInterfaceType) { in toReferenceType() argument356 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()
242 private ResolvedReferenceType toReferenceType(ClassOrInterfaceType classOrInterfaceType) { in toReferenceType() argument243 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()
148 private Bound toBound(ClassOrInterfaceType classOrInterfaceType, TypeSolver typeSolver) { in toBound() argument149 …type = JavaParserFacade.get(typeSolver).convertToUsage(classOrInterfaceType, classOrInterfaceType); in toBound()
93 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 …]
106 …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 …]
152 …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 …]
37 …e 149) JavaParserFacade.get(typeSolver).convertToUsage(classOrInterfaceType, classOrInterfaceType)…
297 private ReferenceType toReferenceType(ClassOrInterfaceType classOrInterfaceType) { in toReferenceType() argument299 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()
356 private ReferenceType toReferenceType(ClassOrInterfaceType classOrInterfaceType) { in toReferenceType() argument357 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()
357 ClassOrInterfaceType classOrInterfaceType = (ClassOrInterfaceType) typeExpr.getType(); in toMethodUsage() local358 …bolReference = JavaParserFactory.getContext(classOrInterfaceType, typeSolver).solveType(classOrInt… in toMethodUsage()423 private String qName(ClassOrInterfaceType classOrInterfaceType) { in qName() argument424 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() local435 String name = qName(classOrInterfaceType); in convertToUsage()442 if (classOrInterfaceType.getTypeArguments().isPresent()) { in convertToUsage()443 …typeParameters = classOrInterfaceType.getTypeArguments().get().stream().map((pt) -> convertToUsage… in convertToUsage()
1 Line 22) getImplements().add(classOrInterfaceType) ==> java.util.List.add(E)3 …Line 23) classOrInterfaceType.setParentNode((Node) this) ==> com.github.javaparser.ast.Node.setPar…
4 Line 33) getExtends().add(classOrInterfaceType) ==> java.util.List.add(E)6 …Line 34) classOrInterfaceType.setParentNode((Node) this) ==> com.github.javaparser.ast.Node.setPar…
4 …Line 71) setElementType(classOrInterfaceType) ==> com.github.javaparser.ast.nodeTypes.NodeWithElem…
4 …Line 66) setType(classOrInterfaceType) ==> com.github.javaparser.ast.nodeTypes.NodeWithType.setTyp…
365 ClassOrInterfaceType classOrInterfaceType = (ClassOrInterfaceType) typeExpr.getType(); in toMethodUsage() local366 …bolReference = JavaParserFactory.getContext(classOrInterfaceType, typeSolver).solveType(classOrInt… in toMethodUsage()492 private String qName(ClassOrInterfaceType classOrInterfaceType) { in qName() argument493 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() local506 String name = qName(classOrInterfaceType); in convertToUsage()513 if (classOrInterfaceType.getTypeArguments().isPresent()) { in convertToUsage()514 …typeParameters = classOrInterfaceType.getTypeArguments().get().stream().map((pt) -> convertToUsage… in convertToUsage()
225 * Changed type to use classOrInterfaceType, thus simplifying it; of course226 * I then had to add classOrInterfaceType, but it is used in several603 : classOrInterfaceType612 classOrInterfaceType1161 : 'new' nonWildcardTypeArguments classOrInterfaceType classCreatorRest1162 | 'new' classOrInterfaceType classCreatorRest1200 : classOrInterfaceType
4468 classOrInterfaceType(); in type()4591 public final void classOrInterfaceType() throws RecognitionException { in classOrInterfaceType() method in JavaParser12164 classOrInterfaceType(); in creator()12186 classOrInterfaceType(); in creator()12766 classOrInterfaceType(); in createdName()15086 classOrInterfaceType(); in synpred236_Java_fragment()15112 classOrInterfaceType(); in synpred237_Java_fragment()
META-INF/MANIFEST.MF META-INF/ com/ com/github/ com/ ...