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
-
Method Summary
Modifier and TypeMethodDescriptiondefault ClassNode
convertParameterType
(ClassNode parameterType, ClassNode inferredType) default ClassNode
convertParameterType
(ClassNode targetType, ClassNode parameterType, ClassNode inferredType) default org.objectweb.asm.Handle
createBootstrapMethod
(boolean isInterface, boolean serializable) default Object[]
createBootstrapMethodArguments
(String abstractMethodDesc, int insn, ClassNode methodOwner, MethodNode methodNode, boolean serializable) Deprecated.default Object[]
createBootstrapMethodArguments
(String abstractMethodDesc, int insn, ClassNode methodOwner, MethodNode methodNode, Parameter[] parameters, boolean serializable) default String
createMethodDescriptor
(MethodNode abstractMethodNode) default ClassNode
getFunctionalInterfaceType
(Expression expression) Deprecated.default Parameter
prependParameter
(List<Parameter> parameterList, String parameterName, ClassNode parameterType)
-
Field Details
-
ORIGINAL_PARAMETERS_WITH_EXACT_TYPE
Deprecated.- See Also:
-
-
Method Details
-
getFunctionalInterfaceType
Deprecated. -
createMethodDescriptor
-
createBootstrapMethod
default org.objectweb.asm.Handle createBootstrapMethod(boolean isInterface, boolean serializable) -
createBootstrapMethodArguments
@Deprecated default Object[] createBootstrapMethodArguments(String abstractMethodDesc, int insn, ClassNode methodOwner, MethodNode methodNode, boolean serializable) Deprecated. -
createBootstrapMethodArguments
default Object[] createBootstrapMethodArguments(String abstractMethodDesc, int insn, ClassNode methodOwner, MethodNode methodNode, Parameter[] parameters, boolean serializable) -
convertParameterType
-
convertParameterType
-
prependParameter
-