| Modifier and Type | Field and Description |
|---|---|
static ParseStart<ClassOrInterfaceType> |
ParseStart.CLASS_OR_INTERFACE_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static ClassOrInterfaceType |
JavaParser.parseClassOrInterfaceType(String type)
Parses a Java type name and returns a
ClassOrInterfaceType that represents it. |
| Modifier and Type | Method and Description |
|---|---|
NodeList<ClassOrInterfaceType> |
ClassOrInterfaceDeclaration.getExtends() |
NodeList<ClassOrInterfaceType> |
ClassOrInterfaceDeclaration.getImplements() |
NodeList<ClassOrInterfaceType> |
EnumDeclaration.getImplements() |
| Modifier and Type | Method and Description |
|---|---|
ClassOrInterfaceDeclaration |
ClassOrInterfaceDeclaration.setExtends(NodeList<ClassOrInterfaceType> extendsList) |
ClassOrInterfaceDeclaration |
ClassOrInterfaceDeclaration.setImplements(NodeList<ClassOrInterfaceType> implementsList) |
EnumDeclaration |
EnumDeclaration.setImplements(NodeList<ClassOrInterfaceType> implementsList) |
| Modifier and Type | Method and Description |
|---|---|
ClassOrInterfaceType |
ObjectCreationExpr.getType() |
| Modifier and Type | Method and Description |
|---|---|
ObjectCreationExpr |
ObjectCreationExpr.setType(ClassOrInterfaceType type) |
| Constructor and Description |
|---|
ObjectCreationExpr(Expression scope,
ClassOrInterfaceType type,
NodeList<Expression> arguments)
Defines a call to a constructor.
|
ObjectCreationExpr(Range range,
Expression scope,
ClassOrInterfaceType type,
NodeList<Type<?>> typeArguments,
NodeList<Expression> arguments,
NodeList<BodyDeclaration<?>> anonymousBody) |
| Modifier and Type | Method and Description |
|---|---|
ClassOrInterfaceType |
SingleStaticImportDeclaration.getType() |
ClassOrInterfaceType |
SingleTypeImportDeclaration.getType() |
ClassOrInterfaceType |
StaticImportOnDemandDeclaration.getType() |
| Modifier and Type | Method and Description |
|---|---|
SingleStaticImportDeclaration |
SingleStaticImportDeclaration.setType(ClassOrInterfaceType type) |
SingleTypeImportDeclaration |
SingleTypeImportDeclaration.setType(ClassOrInterfaceType type) |
StaticImportOnDemandDeclaration |
StaticImportOnDemandDeclaration.setType(ClassOrInterfaceType type) |
| Constructor and Description |
|---|
SingleStaticImportDeclaration(Range range,
ClassOrInterfaceType type,
String staticMember) |
SingleTypeImportDeclaration(Range range,
ClassOrInterfaceType type) |
StaticImportOnDemandDeclaration(Range range,
ClassOrInterfaceType type) |
| Modifier and Type | Method and Description |
|---|---|
default ClassOrInterfaceType |
NodeWithExtends.getExtends(int i) |
default ClassOrInterfaceType |
NodeWithImplements.getImplements(int i) |
| Modifier and Type | Method and Description |
|---|---|
NodeList<ClassOrInterfaceType> |
NodeWithExtends.getExtends() |
NodeList<ClassOrInterfaceType> |
NodeWithImplements.getImplements() |
| Modifier and Type | Method and Description |
|---|---|
N |
NodeWithExtends.setExtends(NodeList<ClassOrInterfaceType> extendsList) |
N |
NodeWithImplements.setImplements(NodeList<ClassOrInterfaceType> implementsList) |
| Constructor and Description |
|---|
CatchClause(EnumSet<Modifier> exceptModifier,
NodeList<AnnotationExpr> exceptAnnotations,
ClassOrInterfaceType exceptType,
SimpleName exceptName,
BlockStmt catchBlock) |
| Modifier and Type | Method and Description |
|---|---|
ClassOrInterfaceType |
ClassOrInterfaceType.setName(SimpleName name) |
ClassOrInterfaceType |
ClassOrInterfaceType.setScope(ClassOrInterfaceType scope)
Sets the scope
|
ClassOrInterfaceType |
ClassOrInterfaceType.setTypeArguments(NodeList<Type<?>> typeArguments)
Sets the typeArguments
|
ClassOrInterfaceType |
PrimitiveType.toBoxedType() |
ClassOrInterfaceType |
PrimitiveType.Primitive.toBoxedType() |
| Modifier and Type | Method and Description |
|---|---|
Optional<ClassOrInterfaceType> |
ClassOrInterfaceType.getScope() |
NodeList<ClassOrInterfaceType> |
TypeParameter.getTypeBound()
Return the list of
ClassOrInterfaceType that this parameter
extends. |
| Modifier and Type | Method and Description |
|---|---|
ClassOrInterfaceType |
ClassOrInterfaceType.setScope(ClassOrInterfaceType scope)
Sets the scope
|
| Modifier and Type | Method and Description |
|---|---|
TypeParameter |
TypeParameter.setTypeBound(NodeList<ClassOrInterfaceType> typeBound) |
| Constructor and Description |
|---|
ClassOrInterfaceType(ClassOrInterfaceType scope,
String name) |
ClassOrInterfaceType(Range range,
ClassOrInterfaceType scope,
SimpleName name,
NodeList<Type<?>> typeArguments) |
| Constructor and Description |
|---|
TypeParameter(Range range,
SimpleName name,
NodeList<ClassOrInterfaceType> typeBound) |
TypeParameter(Range range,
SimpleName name,
NodeList<ClassOrInterfaceType> typeBound,
NodeList<AnnotationExpr> annotations) |
TypeParameter(String name,
NodeList<ClassOrInterfaceType> typeBound) |
| Modifier and Type | Method and Description |
|---|---|
R |
GenericVisitor.visit(ClassOrInterfaceType n,
A arg) |
Visitable |
ModifierVisitor.visit(ClassOrInterfaceType n,
A arg) |
void |
VoidVisitor.visit(ClassOrInterfaceType n,
A arg) |
void |
VoidVisitorAdapter.visit(ClassOrInterfaceType n,
A arg) |
R |
GenericVisitorAdapter.visit(ClassOrInterfaceType n,
A arg) |
Visitable |
CloneVisitor.visit(ClassOrInterfaceType _n,
Object _arg) |
Boolean |
EqualsVisitor.visit(ClassOrInterfaceType n1,
Visitable arg) |
| Modifier and Type | Method and Description |
|---|---|
void |
PrettyPrintVisitor.visit(ClassOrInterfaceType n,
Void arg) |
Copyright © 2007–2016. All rights reserved.