类 ParameterInfo

  • 所有已实现的接口:
    java.io.Serializable, Processable

    public class ParameterInfo
    extends SimpleProcessable
    Representation of a parameter, as defined in a method parameters attribute.
    另请参阅:
    序列化表格
    • 字段详细资料

      • u2nameIndex

        public int u2nameIndex
      • u2accessFlags

        public int u2accessFlags
    • 构造器详细资料

      • ParameterInfo

        public ParameterInfo()
        Creates an uninitialized ParameterInfo.
      • ParameterInfo

        public ParameterInfo​(int u2nameIndex,
                             int u2accessFlags)
        Creates an initialized ParameterInfo.
    • 方法详细资料

      • getName

        public java.lang.String getName​(Clazz clazz)
        Returns the parameter name.
      • nameConstantAccept

        public void nameConstantAccept​(Clazz clazz,
                                       ConstantVisitor constantVisitor)
        Applies the given constant pool visitor to the Utf8 constant that represents the name of the parameter, if any.