This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| private static class | TreeInfo.
Finds all calls to this() and/or super() in a given constructor. |
| private static class | |
| public static enum | |
| private static class | TreeInfo.
Finds all super() invocations and translates them somehow. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | addPrec
Operator precedences values. |
| public static final int | andPrec
Operator precedences values. |
| public static final int | assignopPrec
Operator precedences values. |
| public static final int | assignPrec
Operator precedences values. |
| public static final int | bitandPrec
Operator precedences values. |
| public static final int | bitorPrec
Operator precedences values. |
| public static final int | bitxorPrec
Operator precedences values. |
| public static final int | condPrec
Operator precedences values. |
| public static final int | eqPrec
Operator precedences values. |
| public static final int | mulPrec
Operator precedences values. |
| public static final int | noPrec
Operator precedences values. |
| public static final int | notExpression
Operator precedences values. |
| public static final int | ordPrec
Operator precedences values. |
| public static final int | orPrec
Operator precedences values. |
| public static final int | postfixPrec
Operator precedences values. |
| public static final int | precCount
Operator precedences values. |
| public static final int | prefixPrec
Operator precedences values. |
| public static final int | shiftPrec
Operator precedences values. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static List | |
| public static Name | calledMethodName(JCTree tree)
If the expression is a method call, return the method name, null otherwise. |
| public static boolean | |
| public static JCTree | declarationFor(final Symbol sym, final JCTree tree)
Find the declaration for a symbol, where that symbol is defined somewhere in the given tree. |
| public static JCDiagnostic. | diagEndPos(final JCTree tree)
A DiagnosticPosition with the preferred position set to the closing brace position of given tree, if it is a block with defined closing brace position. |
| public static JCDiagnostic. | diagnosticPositionFor(final Symbol sym, final JCTree tree)
Find the position for reporting an error about a symbol, where that symbol is defined somewhere in the given tree. |
| public static JCDiagnostic. | |
| public static JCDiagnostic. | diagnosticPositionFor(final Symbol sym, final JCTree tree, boolean returnNullIfNotFound, Predicate<? super JCTree> filter)
|
| public static JCDiagnostic. | |
| public static int | |
| public static boolean | |
| public static int | finalizerPos(JCTree tree, TreeInfo.
The position of the finalizer of given try/synchronized statement. |
| public static JCTree. | findConstructorCall(JCTree.
Find the first super() or init() call in the given constructor. |
| public static long | |
| public static int | firstStatPos(JCTree tree)
The position of the first statement in a block, or the position of the block itself if it is empty. |
| public static String | |
| public static long | |
| public static Name | |
| public static String | |
| public static int | |
| public static JCTree. | |
| public static int | |
| public static boolean | hasAnyConstructorCall(JCTree.
Is the given method a constructor containing a super() or this() call? |
| public static boolean | hasConstructorCall(JCTree.
Is the given method a constructor containing a super() and/or this() call? |
| public static boolean | |
| public static JCTree | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | isConstructorCall(JCTree.
Is the given method invocation an invocation of this(...) or super(...)? |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | isExplicitThisReference(Types types, Type.
Check if the given tree is an explicit reference to the 'this' instance of the class currently being compiled. |
| public static boolean | isExpressionStatement(JCTree.
Return true if the tree corresponds to an expression statement |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | isStaticSelector(JCTree base, Names names)
Return true if the AST corresponds to a static select of the kind A.B |
| private static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| private static boolean | |
| public static void | mapSuperCalls(JCTree.
Finds super() invocations and translates them using the given mapping. |
| public static Name | |
| public static boolean | |
| public static int | |
| public static int | positionFor(final Symbol sym, final JCTree tree)
Find the position for reporting an error about a symbol, where that symbol is defined somewhere in the given tree. |
| public static Type | |
| public static JCTree | |
| public static List | |
| public static List | |
| public static JCTree | |
| public static void | |
| public static void | |
| public static void | |
| public static JCTree. | |
| public static JCTree | |
| public static Symbol | |
| public static Symbol | |
| private static Symbol | |
| pack-priv static Tree. | |
| public static JCTree. | typeIn(JCTree.
Returns the underlying type of the tree if it is an annotated type, or the tree itself otherwise. |
| public static List | |
| public static boolean |