Class ParameterImpl

java.lang.Object
gw.gosudoc.com.sun.tools.javadoc.main.ParameterImpl
All Implemented Interfaces:
Parameter

@Deprecated class ParameterImpl extends Object implements Parameter
Deprecated.
ParameterImpl information. This includes a parameter type and parameter name.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final DocEnv
    Deprecated.
     
    private final com.sun.tools.javac.code.Symbol.VarSymbol
    Deprecated.
     
    private final Type
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParameterImpl(DocEnv env, com.sun.tools.javac.code.Symbol.VarSymbol sym)
    Deprecated.
    Constructor of parameter info class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Get the annotations of this parameter.
    Deprecated.
    Get local name of this parameter.
    Deprecated.
    Returns a string representation of the parameter.
    Deprecated.
    Get the type of this parameter.
    Deprecated.
    Get type name of this parameter.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • env

      private final DocEnv env
      Deprecated.
    • sym

      private final com.sun.tools.javac.code.Symbol.VarSymbol sym
      Deprecated.
    • type

      private final Type type
      Deprecated.
  • Constructor Details

    • ParameterImpl

      ParameterImpl(DocEnv env, com.sun.tools.javac.code.Symbol.VarSymbol sym)
      Deprecated.
      Constructor of parameter info class.
  • Method Details

    • type

      public Type type()
      Deprecated.
      Get the type of this parameter.
      Specified by:
      type in interface Parameter
      Returns:
      the type of this parameter.
    • name

      public String name()
      Deprecated.
      Get local name of this parameter. For example if parameter is the short 'index', returns "index".
      Specified by:
      name in interface Parameter
      Returns:
      the name of this parameter as a string.
    • typeName

      public String typeName()
      Deprecated.
      Get type name of this parameter. For example if parameter is the short 'index', returns "short".
      Specified by:
      typeName in interface Parameter
      Returns:
      a complete string representation of the type.
    • toString

      public String toString()
      Deprecated.
      Returns a string representation of the parameter.

      For example if parameter is the short 'index', returns "short index".

      Specified by:
      toString in interface Parameter
      Overrides:
      toString in class Object
      Returns:
      type name and parameter name of this parameter.
    • annotations

      public AnnotationDesc[] annotations()
      Deprecated.
      Get the annotations of this parameter. Return an empty array if there are none.
      Specified by:
      annotations in interface Parameter
      Returns:
      the annotations of this parameter.