## 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 change
  org.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 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)`

    Methods in org.apache.tapestry5.internal.plastic that return types with arguments of type PlasticMethod
    Modifier and Type | Method and Description
    --- | ---
    `List<PlasticMethod>` | PlasticClassImpl.`getMethods()`
    `<T extends Annotation> List<PlasticMethod>` | PlasticClassImpl.`getMethodsWithAnnotation(Class<T> annotationType)`
    `Set<PlasticMethod>` | PlasticClassImpl.`introduceInterface(Class interfaceType)`

    Methods in org.apache.tapestry5.internal.plastic with parameters of type PlasticMethod
    Modifier and Type | Method and Description
    --- | ---
    `InstructionBuilder` | InstructionBuilderImpl.`invokeVirtual(PlasticMethod method)`

  - ### Uses of PlasticMethod in org.apache.tapestry5.plastic

    Methods in org.apache.tapestry5.plastic that return PlasticMethod
    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.

    Methods in org.apache.tapestry5.plastic that return types with arguments of type PlasticMethod
    Modifier and Type | Method and Description
    --- | ---
    `List<PlasticMethod>` | PlasticClass.`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.
    `Set<PlasticMethod>` | PlasticClass.`introduceInterface(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 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.