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 |
|---|---|
| pack-priv static enum | DeferredAttr.
Mode of attribution (used in AttrContext). |
| public static enum | DeferredAttr.
The 'mode' in which the deferred type is to be type-checked |
| pack-priv class | DeferredAttr.
This visitor is used to check that structural expressions conform to their target - this step is required as inference could end up inferring types that make some of the nested expressions incompatible with their corresponding instantiated target |
| pack-priv class | DeferredAttr.
A deferred context is created on each method check. |
| pack-priv static class | |
| pack-priv class | DeferredAttr.
Class representing a deferred attribution node. |
| pack-priv static interface | DeferredAttr.
Policy for detecting stuck expressions. |
| public class | DeferredAttr.
This type represents a deferred type. |
| pack-priv class | DeferredAttr.
Map a list of types possibly containing one or more deferred types into a list of ordinary types. |
| pack-priv abstract static class | DeferredAttr.
A special tree scanner that would only visit portions of a given tree. |
| pack-priv static class | DeferredAttr.
A tree scanner suitable for visiting the target-type dependent nodes nested within a lambda expression body. |
| pack-priv class | DeferredAttr.
This visitor is used to check that structural expressions conform to their target - this step is required as inference could end up inferring types that make some of the nested expressions incompatible with their corresponding instantiated target |
| pack-priv static class | DeferredAttr.
A tree scanner suitable for visiting the target-type dependent nodes of a given argument expression. |
| public class | DeferredAttr.
Specialized recovery deferred mapping. |
| pack-priv static class | DeferredAttr.
A tree scanner suitable for visiting the target-type dependent nodes nested within a switch expression body. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Annotate | |
| pack-priv final ArgumentAttr | |
| pack-priv final Attr | |
| pack-priv final Check | |
| pack-priv final DeferredCompletionFailureHandler | |
| protected static final Context. | |
| pack-priv final Types. | |
| pack-priv final JCDiagnostic. | |
| pack-priv DeferredAttr. | dummyStuckPolicy
Basic stuck policy; an expression is never considered to be stuck. |
| pack-priv final DeferredAttr. | emptyDeferredAttrContext
an empty deferred attribution context - all methods throw exceptions |
| pack-priv final Enter | |
| pack-priv final Flow | |
| pack-priv final Infer | |
| pack-priv final Log | |
| pack-priv final TreeMaker | |
| pack-priv final Names | |
| pack-priv final Resolve | |
| pack-priv final JCTree | stuckTree
shared tree for stuck expressions |
| pack-priv final Symtab | |
| pack-priv final TreeCopier | |
| pack-priv final TypeEnvs | |
| pack-priv final Types |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv JCTree | attribSpeculative(JCTree tree, Env<AttrContext> env, Attr.
Routine that performs speculative type-checking; the input AST node is cloned (to avoid side-effects cause by Attr) and compiler state is restored after type-checking. |
| pack-priv JCTree | attribSpeculative(JCTree tree, Env<AttrContext> env, Attr.
|
| pack-priv <Z> JCTree | attribSpeculative(JCTree tree, Env<AttrContext> env, Attr.
|
| pack-priv <Z> JCTree | attribSpeculative(JCTree tree, Env<AttrContext> env, Attr.
Attribute the given tree, mostly reverting side-effects applied to shared compiler state. |
| pack-priv JCTree. | attribSpeculativeLambda(JCTree.
Performs speculative attribution of a lambda body and returns the speculative lambda tree, in the absence of a target-type. |
| private boolean | |
| public static DeferredAttr |