io.atomicbits.scraml.generator.model

ClassReference

case class ClassReference(name: String, packageParts: List[String] = immutable.this.List.empty[Nothing], typeVariables: List[String] = immutable.this.List.empty[Nothing], 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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def asTypedClassReference: TypedClassReference

    Definition Classes
    ClassPointer
  8. def canonicalNameJava: String

    Definition Classes
    ClassReferenceClassPointer
  9. def canonicalNameScala: String

    Definition Classes
    ClassReferenceClassPointer
  10. def classDefinitionJava: String

    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
  11. def classDefinitionScala: String

    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
  12. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  18. def isJavaArray: Boolean

    Definition Classes
    ClassPointer
  19. val library: Boolean

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

  20. val name: String

    The name of the class.

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

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def packageName: String

    Definition Classes
    ClassReferenceClassPointer
  25. val packageParts: List[String]

    The package parts that comprise the full package name.

  26. val predef: Boolean

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

  27. def safePackageParts: List[String]

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

    Definition Classes
    AnyRef
  29. val typeVariables: List[String]

    The type variables ths class reference holds.

  30. final def wait(): Unit

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

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

    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