-
@Deprecated public interface Parameter
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet. For more information, see the Migration Guide in the documentation for that package.Parameter information. This includes a parameter type and parameter name.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AnnotationDesc[]annotations()Deprecated.Get the annotations of this parameter.Stringname()Deprecated.Get local name of this parameter.StringtoString()Deprecated.Returns a string representation of the parameter.Typetype()Deprecated.Get the type of this parameter.StringtypeName()Deprecated.Get type name of this parameter.
-
-
-
Method Detail
-
type
Type type()
Deprecated.Get the type of this parameter.- Returns:
- the type of this parameter.
-
name
String name()
Deprecated.Get local name of this parameter. For example if parameter is the short 'index', returns "index".- Returns:
- the name of this parameter as a string.
-
typeName
String typeName()
Deprecated.Get type name of this parameter. For example if parameter is the short 'index', returns "short".This method returns a complete string representation of the type, including the dimensions of arrays and the type arguments of parameterized types. Names are qualified.
- Returns:
- a complete string representation of the type.
-
toString
String toString()
Deprecated.Returns a string representation of the parameter.For example if parameter is the short 'index', returns "short index".
-
annotations
AnnotationDesc[] annotations()
Deprecated.Get the annotations of this parameter. Return an empty array if there are none.- Returns:
- the annotations of this parameter.
- Since:
- 1.5
-
-