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.getThrownExceptions() |
NodeList<ReferenceType<?>> |
MethodDeclaration.getThrownExceptions() |
Modifier and Type | Method and Description |
---|---|
ConstructorDeclaration |
ConstructorDeclaration.setThrownExceptions(NodeList<ReferenceType<?>> thrownExceptions) |
MethodDeclaration |
MethodDeclaration.setThrownExceptions(NodeList<ReferenceType<?>> thrownExceptions) |
Constructor and Description |
---|
ConstructorDeclaration(EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType<?>> thrownExceptions,
BlockStmt block) |
ConstructorDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType<?>> thrownExceptions,
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<?>> thrownExceptions,
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<?>> thrownExceptions,
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 expression,
ReferenceType<?> type) |
InstanceOfExpr(Range range,
Expression expression,
ReferenceType<?> type) |
Modifier and Type | Method and Description |
---|---|
default ReferenceType |
NodeWithThrownExceptions.getThrownException(int i) |
Modifier and Type | Method and Description |
---|---|
NodeList<ReferenceType<?>> |
NodeWithThrownExceptions.getThrownExceptions() |
Modifier and Type | Method and Description |
---|---|
default N |
NodeWithThrownExceptions.addThrownException(ReferenceType<?> throwType)
Adds this type to the throws clause
|
Modifier and Type | Method and Description |
---|---|
N |
NodeWithThrownExceptions.setThrownExceptions(NodeList<ReferenceType<?>> thrownExceptions) |
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.getExtendedTypes() |
Optional<ReferenceType<?>> |
WildcardType.getSuperTypes() |
Modifier and Type | Method and Description |
---|---|
WildcardType |
WildcardType.setExtendedTypes(ReferenceType<?> ext)
Sets the extends
|
WildcardType |
WildcardType.setSuperTypes(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<?> extendedTypes,
ReferenceType<?> superTypes) |
WildcardType(Range range,
ReferenceType<?> extendedTypes,
ReferenceType<?> superTypes) |
WildcardType(ReferenceType<?> extendedTypes) |
WildcardType(ReferenceType<?> extendedTypes,
ReferenceType<?> superTypes) |
WildcardType(ReferenceType<?> extendedTypes,
ReferenceType<?> superTypes) |
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.