Package-level declarations

Types

Link copied to clipboard
To indicate that a type is an array, it gets wrapped in an ArrayType for every array level it has.
Link copied to clipboard
Convert a Type into a ResolvedType.
Link copied to clipboard
Represents a set of types.
Link copied to clipboard
Link copied to clipboard
A primitive type.
Link copied to clipboard
abstract class ReferenceType : Type
Base class for reference types.
Link copied to clipboard
Base class for types.
Link copied to clipboard
Link copied to clipboard

The union type

Represents a set of types.
Link copied to clipboard
open class UnknownType : Type
An unknown parameter type object.
Link copied to clipboard
open class VarType : Type

A type called "var" waiting for Java to infer it.

Examples:
  1. var a = 1;
  2. var a = new ArrayList();
Link copied to clipboard
The return type of a com.github.javaparser.ast.body.MethodDeclaration when it returns void.
Link copied to clipboard
A wildcard type argument.