Package | Description |
---|---|
com.sun.source.tree |
Provides interfaces to represent source code as abstract syntax
trees (AST).
|
com.sun.source.util |
Provides utilities for operations on abstract syntax trees (AST).
|
Modifier and Type | Method | Description |
---|---|---|
ClassTree |
NewClassTree.getClassBody() |
Returns the class body if an anonymous class is being
instantiated, and
null otherwise. |
Modifier and Type | Method | Description |
---|---|---|
R |
TreeVisitor.visitClass(ClassTree node,
P p) |
Visits a ClassTree node.
|
Modifier and Type | Method | Description |
---|---|---|
abstract ClassTree |
Trees.getTree(TypeElement element) |
Returns the ClassTree node for a given TypeElement.
|
Modifier and Type | Method | Description |
---|---|---|
R |
SimpleTreeVisitor.visitClass(ClassTree node,
P p) |
Visits a ClassTree node.
|
R |
TreeScanner.visitClass(ClassTree node,
P p) |
Visits a ClassTree node.
|
Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b139-1