Interface JParamDeclaration

All Superinterfaces:
JAnnotatable

public interface JParamDeclaration extends JAnnotatable
A parameter declaration.
Author:
David M. Lloyd
  • Method Summary

    Modifier and Type
    Method
    Description
    doc()
    Get the @param JavaDoc block for this parameter.
    int
    Get the parameter modifiers.
    Get the parameter name.
    Get the parameter type.
    boolean
    Determine whether the parameter is a vararg parameter.

    Methods inherited from interface org.jboss.jdeparser.JAnnotatable

    annotate, annotate, annotate
  • Method Details

    • type

      JType type()
      Get the parameter type.
      Returns:
      the parameter type
    • name

      String name()
      Get the parameter name.
      Returns:
      the parameter name
    • mods

      int mods()
      Get the parameter modifiers.
      Returns:
      the parameter modifiers
    • varargs

      boolean varargs()
      Determine whether the parameter is a vararg parameter.
      Returns:
      true if the parameter is vararg, false otherwise
    • doc

      JComment doc()
      Get the @param JavaDoc block for this parameter.
      Returns:
      the comment block