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

Attributes

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

Source:
MainAnnotation.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete fields

Attributes

Source:
MainAnnotation.scala

Attributes

Source:
MainAnnotation.scala