Class ParameterNode


  • public class ParameterNode
    extends java.lang.Object
    A node that represents a parameter of a method.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int access
      The parameter's access flags (see Opcodes).
      java.lang.String name
      The parameter's name.
    • Constructor Summary

      Constructors 
      Constructor Description
      ParameterNode​(java.lang.String name, int access)
      Constructs a new ParameterNode.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(MethodVisitor methodVisitor)
      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 java.lang.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​(java.lang.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 methodVisitor)
        Makes the given visitor visit this parameter declaration.
        Parameters:
        methodVisitor - a method visitor.