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 class | TransTypes.
Converts a method reference which cannot be used directly into a lambda |
| Modifier and Type | Field and Description |
|---|---|
| private Annotate | |
| private Attr | |
| private final CompileStates | |
| private Enter | |
| private Env | |
| private Type | explicitCastTP
we use this type to indicate that "upstream" there is an explicit cast to this type, this way we can avoid generating redundant type casts. |
| private Log | |
| private TreeMaker | |
| private Names | |
| private Type | pt
Visitor argument: proto-type. |
| private final Resolve | |
| pack-priv Type | |
| private static final String | |
| private Symtab | |
| private final Target | |
| protected static final Context. | transTypesKey
The context key for the TransTypes phase. |
| private Types |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | addBridge(JCDiagnostic.
The source code position to be used for the definition. pos,The method for which a bridge needs to be added meth,That method's implementation (possibly the method itself) impl,The class to which the bridge will be added origin,The list buffer to which the bridge will be added bridges)Add a bridge definition and enter corresponding method symbol in local scope of origin. |
| pack-priv void | addBridgeIfNeeded(JCDiagnostic.
The source code position to be used for the definition. pos,The symbol for which a bridge might have to be added. sym, Symbol.The class in which the bridge would go. origin,The list buffer to which the bridge would be added. bridges)Add bridge if given symbol is a non-private, non-static member of the given class, which is either defined in the class or non-final inherited, and one of the two following conditions holds: 1. |
| pack-priv void | addBridges(JCDiagnostic.
|
| pack-priv void | addBridges(JCDiagnostic.
The source code position to be used for the bridges. pos,The class in which the bridges go. origin,The list buffer to which the bridges are added. bridges)Add all necessary bridges to some class appending them to list buffer. |
| pack-priv JCTree. | cast(JCTree.
The expression tree. tree,The target type. target)Construct an attributed tree for a cast of expression to target type, unless it already has precisely that type. |
| public JCTree. | coerce(Env<AttrContext> env, JCTree.
The expression tree. tree,The target type. target)Construct an attributed tree to coerce an expression to some erased target type, unless the expression is already assignable to that type. |
| pack-priv JCTree. | |
| private List | |
| private Type | |
| public static TransTypes | |
| pack-priv boolean | interfaceParameterIsIntersectionOrUnionType(JCTree.
Erasure destroys the implementation parameter subtype relationship for intersection types. |
| pack-priv boolean | |
| private boolean | isBridgeNeeded(Symbol.
The symbol for which a bridge might have to be added method,The implementation of method impl,The type in which the bridge would go dest)
|
| pack-priv boolean | |
| pack-priv boolean | isPrivateInOtherClass(JCTree.
This method should be called only when target release <= 14 where LambdaMetaFactory does not spin nestmate classes. |
| private boolean | |
| private boolean | isSameMemberWhenErased(Type
the class where to look for the method type, Symbol.the method to look for in class method,the erasure of method erasure)Lookup the method as a member of the type. |
| pack-priv boolean | needsConversionToLambda(JCTree.
Does this reference need to be converted to a lambda (i.e. var args need to be expanded or "super" is used) |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv JCTree. | retype(JCTree.
The expression tree whose type might need adjustment. tree,The expression's type after erasure. erasedType, Type The target type, which is usually the erasure of the
expression's original type. target)Given an erased reference type, assume this type as the tree's type. |
| public <T extends JCTree> T | |
| public <T extends JCTree> T | |
| public <T extends JCTree> List | |
| pack-priv <T extends JCTree> List | translateArgs(List<T>
The method argument list. _args, List<Type> The list of target types. parameters, Type The erasure of the varargs element type,
or null if translating a non-varargs invocation varargsElement)Translate method argument list, casting each argument to its corresponding type in a list of target types. |
| public <T extends JCTree> List | |
| pack-priv void | |
| public JCTree | translateTopLevelClass(JCTree
The definition to be translated. cdef, TreeMaker make)Translate a toplevel class definition. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | visitTypeApply(JCTree.
Overrides com. Visitor method for parameterized types. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |