Uses of Class
com.github.javaparser.ast.type.ClassOrInterfaceType
Packages that use ClassOrInterfaceType
Package
Description
Implementation of model based on JavaParser.
-
Uses of ClassOrInterfaceType in com.github.javaparser
Fields in com.github.javaparser with type parameters of type ClassOrInterfaceTypeModifier and TypeFieldDescriptionstatic final ParseStart
<ClassOrInterfaceType> ParseStart.CLASS_OR_INTERFACE_TYPE
Methods in com.github.javaparser that return ClassOrInterfaceTypeModifier and TypeMethodDescriptionfinal ClassOrInterfaceType
GeneratedJavaParser.AnnotatedClassOrInterfaceType()
final ClassOrInterfaceType
GeneratedJavaParser.ClassOrInterfaceType
(NodeList<AnnotationExpr> firstAnnotations) final ClassOrInterfaceType
GeneratedJavaParser.ClassOrInterfaceTypeParseStart()
JavaParserAdapter.parseClassOrInterfaceType
(String type) static ClassOrInterfaceType
StaticJavaParser.parseClassOrInterfaceType
(String type) Parses a Java class or interface type name and returns aClassOrInterfaceType
that represents it.Methods in com.github.javaparser that return types with arguments of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionfinal NodeList
<ClassOrInterfaceType> GeneratedJavaParser.ExtendsList()
https://docs.oracle.com/javase/specs/jls/se15/html/jls-8.html#jls-8.1.4final NodeList
<ClassOrInterfaceType> GeneratedJavaParser.ImplementsList()
https://docs.oracle.com/javase/specs/jls/se15/html/jls-8.html#jls-8.1.5JavaParser.parseClassOrInterfaceType
(String type) Parses a Java class or interface type name and returns aClassOrInterfaceType
that represents it.final NodeList
<ClassOrInterfaceType> GeneratedJavaParser.PermitsList()
https://docs.oracle.com/javase/specs/jls/se15/html/jls-8.html#jls-8.1.5final NodeList
<ClassOrInterfaceType> GeneratedJavaParser.TypeBound()
https://docs.oracle.com/javase/specs/jls/se15/html/jls-4.html#jls-4.4 -
Uses of ClassOrInterfaceType in com.github.javaparser.ast.body
Fields in com.github.javaparser.ast.body with type parameters of type ClassOrInterfaceTypeModifier and TypeFieldDescriptionprivate NodeList
<ClassOrInterfaceType> ClassOrInterfaceDeclaration.extendedTypes
private NodeList
<ClassOrInterfaceType> ClassOrInterfaceDeclaration.implementedTypes
private NodeList
<ClassOrInterfaceType> EnumDeclaration.implementedTypes
private NodeList
<ClassOrInterfaceType> RecordDeclaration.implementedTypes
private NodeList
<ClassOrInterfaceType> ClassOrInterfaceDeclaration.permittedTypes
Methods in com.github.javaparser.ast.body that return types with arguments of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionClassOrInterfaceDeclaration.getExtendedTypes()
ClassOrInterfaceDeclaration.getImplementedTypes()
EnumDeclaration.getImplementedTypes()
RecordDeclaration.getImplementedTypes()
ClassOrInterfaceDeclaration.getPermittedTypes()
Method parameters in com.github.javaparser.ast.body with type arguments of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionClassOrInterfaceDeclaration.setExtendedTypes
(NodeList<ClassOrInterfaceType> extendedTypes) ClassOrInterfaceDeclaration.setImplementedTypes
(NodeList<ClassOrInterfaceType> implementedTypes) EnumDeclaration.setImplementedTypes
(NodeList<ClassOrInterfaceType> implementedTypes) RecordDeclaration.setImplementedTypes
(NodeList<ClassOrInterfaceType> implementedTypes) ClassOrInterfaceDeclaration.setPermittedTypes
(NodeList<ClassOrInterfaceType> permittedTypes) -
Uses of ClassOrInterfaceType in com.github.javaparser.ast.expr
Fields in com.github.javaparser.ast.expr declared as ClassOrInterfaceTypeMethods in com.github.javaparser.ast.expr that return ClassOrInterfaceTypeMethods in com.github.javaparser.ast.expr with parameters of type ClassOrInterfaceTypeConstructors in com.github.javaparser.ast.expr with parameters of type ClassOrInterfaceTypeModifierConstructorDescriptionObjectCreationExpr
(Expression scope, ClassOrInterfaceType type, NodeList<Expression> arguments) Defines a call to a constructor.ObjectCreationExpr
(Expression scope, ClassOrInterfaceType type, NodeList<Type> typeArguments, NodeList<Expression> arguments, NodeList<BodyDeclaration<?>> anonymousClassBody) ObjectCreationExpr
(TokenRange tokenRange, Expression scope, ClassOrInterfaceType type, NodeList<Type> typeArguments, NodeList<Expression> arguments, NodeList<BodyDeclaration<?>> anonymousClassBody) This constructor is used by the parser and is considered private. -
Uses of ClassOrInterfaceType in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return ClassOrInterfaceTypeModifier and TypeMethodDescriptiondefault ClassOrInterfaceType
NodeWithExtends.getExtendedTypes
(int i) default ClassOrInterfaceType
NodeWithImplements.getImplementedTypes
(int i) Methods in com.github.javaparser.ast.nodeTypes that return types with arguments of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionNodeWithExtends.getExtendedTypes()
NodeWithImplements.getImplementedTypes()
Methods in com.github.javaparser.ast.nodeTypes with parameters of type ClassOrInterfaceTypeModifier and TypeMethodDescriptiondefault N
NodeWithExtends.addExtendedType
(ClassOrInterfaceType extend) default N
NodeWithImplements.addImplementedType
(ClassOrInterfaceType implement) default N
NodeWithExtends.setExtendedType
(int i, ClassOrInterfaceType extend) default N
NodeWithImplements.setImplementedType
(int i, ClassOrInterfaceType implement) Method parameters in com.github.javaparser.ast.nodeTypes with type arguments of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionNodeWithExtends.setExtendedTypes
(NodeList<ClassOrInterfaceType> extendsList) NodeWithImplements.setImplementedTypes
(NodeList<ClassOrInterfaceType> implementsList) -
Uses of ClassOrInterfaceType in com.github.javaparser.ast.stmt
Constructors in com.github.javaparser.ast.stmt with parameters of type ClassOrInterfaceTypeModifierConstructorDescriptionCatchClause
(NodeList<Modifier> exceptModifier, NodeList<AnnotationExpr> exceptAnnotations, ClassOrInterfaceType exceptType, SimpleName exceptName, BlockStmt body) -
Uses of ClassOrInterfaceType in com.github.javaparser.ast.type
Fields in com.github.javaparser.ast.type declared as ClassOrInterfaceTypeFields in com.github.javaparser.ast.type with type parameters of type ClassOrInterfaceTypeMethods in com.github.javaparser.ast.type that return ClassOrInterfaceTypeModifier and TypeMethodDescriptionClassOrInterfaceType.asClassOrInterfaceType()
Type.asClassOrInterfaceType()
ClassOrInterfaceType.clone()
ClassOrInterfaceType.removeScope()
ClassOrInterfaceType.setAnnotations
(NodeList<AnnotationExpr> annotations) ClassOrInterfaceType.setName
(SimpleName name) ClassOrInterfaceType.setScope
(ClassOrInterfaceType scope) Sets the scopeClassOrInterfaceType.setTypeArguments
(NodeList<Type> typeArguments) Sets the typeArgumentsPrimitiveType.Primitive.toBoxedType()
PrimitiveType.toBoxedType()
Methods in com.github.javaparser.ast.type that return types with arguments of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionClassOrInterfaceType.getScope()
TypeParameter.getTypeBound()
Return the list ofClassOrInterfaceType
that this parameter extends.ClassOrInterfaceType.toClassOrInterfaceType()
Type.toClassOrInterfaceType()
Methods in com.github.javaparser.ast.type with parameters of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionClassOrInterfaceType.setScope
(ClassOrInterfaceType scope) Sets the scopeMethod parameters in com.github.javaparser.ast.type with type arguments of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionvoid
ClassOrInterfaceType.ifClassOrInterfaceType
(Consumer<ClassOrInterfaceType> action) void
Type.ifClassOrInterfaceType
(Consumer<ClassOrInterfaceType> action) TypeParameter.setTypeBound
(NodeList<ClassOrInterfaceType> typeBound) Constructors in com.github.javaparser.ast.type with parameters of type ClassOrInterfaceTypeModifierConstructorDescriptionClassOrInterfaceType
(ClassOrInterfaceType scope, SimpleName name, NodeList<Type> typeArguments) ClassOrInterfaceType
(ClassOrInterfaceType scope, SimpleName name, NodeList<Type> typeArguments, NodeList<AnnotationExpr> annotations) ClassOrInterfaceType
(ClassOrInterfaceType scope, String name) ClassOrInterfaceType
(TokenRange tokenRange, ClassOrInterfaceType scope, SimpleName name, NodeList<Type> typeArguments, NodeList<AnnotationExpr> annotations) This constructor is used by the parser and is considered private.Constructor parameters in com.github.javaparser.ast.type with type arguments of type ClassOrInterfaceTypeModifierConstructorDescriptionTypeParameter
(SimpleName name, NodeList<ClassOrInterfaceType> typeBound, NodeList<AnnotationExpr> annotations) TypeParameter
(TokenRange tokenRange, SimpleName name, NodeList<ClassOrInterfaceType> typeBound, NodeList<AnnotationExpr> annotations) This constructor is used by the parser and is considered private.TypeParameter
(String name, NodeList<ClassOrInterfaceType> typeBound) -
Uses of ClassOrInterfaceType in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionCloneVisitor.visit
(ClassOrInterfaceType n, Object arg) EqualsVisitor.visit
(ClassOrInterfaceType n, Visitable arg) GenericListVisitorAdapter.visit
(ClassOrInterfaceType n, A arg) GenericVisitor.visit
(ClassOrInterfaceType n, A arg) GenericVisitorAdapter.visit
(ClassOrInterfaceType n, A arg) GenericVisitorWithDefaults.visit
(ClassOrInterfaceType n, A arg) HashCodeVisitor.visit
(ClassOrInterfaceType n, Void arg) ModifierVisitor.visit
(ClassOrInterfaceType n, A arg) NoCommentEqualsVisitor.visit
(ClassOrInterfaceType n, Visitable arg) NoCommentHashCodeVisitor.visit
(ClassOrInterfaceType n, Void arg) void
NodeFinderVisitor.visit
(ClassOrInterfaceType n, Range arg) ObjectIdentityEqualsVisitor.visit
(ClassOrInterfaceType n, Visitable arg) ObjectIdentityHashCodeVisitor.visit
(ClassOrInterfaceType n, Void arg) void
VoidVisitor.visit
(ClassOrInterfaceType n, A arg) void
VoidVisitorAdapter.visit
(ClassOrInterfaceType n, A arg) void
VoidVisitorWithDefaults.visit
(ClassOrInterfaceType n, A arg) -
Uses of ClassOrInterfaceType in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionvoid
DefaultPrettyPrinterVisitor.visit
(ClassOrInterfaceType n, Void arg) void
PrettyPrintVisitor.visit
(ClassOrInterfaceType n, Void arg) Deprecated. -
Uses of ClassOrInterfaceType in com.github.javaparser.symbolsolver.javaparsermodel
Methods in com.github.javaparser.symbolsolver.javaparsermodel with parameters of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionDefaultVisitorAdapter.visit
(ClassOrInterfaceType node, Boolean aBoolean) -
Uses of ClassOrInterfaceType in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Methods in com.github.javaparser.symbolsolver.javaparsermodel.contexts with parameters of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionprivate String
CompilationUnitContext.qName
(ClassOrInterfaceType type) -
Uses of ClassOrInterfaceType in com.github.javaparser.symbolsolver.javaparsermodel.declarations
Methods in com.github.javaparser.symbolsolver.javaparsermodel.declarations with parameters of type ClassOrInterfaceTypeModifier and TypeMethodDescriptionJavaParserTypeParameter.toBound
(ClassOrInterfaceType classOrInterfaceType, TypeSolver typeSolver) private ResolvedReferenceType
JavaParserClassDeclaration.toReferenceType
(ClassOrInterfaceType classOrInterfaceType) private ResolvedReferenceType
JavaParserEnumDeclaration.toReferenceType
(ClassOrInterfaceType classOrInterfaceType) private ResolvedReferenceType
JavaParserInterfaceDeclaration.toReferenceType
(ClassOrInterfaceType classOrInterfaceType) private ResolvedReferenceType
JavaParserRecordDeclaration.toReferenceType
(ClassOrInterfaceType classOrInterfaceType)