Uses of Interface
org.apache.tapestry5.plastic.PlasticMethod
-
Packages that use PlasticMethod 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 PlasticMethod in org.apache.tapestry5.internal.plastic
Methods in org.apache.tapestry5.internal.plastic that return PlasticMethod Modifier and Type Method Description PlasticMethodPlasticClassImpl. introduceMethod(java.lang.reflect.Method method)PlasticMethodPlasticClassImpl. introduceMethod(MethodDescription description)PlasticMethodPlasticClassImpl. introduceMethod(MethodDescription description, InstructionBuilderCallback callback)PlasticMethodPlasticClassImpl. introducePrivateMethod(java.lang.String typeName, java.lang.String suggestedName, java.lang.String[] argumentTypes, java.lang.String[] exceptionTypes)Methods in org.apache.tapestry5.internal.plastic that return types with arguments of type PlasticMethod Modifier and Type Method Description java.util.List<PlasticMethod>PlasticClassImpl. getMethods()<T extends java.lang.annotation.Annotation>
java.util.List<PlasticMethod>PlasticClassImpl. getMethodsWithAnnotation(java.lang.Class<T> annotationType)java.util.Set<PlasticMethod>PlasticClassImpl. introduceInterface(java.lang.Class interfaceType)Methods in org.apache.tapestry5.internal.plastic with parameters of type PlasticMethod Modifier and Type Method Description InstructionBuilderInstructionBuilderImpl. invokeVirtual(PlasticMethod method)PlasticClassPlasticClassImpl. proxyInterface(java.lang.Class interfaceType, PlasticMethod method) -
Uses of PlasticMethod in org.apache.tapestry5.plastic
Methods in org.apache.tapestry5.plastic that return PlasticMethod Modifier and Type Method Description PlasticMethodPlasticMethod. addAdvice(MethodAdvice advice)Adds advice to the method.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.PlasticMethodPlasticMethod. delegateTo(PlasticField field)Changes the implementation of the method to delegate to the provided field.PlasticMethodPlasticMethod. delegateTo(PlasticMethod method)Much likedelegateTo(PlasticField), but the object to delegate to is dynamically computed by another method of the class.PlasticMethodPlasticClass. introduceMethod(java.lang.reflect.Method method)A convenience that creates aMethodDescriptionfrom the Method and introduces that.PlasticMethodPlasticClass. introduceMethod(MethodDescription description)Returns an existing method declared in this class, or introduces a new method into this class.PlasticMethodPlasticClass. introduceMethod(MethodDescription description, InstructionBuilderCallback callback)Returns an existing method declared in this class, or introduces a new method into this class.PlasticMethodPlasticClass. introducePrivateMethod(java.lang.String typeName, java.lang.String suggestedName, java.lang.String[] argumentTypes, java.lang.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 PlasticMethod Modifier and Type Method Description java.util.List<PlasticMethod>PlasticClass. getMethods()Returns all methods of the class, in sorted order.<T extends java.lang.annotation.Annotation>
java.util.List<PlasticMethod>PlasticClass. getMethodsWithAnnotation(java.lang.Class<T> annotationType)Matches methods with the given annotation.java.util.Set<PlasticMethod>PlasticClass. introduceInterface(java.lang.Class interfaceType)Introduces each method defined by the interface into the class.Methods in org.apache.tapestry5.plastic with parameters of type PlasticMethod Modifier and Type Method Description PlasticMethodPlasticMethod. delegateTo(PlasticMethod method)Much likedelegateTo(PlasticField), but the object to delegate to is dynamically computed by another method of the class.InstructionBuilderInstructionBuilder. invokeVirtual(PlasticMethod method)PlasticClassPlasticClass. proxyInterface(java.lang.Class interfaceType, PlasticMethod method)Introduces the interface, and then invokesdelegateTo(PlasticMethod)on each method defined by the interface.
-