MainAnnotation

scala.annotation.MainAnnotation$
See theMainAnnotation companion trait

Attributes

Companion
trait
Experimental
true
Source
MainAnnotation.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Experimental classlikes

final class Info(val name: String, val documentation: String, val parameters: Seq[Parameter])

Information about the main method

Information about the main method

Value parameters

documentation

The documentation of the main method without the @param documentation (see Parameter.documentaion)

name

The name of the main method

parameters

Information about the parameters of the main method

Attributes

Experimental
true
Source
MainAnnotation.scala
Supertypes
class Object
trait Matchable
class Any
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

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
Supertypes
class Object
trait Matchable
class Any

Marker trait for annotations that will be included in the Parameter annotations.

Marker trait for annotations that will be included in the Parameter annotations.

Attributes

Experimental
true
Source
MainAnnotation.scala
Supertypes
class Annotation
class Object
trait Matchable
class Any
Known subtypes
class alias