Class

com.fulcrumgenomics.commons.reflect

Argument

Related Doc: package reflect

Permalink

class Argument extends AnyRef

Represents a single argument in a constructor.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Argument
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Argument(declaringClass: Class[_], index: Int, name: String, defaultValue: Option[Any], argumentType: Class[_], unitType: Class[_], constructableType: Class[_], typeName: String)

    Permalink

    declaringClass

    the class that declares the constructor

    index

    the 0-based index of this argument in the constructor argument list

    name

    the name of this argument

    defaultValue

    the default value if there is one. Note that this can be quite confusing for arguments that themselves are Option types. E.g. an option type argument could have a default value of None which would lead to defaultValue being Some(None)!

    argumentType

    the type of the argument in the parameter list

    unitType

    either argumentType, or in the case that argumentType represents a container (collection, option) the type of the elements

    constructableType

    a type that can actually be constructed, e.g. in the case of primitive types this would be the wrapper type

    typeName

    the String name that identifies the unit type. May be the simple name of a class, or if a type alias is used, the string name of the type alias

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Argument to any2stringadd[Argument] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Argument, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Argument to ArrowAssoc[Argument] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. val argumentType: Class[_]

    Permalink

    the type of the argument in the parameter list

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val constructableType: Class[_]

    Permalink

    a type that can actually be constructed, e.g.

    a type that can actually be constructed, e.g. in the case of primitive types this would be the wrapper type

  10. val declaringClass: Class[_]

    Permalink

    the class that declares the constructor

  11. val defaultValue: Option[Any]

    Permalink

    the default value if there is one.

    the default value if there is one. Note that this can be quite confusing for arguments that themselves are Option types. E.g. an option type argument could have a default value of None which would lead to defaultValue being Some(None)!

  12. def ensuring(cond: (Argument) ⇒ Boolean, msg: ⇒ Any): Argument

    Permalink
    Implicit information
    This member is added by an implicit conversion from Argument to Ensuring[Argument] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (Argument) ⇒ Boolean): Argument

    Permalink
    Implicit information
    This member is added by an implicit conversion from Argument to Ensuring[Argument] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): Argument

    Permalink
    Implicit information
    This member is added by an implicit conversion from Argument to Ensuring[Argument] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): Argument

    Permalink
    Implicit information
    This member is added by an implicit conversion from Argument to Ensuring[Argument] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Argument to StringFormat[Argument] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hasValue: Boolean

    Permalink

    true if the field has been set, either by a default value or by the user

  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. val index: Int

    Permalink

    the 0-based index of this argument in the constructor argument list

  24. val isCollection: Boolean

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. val name: String

    Permalink

    the name of this argument

  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def typeDescription: String

    Permalink

    Gets the descriptive name of the Type of the field that should be used in printed output.

  33. val typeName: String

    Permalink

    the String name that identifies the unit type.

    the String name that identifies the unit type. May be the simple name of a class, or if a type alias is used, the string name of the type alias

  34. val unitType: Class[_]

    Permalink

    either argumentType, or in the case that argumentType represents a container (collection, option) the type of the elements

  35. def value: Option[Any]

    Permalink

    Retrieves the current set value of the argument.

  36. def value_=(value: Any): Unit

    Permalink

    Sets the value of the argument.

    Sets the value of the argument. Passing null will cause the value to be set to None.

  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def [B](y: B): (Argument, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Argument to ArrowAssoc[Argument] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Argument to any2stringadd[Argument]

Inherited by implicit conversion StringFormat from Argument to StringFormat[Argument]

Inherited by implicit conversion Ensuring from Argument to Ensuring[Argument]

Inherited by implicit conversion ArrowAssoc from Argument to ArrowAssoc[Argument]

Ungrouped