Interface AbstractFunctionalInterfaceWriter
- All Known Implementing Classes:
StaticTypesLambdaWriter,StaticTypesMethodReferenceExpressionWriter
public interface AbstractFunctionalInterfaceWriter
Represents functional interface writer which contains some common methods to complete generating bytecode
- Since:
- 3.0.0
-
Field Summary
Fields Modifier and Type Field Description static StringORIGINAL_PARAMETERS_WITH_EXACT_TYPE -
Method Summary
Modifier and Type Method Description default ClassNodeconvertParameterType(ClassNode targetType, ClassNode parameterType, ClassNode inferredType)default org.objectweb.asm.HandlecreateBootstrapMethod(boolean isInterface, boolean serializable)default Object[]createBootstrapMethodArguments(String abstractMethodDesc, int insn, ClassNode methodOwner, MethodNode methodNode, boolean serializable)default StringcreateMethodDescriptor(MethodNode abstractMethodNode)default ClassNodegetFunctionalInterfaceType(Expression expression)default ParameterprependParameter(List<Parameter> methodParameterList, String parameterName, ClassNode parameterType)
-
Field Details
-
ORIGINAL_PARAMETERS_WITH_EXACT_TYPE
- See Also:
- Constant Field Values
-
-
Method Details
-
getFunctionalInterfaceType
-
createMethodDescriptor
-
createBootstrapMethod
default org.objectweb.asm.Handle createBootstrapMethod(boolean isInterface, boolean serializable) -
createBootstrapMethodArguments
default Object[] createBootstrapMethodArguments(String abstractMethodDesc, int insn, ClassNode methodOwner, MethodNode methodNode, boolean serializable) -
convertParameterType
-
prependParameter
-