Package | Description |
---|---|
org.apache.tapestry5.internal.plastic |
[INTERNAL USE ONLY] Plastic implementation details; API subject to change
|
org.apache.tapestry5.plastic |
Plastic, Tapestry's component class transformation library based on ASM
|
Modifier and Type | Method and Description |
---|---|
void |
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) |
PlasticMethod |
PlasticClassImpl.introduceMethod(MethodDescription description,
InstructionBuilderCallback callback) |
InstructionBuilder |
InstructionBuilderImpl.iterateArray(InstructionBuilderCallback callback) |
InstructionBuilder |
InstructionBuilderImpl.when(Condition condition,
InstructionBuilderCallback ifTrue) |
Modifier and Type | Method and Description |
---|---|
void |
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 with
TryCatchBlock.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 |
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.
|
PlasticMethod |
PlasticClass.introduceMethod(MethodDescription description,
InstructionBuilderCallback callback)
Returns an existing method declared in this class, or introduces a new method into this class.
|
InstructionBuilder |
InstructionBuilder.iterateArray(InstructionBuilderCallback callback)
Expects an array to be the top value on the stack.
|
InstructionBuilder |
InstructionBuilder.when(Condition condition,
InstructionBuilderCallback ifTrue)
Simplified version of
InstructionBuilder.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). |
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.