Class MethodHandleConstantRewriter.LcdMHHelperBuilder
- java.lang.Object
-
- com.strobel.decompiler.languages.java.ast.transforms.MethodHandleConstantRewriter.LcdMHHelperBuilder
-
- Enclosing class:
- MethodHandleConstantRewriter
protected final class MethodHandleConstantRewriter.LcdMHHelperBuilder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
MethodHandleConstantRewriter.LcdMHHelperBuilder.HelperTypeDefinition
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LcdMHHelperBuilder(TypeDeclaration parentDeclaration, TypeReference parentType, MethodHandle handle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
build()
(package private) FieldDeclaration
buildHandleField()
(package private) MethodDeclaration
buildTypeInitializer()
(package private) VariableDeclarationStatement
makeHandleVariableDeclaration()
(package private) VariableDeclarationStatement
makeMethodTypeVariableDeclaration()
-
-
-
Field Detail
-
T_DESC_METHOD_HANDLE
static final java.lang.String T_DESC_METHOD_HANDLE
- See Also:
- Constant Field Values
-
F_DESC_ENSURE_HANDLE
static final java.lang.String F_DESC_ENSURE_HANDLE
- See Also:
- Constant Field Values
-
M_DESC_ENSURE_HANDLE
static final java.lang.String M_DESC_ENSURE_HANDLE
- See Also:
- Constant Field Values
-
parentDeclaration
final TypeDeclaration parentDeclaration
-
parentType
final TypeReference parentType
-
handle
final MethodHandle handle
-
callSiteType
final TypeReference callSiteType
-
methodHandleType
final TypeReference methodHandleType
-
methodTypeType
final TypeReference methodTypeType
-
methodHandlesType
final TypeReference methodHandlesType
-
lookupType
final TypeReference lookupType
-
handleMethod
final MethodReference handleMethod
-
ensureHandleMethod
final MethodReference ensureHandleMethod
-
definition
final MethodHandleConstantRewriter.LcdMHHelperBuilder.HelperTypeDefinition definition
-
generatedTypeId
final int generatedTypeId
-
alreadyBuilt
java.lang.Boolean alreadyBuilt
-
declaration
TypeDeclaration declaration
-
extraLookupField
FieldDeclaration extraLookupField
-
handleDeclaration
MethodDeclaration handleDeclaration
-
-
Constructor Detail
-
LcdMHHelperBuilder
LcdMHHelperBuilder(TypeDeclaration parentDeclaration, TypeReference parentType, MethodHandle handle)
-
-
Method Detail
-
build
boolean build()
-
buildHandleField
FieldDeclaration buildHandleField()
-
makeMethodTypeVariableDeclaration
VariableDeclarationStatement makeMethodTypeVariableDeclaration()
-
makeHandleVariableDeclaration
VariableDeclarationStatement makeHandleVariableDeclaration()
-
buildTypeInitializer
MethodDeclaration buildTypeInitializer()
-
-