Home
last modified time | relevance | path

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

12

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithExtends.java34 NodeList<ClassOrInterfaceType> getExtendedTypes(); in getExtendedTypes() method
38 default ClassOrInterfaceType getExtendedTypes(int i) { in getExtendedTypes() method
39 return getExtendedTypes().get(i); in getExtendedTypes()
46 getExtendedTypes().set(i, extend); in setExtendedType()
52 getExtendedTypes().add(extend); in addExtendedType()
89 getExtendedTypes().add(parseClassOrInterfaceType(name)); in addExtendedType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DDefaultPackageTest.java133 …ClassOrInterfaceType jpType = JavaParser.parse(code).getClassByName("A").get().getExtendedTypes(0); in aClassInDefaultPackageCanBeAccessedFromTheDefaultPackage()
144 …ClassOrInterfaceType jpType = JavaParser.parse(code).getClassByName("A").get().getExtendedTypes(0); in aClassInDefaultPackageCanBeAccessedFromOutsideTheDefaultPackageImportingIt()
155 …ryTypeSolver).convertToUsage(JavaParser.parse(code).getClassByName("A").get().getExtendedTypes(0)); in aClassInDefaultPackageCanBeAccessedFromOutsideTheDefaultPackageWithoutImportingIt()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
DClassOrInterfaceDeclarationBuildersTest.java56 assertEquals(1, testClass.getExtendedTypes().size()); in testAddExtends()
57 assertEquals(List.class.getSimpleName(), testClass.getExtendedTypes(0).getNameAsString()); in testAddExtends()
/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_JavaParserInterfaceDeclaration.txt34 …Line 163) this.wrappedNode.getExtendedTypes() ==> com.github.javaparser.ast.body.ClassOrInterfaceD…
35 …Line 164) wrappedNode.getExtendedTypes() ==> com.github.javaparser.ast.body.ClassOrInterfaceDeclar…
71 …Line 239) wrappedNode.getExtendedTypes() ==> com.github.javaparser.ast.body.ClassOrInterfaceDeclar…
72 …Line 240) wrappedNode.getExtendedTypes() ==> com.github.javaparser.ast.body.ClassOrInterfaceDeclar…
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt43 …Line 166) JavaParserFacade.get(typeSolver).convert(classNode.getExtendedTypes(0), classNode) ==> U…
45 …Line 166) classNode.getExtendedTypes(0) ==> com.github.javaparser.ast.nodeTypes.NodeWithExtends.ge…
207 Line 459) wildcardType.getExtendedTypes().isPresent() ==> java.util.Optional.isPresent()
208 …Line 459) wildcardType.getExtendedTypes() ==> com.github.javaparser.ast.type.WildcardType.getExten…
211 …Line 460) Wildcard.extendsBound(convertToUsage(wildcardType.getExtendedTypes().get(), context)) ==…
212 …Line 460) convertToUsage(wildcardType.getExtendedTypes().get(), context) ==> com.github.javaparser…
213 Line 460) wildcardType.getExtendedTypes().get() ==> java.util.Optional.get()
214 …Line 460) wildcardType.getExtendedTypes() ==> com.github.javaparser.ast.type.WildcardType.getExten…
215 Line 461) wildcardType.getExtendedTypes().isPresent() ==> java.util.Optional.isPresent()
216 …Line 461) wildcardType.getExtendedTypes() ==> com.github.javaparser.ast.type.WildcardType.getExten…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserClassDeclaration.txt28 …Line 152) wrappedNode.getExtendedTypes().isEmpty() ==> com.github.javaparser.ast.NodeList.isEmpty()
29 …Line 152) wrappedNode.getExtendedTypes() ==> com.github.javaparser.ast.body.ClassOrInterfaceDeclar…
31 …Line 155) toReferenceType(wrappedNode.getExtendedTypes().get(0)) ==> com.github.javaparser.symbols…
32 Line 155) wrappedNode.getExtendedTypes().get(0) ==> com.github.javaparser.ast.NodeList.get(int)
33 …Line 155) wrappedNode.getExtendedTypes() ==> com.github.javaparser.ast.body.ClassOrInterfaceDeclar…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserClassDeclaration_J9.txt28 …Line 152) wrappedNode.getExtendedTypes().isEmpty() ==> com.github.javaparser.ast.NodeList.isEmpty()
29 …Line 152) wrappedNode.getExtendedTypes() ==> com.github.javaparser.ast.body.ClassOrInterfaceDeclar…
31 …Line 155) toReferenceType(wrappedNode.getExtendedTypes().get(0)) ==> com.github.javaparser.symbols…
32 Line 155) wrappedNode.getExtendedTypes().get(0) ==> com.github.javaparser.ast.NodeList.get(int)
33 …Line 155) wrappedNode.getExtendedTypes() ==> com.github.javaparser.ast.body.ClassOrInterfaceDeclar…
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/chunks/
DCommonValidators.java23 n -> !n.isInterface() && n.getExtendedTypes().size() > 1, in CommonValidators()
24 …(n, reporter) -> reporter.report(n.getExtendedTypes(1), "A class cannot extend more than one other… in CommonValidators()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserInterfaceDeclaration.java163 if (this.wrappedNode.getExtendedTypes() != null) { in canBeAssignedTo()
164 for (ClassOrInterfaceType type : wrappedNode.getExtendedTypes()) { in canBeAssignedTo()
255 if (wrappedNode.getExtendedTypes() != null) { in getAncestors()
256 for (ClassOrInterfaceType extended : wrappedNode.getExtendedTypes()) { in getAncestors()
DJavaParserClassDeclaration.java163 if (wrappedNode.getExtendedTypes().isEmpty()) { in getSuperClass()
166 return toReferenceType(wrappedNode.getExtendedTypes().get(0)); in getSuperClass()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/
DClassOrInterfaceDeclarationTransformationsTest.java110 cid.getExtendedTypes().remove(0); in removingExtendedTypes()
117 cid.getExtendedTypes().set(0, parseClassOrInterfaceType("Bar")); in replacingExtendedTypes()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DExpandedNameTable.java365 public ExtendedType[] getExtendedTypes() in getExtendedTypes() method in ExpandedNameTable
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DWildcardType.java110 public Optional<ReferenceType> getExtendedTypes() { in getExtendedTypes() method in WildcardType
/external/javaparser/javaparser-testing/src/test/test_sourcecode/com/github/javaparser/printer/
DPrettyPrintVisitor.java228 if (!n.getExtendedTypes().isEmpty()) { in visit()
230 … for (final Iterator<ClassOrInterfaceType> i = n.getExtendedTypes().iterator(); i.hasNext(); ) { in visit()
380 if (n.getExtendedTypes().isPresent()) { in visit()
382 n.getExtendedTypes().get().accept(this, arg); in visit()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DClassOrInterfaceDeclaration.java109 public NodeList<ClassOrInterfaceType> getExtendedTypes() { in getExtendedTypes() method in ClassOrInterfaceDeclaration
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/printer/
DPrettyPrintVisitor_prettyprinted215 if (!n.getExtendedTypes().isEmpty()) {
217 … for (final Iterator<ClassOrInterfaceType> i = n.getExtendedTypes().iterator(); i.hasNext(); ) {
359 if (n.getExtendedTypes().isPresent()) {
361 n.getExtendedTypes().get().accept(this, arg);
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DNoCommentEqualsVisitor.java147 if (!nodesEquals(n.getExtendedTypes(), n2.getExtendedTypes())) in visit()
DEqualsVisitor.java204 if (!nodesEquals(n.getExtendedTypes(), n2.getExtendedTypes())) in visit()
DNoCommentHashCodeVisitor.java134 …return (n.getExtendedTypes().accept(this, arg)) * 31 + (n.getImplementedTypes().accept(this, arg))… in visit()
DHashCodeVisitor.java142 …return (n.getExtendedTypes().accept(this, arg)) * 31 + (n.getImplementedTypes().accept(this, arg))… in visit()
DVoidVisitorAdapter.java167 n.getExtendedTypes().forEach(p -> p.accept(this, arg)); in visit()
DCloneVisitor.java95 NodeList<ClassOrInterfaceType> extendedTypes = cloneList(n.getExtendedTypes(), arg); in visit()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java152 …Type classDecl = JavaParserFacade.get(typeSolver).convert(classNode.getExtendedTypes(0), classNode… in solve()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DPrettyPrintVisitor.java289 if (!n.getExtendedTypes().isEmpty()) { in visit()
291 … for (final Iterator<ClassOrInterfaceType> i = n.getExtendedTypes().iterator(); i.hasNext(); ) { in visit()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
DSAX2DTM2.java2314 m_extendedTypes = m_expandedNameTable.getExtendedTypes(); in endDocument()

12