Class InvokeDynamicRewriter.IndyHelperBuilder
- java.lang.Object
-
- com.strobel.decompiler.languages.java.ast.transforms.InvokeDynamicRewriter.IndyHelperBuilder
-
- Enclosing class:
- InvokeDynamicRewriter
protected final class InvokeDynamicRewriter.IndyHelperBuilder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
InvokeDynamicRewriter.IndyHelperBuilder.HelperTypeDefinition
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IndyHelperBuilder(TypeDeclaration parentDeclaration, TypeReference parentType, DynamicCallSite callSite)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
build()
(package private) MethodDeclaration
buildEnsureHandleMethod()
(package private) FieldDeclaration
buildFenceField()
(package private) FieldDeclaration
buildHandleField()
(package private) MethodDeclaration
buildHandleMethod()
(package private) MethodDeclaration
buildInvokeMethod()
(package private) FieldDeclaration
buildLookupField()
(package private) VariableDeclarationStatement
makeHandleVariableDeclaration()
-
-
-
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
-
callSite
final DynamicCallSite callSite
-
callSiteType
final TypeReference callSiteType
-
methodHandleType
final TypeReference methodHandleType
-
methodHandlesType
final TypeReference methodHandlesType
-
lookupType
final TypeReference lookupType
-
handleMethod
final MethodReference handleMethod
-
ensureHandleMethod
final MethodReference ensureHandleMethod
-
definition
final InvokeDynamicRewriter.IndyHelperBuilder.HelperTypeDefinition definition
-
lookupVariable
final Variable lookupVariable
-
uniqueTypeId
final int uniqueTypeId
-
declaration
TypeDeclaration declaration
-
handleDeclaration
MethodDeclaration handleDeclaration
-
invokeDeclaration
MethodDeclaration invokeDeclaration
-
ensureHandleDeclaration
MethodDeclaration ensureHandleDeclaration
-
bootstrapCall
InvocationExpression bootstrapCall
-
-
Constructor Detail
-
IndyHelperBuilder
IndyHelperBuilder(TypeDeclaration parentDeclaration, TypeReference parentType, DynamicCallSite callSite)
-
-
Method Detail
-
build
boolean build()
-
buildHandleField
FieldDeclaration buildHandleField()
-
buildFenceField
FieldDeclaration buildFenceField()
-
buildLookupField
FieldDeclaration buildLookupField()
-
makeHandleVariableDeclaration
VariableDeclarationStatement makeHandleVariableDeclaration()
-
buildHandleMethod
MethodDeclaration buildHandleMethod()
-
buildInvokeMethod
MethodDeclaration buildInvokeMethod()
-
buildEnsureHandleMethod
MethodDeclaration buildEnsureHandleMethod()
-
-