c

app.wordpace.inkwell.generator

ImportSimplifyingTypeEmitter

class ImportSimplifyingTypeEmitter extends DefaultTypeEmitter

Simplifies the names of all imported types and packages.

Simplifies "java.lang._", "scala._", "scala.Predef._" and the current compilation unit's package by default, since Scala imports these namespaces by default.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImportSimplifyingTypeEmitter
  2. DefaultTypeEmitter
  3. TypeEmitter
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ImportSimplifyingTypeEmitter()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(ref: TypeReference)(implicit context: CompilationUnit): String

    Turns a type reference into a raw type string.

    Turns a type reference into a raw type string. The context can be used to make additional decisions based on the

    Definition Classes
    DefaultTypeEmitterTypeEmitter
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def classes(implicit context: CompilationUnit): Set[String]
    Attributes
    protected
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def simplifyOwnerName(ownerName: OwnerName)(implicit context: CompilationUnit): Option[OwnerName]

    returns

    The shortest version of the owner name possible based on imported packages.

    Attributes
    protected
  17. def stringifyFullName(ownerName: Option[OwnerName], typeName: String)(implicit context: CompilationUnit): String

    Stringifies the full name of the current type.

    Stringifies the full name of the current type.

    Override this definition if you need to change how the T part of a raw type T[A, B, ...] is stringified.

    Definition Classes
    ImportSimplifyingTypeEmitterDefaultTypeEmitter
  18. def stringifyTypeArguments(typeArguments: Seq[TypeReference])(implicit context: CompilationUnit): Seq[String]

    Stringifies each type argument of the current type.

    Stringifies each type argument of the current type.

    Override this definition if you need to change how the A, B, ... parts of a raw type T[A, B, ...] are stringified.

    typeArguments

    Most of the time, the sequence is empty for types without type arguments, so don't assume the sequence has elements!

    Attributes
    protected
    Definition Classes
    DefaultTypeEmitter
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def wildcards(implicit context: CompilationUnit): Set[String]
    Attributes
    protected

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from DefaultTypeEmitter

Inherited from TypeEmitter

Inherited from AnyRef

Inherited from Any

Ungrouped