Package | Description |
---|---|
com.github.javaparser.ast.body | |
com.github.javaparser.ast.expr | |
com.github.javaparser.ast.nodeTypes | |
com.github.javaparser.ast.type |
Modifier and Type | Method | Description |
---|---|---|
NodeList<ReferenceType> |
CallableDeclaration.getThrownExceptions() |
Modifier and Type | Method | Description |
---|---|---|
T |
CallableDeclaration.setThrownExceptions(NodeList<ReferenceType> thrownExceptions) |
|
ConstructorDeclaration |
ConstructorDeclaration.setThrownExceptions(NodeList<ReferenceType> thrownExceptions) |
|
MethodDeclaration |
MethodDeclaration.setThrownExceptions(NodeList<ReferenceType> thrownExceptions) |
Modifier and Type | Method | Description |
---|---|---|
ReferenceType |
InstanceOfExpr.getType() |
Modifier and Type | Method | Description |
---|---|---|
InstanceOfExpr |
InstanceOfExpr.setType(ReferenceType type) |
Constructor | Description |
---|---|
InstanceOfExpr(Expression expression,
ReferenceType type) |
|
InstanceOfExpr(TokenRange tokenRange,
Expression expression,
ReferenceType type) |
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method | Description |
---|---|---|
default ReferenceType |
NodeWithThrownExceptions.getThrownException(int i) |
Modifier and Type | Method | Description |
---|---|---|
NodeList<ReferenceType> |
NodeWithThrownExceptions.getThrownExceptions() |
Modifier and Type | Method | Description |
---|---|---|
default N |
NodeWithThrownExceptions.addThrownException(ReferenceType throwType) |
Adds this type to the throws clause
|
Modifier and Type | Method | Description |
---|---|---|
N |
NodeWithThrownExceptions.setThrownExceptions(NodeList<ReferenceType> thrownExceptions) |
Modifier and Type | Class | Description |
---|---|---|
class |
ArrayType |
To indicate that a type is an array, it gets wrapped in an ArrayType for every array level it has.
|
class |
ClassOrInterfaceType |
A class or an interface type.
|
class |
TypeParameter |
A type parameter.
|
Modifier and Type | Method | Description |
---|---|---|
ReferenceType |
ReferenceType.clone() |
Modifier and Type | Method | Description |
---|---|---|
NodeList<ReferenceType> |
IntersectionType.getElements() |
|
NodeList<ReferenceType> |
UnionType.getElements() |
|
Optional<ReferenceType> |
WildcardType.getExtendedType() |
|
Optional<ReferenceType> |
WildcardType.getExtendedTypes() |
Deprecated.
|
Optional<ReferenceType> |
WildcardType.getSuperType() |
|
Optional<ReferenceType> |
WildcardType.getSuperTypes() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
WildcardType |
WildcardType.setExtendedType(ReferenceType extendedType) |
Sets the extended type
|
WildcardType |
WildcardType.setExtendedTypes(ReferenceType extendedType) |
Deprecated.
use setExtendedType instead,
|
WildcardType |
WildcardType.setSuperType(ReferenceType superType) |
Sets the supertype
|
WildcardType |
WildcardType.setSuperTypes(ReferenceType superType) |
Deprecated.
use setSuperType instead
|
Modifier and Type | Method | Description |
---|---|---|
IntersectionType |
IntersectionType.setElements(NodeList<ReferenceType> elements) |
|
UnionType |
UnionType.setElements(NodeList<ReferenceType> elements) |
Constructor | Description |
---|---|
WildcardType(ReferenceType extendedType) |
|
WildcardType(ReferenceType extendedType,
ReferenceType superType,
NodeList<AnnotationExpr> annotations) |
|
WildcardType(TokenRange tokenRange,
ReferenceType extendedType,
ReferenceType superType) |
This constructor is used by the parser and is considered private.
|
WildcardType(TokenRange tokenRange,
ReferenceType extendedType,
ReferenceType superType,
NodeList<AnnotationExpr> annotations) |
This constructor is used by the parser and is considered private.
|
Constructor | Description |
---|---|
IntersectionType(NodeList<ReferenceType> elements) |
|
IntersectionType(TokenRange tokenRange,
NodeList<ReferenceType> elements) |
This constructor is used by the parser and is considered private.
|
UnionType(NodeList<ReferenceType> elements) |
|
UnionType(TokenRange tokenRange,
NodeList<ReferenceType> elements) |
This constructor is used by the parser and is considered private.
|
Copyright © 2007–2019. All rights reserved.