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 |
---|---|
PlasticMethod |
PlasticClassImpl.introduceMethod(Method method) |
PlasticMethod |
PlasticClassImpl.introduceMethod(MethodDescription description) |
PlasticMethod |
PlasticClassImpl.introduceMethod(MethodDescription description,
InstructionBuilderCallback callback) |
PlasticMethod |
PlasticClassImpl.introducePrivateMethod(String typeName,
String suggestedName,
String[] argumentTypes,
String[] exceptionTypes) |
Modifier and Type | Method and Description |
---|---|
List<PlasticMethod> |
PlasticClassImpl.getMethods() |
<T extends Annotation> |
PlasticClassImpl.getMethodsWithAnnotation(Class<T> annotationType) |
Set<PlasticMethod> |
PlasticClassImpl.introduceInterface(Class interfaceType) |
Modifier and Type | Method and Description |
---|---|
InstructionBuilder |
InstructionBuilderImpl.invokeVirtual(PlasticMethod method) |
Modifier and Type | Method and Description |
---|---|
PlasticMethod |
PlasticMethod.addAdvice(MethodAdvice advice)
Adds advice to the method.
|
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 |
PlasticMethod.delegateTo(PlasticField field)
Changes the implementation of the method to delegate to the provided field.
|
PlasticMethod |
PlasticMethod.delegateTo(PlasticMethod method)
Much like
delegateTo(PlasticField) , but the object to delegate to
is dynamically computed by another method of the class. |
PlasticMethod |
PlasticClass.introduceMethod(Method method)
A convenience that creates a
MethodDescription from the Method and introduces that. |
PlasticMethod |
PlasticClass.introduceMethod(MethodDescription description)
Returns an existing method declared in this class, or introduces a new method into this class.
|
PlasticMethod |
PlasticClass.introduceMethod(MethodDescription description,
InstructionBuilderCallback callback)
Returns an existing method declared in this class, or introduces a new method into this class.
|
PlasticMethod |
PlasticClass.introducePrivateMethod(String typeName,
String suggestedName,
String[] argumentTypes,
String[] exceptionTypes)
Introduces a new private method into the class, ensuring that the method name is unique.
|
Modifier and Type | Method and Description |
---|---|
List<PlasticMethod> |
PlasticClass.getMethods()
Returns all methods of the class, in sorted order.
|
<T extends Annotation> |
PlasticClass.getMethodsWithAnnotation(Class<T> annotationType)
Matches methods with the given annotation.
|
Set<PlasticMethod> |
PlasticClass.introduceInterface(Class interfaceType)
Introduces each method defined by the interface into the class.
|
Modifier and Type | Method and Description |
---|---|
PlasticMethod |
PlasticMethod.delegateTo(PlasticMethod method)
Much like
delegateTo(PlasticField) , but the object to delegate to
is dynamically computed by another method of the class. |
InstructionBuilder |
InstructionBuilder.invokeVirtual(PlasticMethod method) |
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.