Interface ParameterDescription

    • Field Detail

      • NAME_PREFIX

        static final java.lang.String NAME_PREFIX
        The prefix for names of an unnamed parameter.
        See Also:
        Constant Field Values
    • Method Detail

      • getType

        TypeDescription.Generic getType()
        Returns the type of this parameter.
        Returns:
        The type of this parameter.
      • getDeclaringMethod

        MethodDescription getDeclaringMethod()
        Returns the method that declares this parameter.
        Returns:
        The method that declares this parameter.
      • getIndex

        int getIndex()
        Returns this parameter's index.
        Returns:
        The index of this parameter.
      • hasModifiers

        boolean hasModifiers()
        Checks if this parameter has an explicit modifier. A parameter without a modifier is simply treated as if it had a modifier of zero.
        Returns:
        true if this parameter defines explicit modifiers.
      • getOffset

        int getOffset()
        Returns the offset to the parameter value within the local method variable.
        Returns:
        The offset of this parameter's value.