Class

io.atomicbits.scraml.generator.model

ClassReference

Related Doc: package model

Permalink

case class ClassReference(name: String, packageParts: List[String] = List.empty, typeVariables: List[String] = List.empty, predef: Boolean = false, library: Boolean = false) extends ClassPointer with Product with Serializable

A unique reference to a class. E.g. List[T].

name

The name of the class.

packageParts

The package parts that comprise the full package name.

typeVariables

The type variables ths class reference holds.

predef

Indicates that the class is a predefined class that doesn't need to be imported to be used.

library

Indicates that the class is located in an existing library (and doesn't need to be generated).

Linear Supertypes
Serializable, Serializable, Product, Equals, ClassPointer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassReference
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ClassPointer
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClassReference(name: String, packageParts: List[String] = List.empty, typeVariables: List[String] = List.empty, predef: Boolean = false, library: Boolean = false)

    Permalink

    name

    The name of the class.

    packageParts

    The package parts that comprise the full package name.

    typeVariables

    The type variables ths class reference holds.

    predef

    Indicates that the class is a predefined class that doesn't need to be imported to be used.

    library

    Indicates that the class is located in an existing library (and doesn't need to be generated).

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def asTypedClassReference: TypedClassReference

    Permalink
    Definition Classes
    ClassPointer
  6. def canonicalNameJava: String

    Permalink
    Definition Classes
    ClassReferenceClassPointer
  7. def canonicalNameScala: String

    Permalink
    Definition Classes
    ClassReferenceClassPointer
  8. def classDefinitionJava: String

    Permalink

    The class definition as a string.

    The class definition as a string. Todo: extract this Scala vs. Java code in the code generation

    E.g.: "Boolean" "User" "List<T>"

    Definition Classes
    ClassReferenceClassPointer
  9. def classDefinitionScala: String

    Permalink

    The class definition as a string.

    The class definition as a string. Todo: extract this Scala vs. Java code in the code generation

    E.g.: "Boolean" "User" "List[T]"

    Definition Classes
    ClassReferenceClassPointer
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    ClassReferenceClassPointer
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isJavaArray: Boolean

    Permalink
    Definition Classes
    ClassPointer
  17. val library: Boolean

    Permalink

    Indicates that the class is located in an existing library (and doesn't need to be generated).

  18. val name: String

    Permalink

    The name of the class.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def packageName: String

    Permalink
    Definition Classes
    ClassReferenceClassPointer
  23. val packageParts: List[String]

    Permalink

    The package parts that comprise the full package name.

  24. val predef: Boolean

    Permalink

    Indicates that the class is a predefined class that doesn't need to be imported to be used.

  25. def safePackageParts: List[String]

    Permalink
    Definition Classes
    ClassReferenceClassPointer
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. val typeVariables: List[String]

    Permalink

    The type variables ths class reference holds.

  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ClassPointer

Inherited from AnyRef

Inherited from Any

Ungrouped