Uses of Interface
org.apache.tapestry5.plastic.InstructionBuilderCallback
-
Packages that use InstructionBuilderCallback Package Description org.apache.tapestry5.internal.plastic [INTERNAL USE ONLY] Plastic implementation details; API subject to changeorg.apache.tapestry5.plastic 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 InstructionBuilderCallback Modifier and Type Method Description voidSwitchBlockImpl. addCase(int caseValue, boolean jumpToEnd, InstructionBuilderCallback callback)voidTryCatchBlockImpl. addCatch(java.lang.String exceptionClassName, InstructionBuilderCallback callback)voidSwitchBlockImpl. addDefault(InstructionBuilderCallback callback)voidTryCatchBlockImpl. addFinally(InstructionBuilderCallback callback)voidTryCatchBlockImpl. addTry(InstructionBuilderCallback callback)PlasticMethodPlasticClassImpl. introduceMethod(MethodDescription description, InstructionBuilderCallback callback)InstructionBuilderInstructionBuilderImpl. iterateArray(InstructionBuilderCallback callback)InstructionBuilderInstructionBuilderImpl. when(Condition condition, InstructionBuilderCallback ifTrue) -
Uses of InstructionBuilderCallback in org.apache.tapestry5.plastic
Methods in org.apache.tapestry5.plastic with parameters of type InstructionBuilderCallback Modifier and Type Method Description voidSwitchBlock. addCase(int caseValue, boolean jumpToEnd, InstructionBuilderCallback callback)Adds a handler for a particular case value.voidTryCatchBlock. addCatch(java.lang.String exceptionClassName, InstructionBuilderCallback callback)Ends the block (if not already ended) and inserts a catch block for the named exception.voidSwitchBlock. addDefault(InstructionBuilderCallback callback)Adds the default handler.voidTryCatchBlock. addFinally(InstructionBuilderCallback callback)As withTryCatchBlock.addCatch(String, InstructionBuilderCallback), but the exception caught is null, which acts as a finally block in the Java language.voidTryCatchBlock. addTry(InstructionBuilderCallback callback)Invoked first, to generate the code in which exceptions may be caught.PlasticMethodPlasticMethod. 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.PlasticMethodPlasticClass. introduceMethod(MethodDescription description, InstructionBuilderCallback callback)Returns an existing method declared in this class, or introduces a new method into this class.InstructionBuilderInstructionBuilder. iterateArray(InstructionBuilderCallback callback)Expects an array to be the top value on the stack.InstructionBuilderInstructionBuilder. 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).
-