Package org.apache.tapestry5.plastic

## Interface MethodParameter

- All Superinterfaces:
    `AnnotationAccess`

      public interface MethodParameter
      extends AnnotationAccess

  Access to the parameters of a method, in particular, any visible annotations on that method.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getIndex()` | Returns the index of the parameter (counting from zero).
    `String` | `getType()` | Returns the Java type name of the parameter.

    - ### Methods inherited from interface org.apache.tapestry5.plastic.AnnotationAccess

      `getAnnotation, hasAnnotation`

- - ### Method Detail

    - #### getType

          String getType()

      Returns the Java type name of the parameter.

    - #### getIndex

          int getIndex()

      Returns the index of the parameter (counting from zero). This numbering is compatible with `InstructionBuilder.loadArgument(int)`.