Package | Description |
---|---|
javax.ide.model.java.source.tree |
The Java AST.
|
Modifier and Type | Field and Description |
---|---|
static TreeKind |
TreeKind.TREE_ANNOTATION
An annotation.
|
static TreeKind |
TreeKind.TREE_BLOCK
A code block.
|
static TreeKind |
TreeKind.TREE_CLASS_BODY
A body of a class declaration.
|
static TreeKind |
TreeKind.TREE_CLASS_D
A class, enum, interface, or annotation type declaration.
|
static TreeKind |
TreeKind.TREE_CLASS_INITIALIZER
An initializer in a class declaration.
|
static TreeKind |
TreeKind.TREE_CONSTRUCTOR_D
A constructor declaration.
|
static TreeKind |
TreeKind.TREE_DOC_COMMENT
A doc comment.
|
static TreeKind |
TreeKind.TREE_ENUM_CONSTANT_D
An enum constant declaration.
|
static TreeKind |
TreeKind.TREE_EXPR_ANNOTATION
An expression wrapping an annotation.
|
static TreeKind |
TreeKind.TREE_EXPR_ARRAY_ACCESS
An array access expression.
|
static TreeKind |
TreeKind.TREE_EXPR_ASSIGNMENT
An expression for an assignment operation.
|
static TreeKind |
TreeKind.TREE_EXPR_DOT
An expression for an identifier selector.
|
static TreeKind |
TreeKind.TREE_EXPR_IDENTIFIER
An identifier expression.
|
static TreeKind |
TreeKind.TREE_EXPR_INFIX
An expression for an infix operation.
|
static TreeKind |
TreeKind.TREE_EXPR_LIST
A list of expressions.
|
static TreeKind |
TreeKind.TREE_EXPR_LITERAL
A lexer literal.
|
static TreeKind |
TreeKind.TREE_EXPR_METHOD_CALL
A method call.
|
static TreeKind |
TreeKind.TREE_EXPR_NEW_ARRAY
An array creator expression.
|
static TreeKind |
TreeKind.TREE_EXPR_NEW_CLASS
A class creator expression.
|
static TreeKind |
TreeKind.TREE_EXPR_QUESTION
An expression for the conditional operator.
|
static TreeKind |
TreeKind.TREE_EXPR_TYPE
An expression wrapping a type reference.
|
static TreeKind |
TreeKind.TREE_EXPR_TYPECAST
An expression for a typecast operation.
|
static TreeKind |
TreeKind.TREE_EXPR_UNARY
An expression for a prefix or postfix operation.
|
static TreeKind |
TreeKind.TREE_EXPR_WRAPPER
An expression wrapping another expression.
|
static TreeKind |
TreeKind.TREE_FIELD_D
A field declaration that is not for an enum constant.
|
static TreeKind |
TreeKind.TREE_FIELD_VARIABLE
A field variable.
|
static TreeKind |
TreeKind.TREE_FILE
A source file (a compilation unit).
|
static TreeKind |
TreeKind.TREE_FORMAL_PARAMETER
A formal parameter.
|
static TreeKind |
TreeKind.TREE_FORMAL_PARAMETER_LIST
A formal parameter list.
|
static TreeKind |
TreeKind.TREE_IMPORT_D
An import declaration.
|
static TreeKind |
TreeKind.TREE_INTERFACES_D
An interfaces clause for a class declaration.
|
static TreeKind |
TreeKind.TREE_LOCAL_VARIABLE
A local variable.
|
static TreeKind |
TreeKind.TREE_LOCAL_VARIABLE_D
A local variable declaration.
|
static TreeKind |
TreeKind.TREE_METHOD_D
A method declaration that is not for a constructor.
|
static TreeKind |
TreeKind.TREE_NAME
A name, either a simple name or a qualified name.
|
static TreeKind |
TreeKind.TREE_PACKAGE_D
A package declaration.
|
static TreeKind |
TreeKind.TREE_STATEMENT_LABEL
A statement label.
|
static TreeKind |
TreeKind.TREE_STMT_ASSERT
An assert statement.
|
static TreeKind |
TreeKind.TREE_STMT_BLOCK
A statement wrapping a block.
|
static TreeKind |
TreeKind.TREE_STMT_BREAK
A break statement.
|
static TreeKind |
TreeKind.TREE_STMT_CATCH
A catch clause in a try statement.
|
static TreeKind |
TreeKind.TREE_STMT_CONTINUE
A continue statement.
|
static TreeKind |
TreeKind.TREE_STMT_DO
A do-while statement.
|
static TreeKind |
TreeKind.TREE_STMT_ELSE
An else clause in an if statement.
|
static TreeKind |
TreeKind.TREE_STMT_EMPTY
An empty statement.
|
static TreeKind |
TreeKind.TREE_STMT_EXPRESSION
A statement wrapping an expression.
|
static TreeKind |
TreeKind.TREE_STMT_FINALLY
A finally clause in a try statement.
|
static TreeKind |
TreeKind.TREE_STMT_FOR
A for statement, all variants.
|
static TreeKind |
TreeKind.TREE_STMT_IF
An if statement.
|
static TreeKind |
TreeKind.TREE_STMT_RETURN
A return statement.
|
static TreeKind |
TreeKind.TREE_STMT_SWITCH
A switch statement.
|
static TreeKind |
TreeKind.TREE_STMT_SYNCH
A synchronized statement.
|
static TreeKind |
TreeKind.TREE_STMT_THROW
A throw statement.
|
static TreeKind |
TreeKind.TREE_STMT_TRY
A try statement.
|
static TreeKind |
TreeKind.TREE_STMT_WHILE
A while statement.
|
static TreeKind |
TreeKind.TREE_SUPERCLASS
A super-class clause for a class declaration.
|
static TreeKind |
TreeKind.TREE_SWITCH_LABEL
A switch case label, either case or default.
|
static TreeKind |
TreeKind.TREE_THROWS
A throws clause for a method declaration.
|
static TreeKind |
TreeKind.TREE_TYPE_ARGUMENT
A type argument in a type reference.
|
static TreeKind |
TreeKind.TREE_TYPE_PARAMETER
A type parameter declaration.
|
static TreeKind |
TreeKind.TREE_TYPE_REFERENCE
A type reference.
|
Modifier and Type | Method and Description |
---|---|
TreeKind |
Tree.getTreeKind()
Identifies what kind of Tree this is.
|
static TreeKind |
TreeKind.valueOf(java.lang.Class ignored, java.lang.String name) |
static TreeKind |
TreeKind.valueOf(int ordinal) |
static TreeKind[] |
TreeKind.values() |
Modifier and Type | Method and Description |
---|---|
int |
TreeKind.compareTo(TreeKind other) |