MainAnnotation

scala.annotation.MainAnnotation$
See theMainAnnotation companion trait

Attributes

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

Members list

Concise view

Type members

Classlikes

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

Information about the main method

Information about the main method

Attributes

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

Source:
MainAnnotation.scala
Graph
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

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

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

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