| 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 and Description |
|---|---|
NodeList<ReferenceType<?>> |
ConstructorDeclaration.getThrows() |
NodeList<ReferenceType<?>> |
MethodDeclaration.getThrows() |
| Modifier and Type | Method and Description |
|---|---|
ConstructorDeclaration |
ConstructorDeclaration.setThrows(NodeList<ReferenceType<?>> throws_) |
MethodDeclaration |
MethodDeclaration.setThrows(NodeList<ReferenceType<?>> throws_) |
| Constructor and Description |
|---|
ConstructorDeclaration(EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType<?>> throws_,
BlockStmt block) |
ConstructorDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType<?>> throws_,
BlockStmt block) |
MethodDeclaration(EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
Type<?> elementType,
NodeList<ArrayBracketPair> arrayBracketPairsAfterElementType,
SimpleName name,
boolean isDefault,
NodeList<Parameter> parameters,
NodeList<ArrayBracketPair> arrayBracketPairsAfterParameterList,
NodeList<ReferenceType<?>> throws_,
BlockStmt body) |
MethodDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
Type<?> elementType,
NodeList<ArrayBracketPair> arrayBracketPairsAfterElementType,
SimpleName name,
boolean isDefault,
NodeList<Parameter> parameters,
NodeList<ArrayBracketPair> arrayBracketPairsAfterParameterList,
NodeList<ReferenceType<?>> throws_,
BlockStmt body) |
| Modifier and Type | Method and Description |
|---|---|
ReferenceType<?> |
InstanceOfExpr.getType() |
| Modifier and Type | Method and Description |
|---|---|
InstanceOfExpr |
InstanceOfExpr.setType(ReferenceType<?> type) |
| Constructor and Description |
|---|
InstanceOfExpr(Expression expr,
ReferenceType<?> type) |
InstanceOfExpr(Range range,
Expression expr,
ReferenceType<?> type) |
| Modifier and Type | Method and Description |
|---|---|
default ReferenceType |
NodeWithThrowable.getThrow(int i) |
| Modifier and Type | Method and Description |
|---|---|
NodeList<ReferenceType<?>> |
NodeWithThrowable.getThrows() |
| Modifier and Type | Method and Description |
|---|---|
default N |
NodeWithThrowable.addThrows(ReferenceType<?> throwType)
Adds this type to the throws clause
|
| Modifier and Type | Method and Description |
|---|---|
N |
NodeWithThrowable.setThrows(NodeList<ReferenceType<?>> throws_) |
| Modifier and Type | Class and Description |
|---|---|
class |
ReferenceType<T extends ReferenceType> |
| Modifier and Type | Class and 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 |
class |
TypeParameter
This class represents the declaration of a generics argument.
|
| Modifier and Type | Method and Description |
|---|---|
NodeList<ReferenceType<?>> |
UnionType.getElements() |
NodeList<ReferenceType<?>> |
IntersectionType.getElements() |
Optional<ReferenceType<?>> |
WildcardType.getExtends() |
Optional<ReferenceType<?>> |
WildcardType.getSuper() |
| Modifier and Type | Method and Description |
|---|---|
WildcardType |
WildcardType.setExtends(ReferenceType<?> ext)
Sets the extends
|
WildcardType |
WildcardType.setSuper(ReferenceType<?> sup)
Sets the super
|
| Modifier and Type | Method and Description |
|---|---|
UnionType |
UnionType.setElements(NodeList<ReferenceType<?>> elements) |
IntersectionType |
IntersectionType.setElements(NodeList<ReferenceType<?>> elements) |
| Constructor and Description |
|---|
WildcardType(Range range,
ReferenceType<?> ext,
ReferenceType<?> sup) |
WildcardType(Range range,
ReferenceType<?> ext,
ReferenceType<?> sup) |
WildcardType(ReferenceType<?> ext) |
WildcardType(ReferenceType<?> ext,
ReferenceType<?> sup) |
WildcardType(ReferenceType<?> ext,
ReferenceType<?> sup) |
| Constructor and Description |
|---|
IntersectionType(NodeList<ReferenceType<?>> elements) |
IntersectionType(Range range,
NodeList<ReferenceType<?>> elements) |
UnionType(NodeList<ReferenceType<?>> elements) |
UnionType(Range range,
NodeList<ReferenceType<?>> elements) |
Copyright © 2007–2016. All rights reserved.