Uses of Interface
org.apache.tapestry5.plastic.PlasticMethod
Packages that use PlasticMethod
Package
Description
[INTERNAL USE ONLY] Plastic implementation details; API subject to change
Plastic, Tapestry's component class transformation library based on ASM
-
Uses of PlasticMethod in org.apache.tapestry5.internal.plastic
Methods in org.apache.tapestry5.internal.plastic that return PlasticMethodModifier and TypeMethodDescriptionPlasticClassImpl.introduceMethod
(Method method) PlasticClassImpl.introduceMethod
(MethodDescription description) PlasticClassImpl.introduceMethod
(MethodDescription description, InstructionBuilderCallback callback) PlasticClassImpl.introducePrivateMethod
(String typeName, String suggestedName, String[] argumentTypes, String[] exceptionTypes) Methods in org.apache.tapestry5.internal.plastic that return types with arguments of type PlasticMethodModifier and TypeMethodDescriptionPlasticClassImpl.getMethods()
<T extends Annotation>
List<PlasticMethod>PlasticClassImpl.getMethodsWithAnnotation
(Class<T> annotationType) PlasticClassImpl.introduceInterface
(Class interfaceType) Methods in org.apache.tapestry5.internal.plastic with parameters of type PlasticMethodModifier and TypeMethodDescriptionInstructionBuilderImpl.invokeVirtual
(PlasticMethod method) PlasticClassImpl.proxyInterface
(Class interfaceType, PlasticMethod method) -
Uses of PlasticMethod in org.apache.tapestry5.plastic
Methods in org.apache.tapestry5.plastic that return PlasticMethodModifier and TypeMethodDescriptionPlasticMethod.addAdvice
(MethodAdvice advice) Adds advice to the method.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.delegateTo
(PlasticField field) Changes the implementation of the method to delegate to the provided field.PlasticMethod.delegateTo
(PlasticMethod method) Much likedelegateTo(PlasticField)
, but the object to delegate to is dynamically computed by another method of the class.PlasticClass.introduceMethod
(Method method) A convenience that creates aMethodDescription
from the Method and introduces that.PlasticClass.introduceMethod
(MethodDescription description) Returns an existing method declared in this class, or introduces a new method into this class.PlasticClass.introduceMethod
(MethodDescription description, InstructionBuilderCallback callback) Returns an existing method declared in this class, or introduces a new method into this class.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.Methods in org.apache.tapestry5.plastic that return types with arguments of type PlasticMethodModifier and TypeMethodDescriptionPlasticClass.getMethods()
Returns all methods of the class, in sorted order.<T extends Annotation>
List<PlasticMethod>PlasticClass.getMethodsWithAnnotation
(Class<T> annotationType) Matches methods with the given annotation.PlasticClass.introduceInterface
(Class interfaceType) Introduces each method defined by the interface into the class.Methods in org.apache.tapestry5.plastic with parameters of type PlasticMethodModifier and TypeMethodDescriptionPlasticMethod.delegateTo
(PlasticMethod method) Much likedelegateTo(PlasticField)
, but the object to delegate to is dynamically computed by another method of the class.InstructionBuilder.invokeVirtual
(PlasticMethod method) PlasticClass.proxyInterface
(Class interfaceType, PlasticMethod method) Introduces the interface, and then invokesdelegateTo(PlasticMethod)
on each method defined by the interface.