Uses of Interface
org.apache.tapestry5.plastic.InstructionBuilderCallback
Packages that use InstructionBuilderCallback
Package
Description
[INTERNAL USE ONLY] Plastic implementation details; API subject to change
Plastic, Tapestry's component class transformation library based on ASM
-
Uses of InstructionBuilderCallback in org.apache.tapestry5.internal.plastic
Methods in org.apache.tapestry5.internal.plastic with parameters of type InstructionBuilderCallbackModifier and TypeMethodDescriptionvoid
SwitchBlockImpl.addCase
(int caseValue, boolean jumpToEnd, InstructionBuilderCallback callback) void
TryCatchBlockImpl.addCatch
(String exceptionClassName, InstructionBuilderCallback callback) void
SwitchBlockImpl.addDefault
(InstructionBuilderCallback callback) void
TryCatchBlockImpl.addFinally
(InstructionBuilderCallback callback) void
TryCatchBlockImpl.addTry
(InstructionBuilderCallback callback) PlasticClassImpl.introduceMethod
(MethodDescription description, InstructionBuilderCallback callback) InstructionBuilderImpl.iterateArray
(InstructionBuilderCallback callback) InstructionBuilderImpl.when
(Condition condition, InstructionBuilderCallback ifTrue) -
Uses of InstructionBuilderCallback in org.apache.tapestry5.plastic
Methods in org.apache.tapestry5.plastic with parameters of type InstructionBuilderCallbackModifier and TypeMethodDescriptionvoid
SwitchBlock.addCase
(int caseValue, boolean jumpToEnd, InstructionBuilderCallback callback) Adds a handler for a particular case value.void
TryCatchBlock.addCatch
(String exceptionClassName, InstructionBuilderCallback callback) Ends the block (if not already ended) and inserts a catch block for the named exception.void
SwitchBlock.addDefault
(InstructionBuilderCallback callback) Adds the default handler.void
TryCatchBlock.addFinally
(InstructionBuilderCallback callback) As withTryCatchBlock.addCatch(String, InstructionBuilderCallback)
, but the exception caught is null, which acts as a finally block in the Java language.void
TryCatchBlock.addTry
(InstructionBuilderCallback callback) Invoked first, to generate the code in which exceptions may be caught.PlasticMethod.changeImplementation
(InstructionBuilderCallback callback) Clears the instructions for this method, and creates a new empty InstructionBuilder so that the implementation of the method can be specified.PlasticClass.introduceMethod
(MethodDescription description, InstructionBuilderCallback callback) Returns an existing method declared in this class, or introduces a new method into this class.InstructionBuilder.iterateArray
(InstructionBuilderCallback callback) Expects an array to be the top value on the stack.InstructionBuilder.when
(Condition condition, InstructionBuilderCallback ifTrue) Simplified version ofInstructionBuilder.when(Condition, WhenCallback)
that simply executes the callback code when the condition is true and does nothing if the condition is false (the more general case).