MainAnnotation

Companion:
class
class Object
trait Matchable
class Any

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

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

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

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

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