Package com.tonic.analysis.source.ast.decl
Declaration nodes: compilation units, types, members and parameters.
-
Interface Summary Interface Description TypeDecl A declared type in the source AST - class, interface, enum or annotation - exposing its modifiers, annotations and members. -
Class Summary Class Description AnnotationExpr A Java annotation use, in marker, single-value, or normal (named-values) form.AnnotationValue A single element-value pair inside an annotation use.ClassDecl A Java class declaration: name, modifiers, supertypes, and its member fields, methods, constructors, initializers, and inner types.CompilationUnit A Java source file: package declaration, imports, and top-level type declarations.ConstructorDecl A Java constructor declaration: modifiers, parameters, throws clause, and body.EnumConstantDecl A single enum constant, with optional constructor arguments and an optional class body of fields and methods.EnumDecl A Java enum declaration: constants plus ordinary members (fields, methods, constructors, inner types).FieldDecl A Java field declaration: name, type, modifiers, annotations, and optional initializer.ImportDecl A single import declaration, either plain or static and either single-type or on-demand.InterfaceDecl An interface declaration in the source AST, with its extended interfaces, type parameters, members, and nested types.MethodDecl AST node for a method declaration - modifiers, signature and optional body.ParameterDecl A method or constructor parameter in the source AST, carrying its type, annotations, and the final and varargs flags. -
Enum Summary Enum Description Modifier A Java source modifier keyword, paired with the keyword text it prints as.