Parameter
scala.annotation.MainAnnotation.Parameter
final class Parameter(val name: String, val typeName: String, val hasDefault: Boolean, val isVarargs: Boolean, val documentation: String, val annotations: Seq[ParameterAnnotation])
Information about a parameter of a main method
Value parameters
- annotations
-
The annotations of the parameter that extend
ParameterAnnotation
- documentation
-
The documentation of the parameter (from
@param
documentation in the main method) - hasDefault
-
If the parameter has a default argument
- isVarargs
-
If the parameter is a varargs parameter (can only be true for the last parameter)
- name
-
The name of the parameter
- typeName
-
The name of the parameter's type
Attributes
- Experimental
- true
- Source
- MainAnnotation.scala
- Graph
-
- Supertypes
Members list
In this article