ParameterNode (ASM 5.0.4 Documentation)
Date: 2015-09-18

org.objectweb.asm.tree

## Class ParameterNode

- java.lang.Object
- - org.objectweb.asm.tree.ParameterNode

-     public class ParameterNode
      extends Object

  A node that represents a parameter access and name.
  Author:
    Remi Forax

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `access` The parameter's access flags (see `Opcodes`).
    `String` | `name` The parameter's name.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParameterNode(String name, int access)` Constructs a new `ParameterNode`.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `accept(MethodVisitor mv)` Makes the given visitor visit this parameter declaration.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### name

          public String name

      The parameter's name.

    - #### access

          public int access

      The parameter's access flags (see `Opcodes`). Valid values are `ACC_FINAL`, `ACC_SYNTHETIC` and `ACC_MANDATED`.

  - ### Constructor Detail

    - #### ParameterNode

          public ParameterNode(String name,
                       int access)

      Constructs a new `ParameterNode`.
      Parameters:
        `access` - The parameter's access flags. Valid values are `ACC_FINAL`, `ACC_SYNTHETIC` or/and `ACC_MANDATED` (see `Opcodes`).
        `name` - the parameter's name.

  - ### Method Detail

    - #### accept

          public void accept(MethodVisitor mv)

      Makes the given visitor visit this parameter declaration.
      Parameters:
        `mv` - a method visitor.