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 class | |
| pack-priv static record | LambdaToMethod.
Deserialization statements for a given lambda implementation name, together with the (future) enclosing deserialization method. |
| private class | |
| private class | LambdaToMethod.
Signature Generation |
| pack-priv class | LambdaToMethod.
This class retains all the useful information about a lambda expression, and acts as a translation map that is used by the main translation routines in order to adjust references to captured locals/members, etc. |
| Modifier and Type | Field and Description |
|---|---|
| private final Attr | |
| private Env | |
| private final boolean | debugLinesOrVars
true if line or local variable debug info has been requested |
| private final boolean | deduplicateLambdas
deduplicate lambda implementation methods |
| private final JCDiagnostic. | |
| private final boolean | dumpLambdaDeserializationStats
dump statistics about lambda deserialization code generation |
| private final boolean | dumpLambdaToMethodStats
dump statistics about lambda code generation |
| public static final int | FLAG_BRIDGES
Flag for alternate metafactories indicating the lambda object requires multiple bridges |
| public static final int | FLAG_MARKERS
Flag for alternate metafactories indicating the lambda object has multiple targets |
| public static final int | FLAG_SERIALIZABLE
Flag for alternate metafactories indicating the lambda object is intended to be serializable |
| private final boolean | forceSerializable
force serializable representation, for stress testing |
| private LambdaToMethod. | kInfo
info about the current class being processed |
| private LambdaToMethod. | lambdaContext
translation context of the current lambda expression |
| private final Log | |
| private final Lower | |
| private TreeMaker | |
| private final Names | |
| private final Operators | |
| private Symbol. | pendingVar
the variable whose initializer is pending |
| private final Resolve | |
| private final Symtab | |
| private final Target | |
| private final TransTypes | |
| private final Types | |
| protected static final Context. | |
| private final boolean | verboseDeduplication
dump statistics about lambda method deduplication |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | addDeserializationCase(Symbol.
|
| private void | apportionTypeAnnotations(JCTree.
|
| pack-priv List | |
| private String | |
| private JCTree. | createImplementationNameDeserializationMethod(LambdaToMethod.
|
| private JCTree. | |
| private JCTree. | |
| private JCTree. | deserGetter(Symbol.
|
| private JCTree. | |
| pack-priv void | |
| private JCTree. | |
| public static LambdaToMethod | |
| pack-priv boolean | isSerializable(JCTree.
does this functional expression require serialization support? |
| private List | |
| private JCTree. | makeIndyCall(JCDiagnostic.
Generate an indy method call with given name, type and static bootstrap arguments types |
| private JCTree. | |
| private JCTree. | |
| private JCTree. | makeLambdaStatementBody(JCTree.
|
| private JCTree. | makeMetafactoryIndyCall(JCTree.
Generate an indy method call to the meta factory |
| pack-priv JCTree. | makeNewClass(Type
The class type. ctype, List<JCTree.The constructor arguments. args,The constructor symbol cons)Make an attributed class instance creation expression. |
| pack-priv JCTree. | makeNewClass(Type
The class type. ctype, List<JCTree.The constructor arguments. argsMake an attributed class instance creation expression. |
| private Symbol. | makePrivateSyntheticMethod(long flags, Name name, Type type, Symbol owner)
Create new synthetic method with given flags, name, type, owner |
| private JCTree. | |
| public JCTree | |
| private String | |
| private String | |
| private Type. | |
| public void | visitClassDef(JCTree.
Overrides com. Visit a class. |
| public void | visitIdent(JCTree.
Overrides com. Translate identifiers within a lambda to the mapped identifier |
| public void | visitLambda(JCTree.
Overrides com. Translate a lambda into a method to be inserted into the class. |
| public void | visitReference(JCTree.
Overrides com. Translate a method reference into an invokedynamic call to the meta-factory. |
| public void |