TypeCreator



scala.reflect.api

Type

Using System; using System.Collections.Generic; using System.Linq; using System.Text; using BaseTypes; using BaseTypes.Interfaces; using BaseTypes.CSharp. If you want to use the default constructor then the solution using System.Activator presented earlier is probably the most convenient. However, if the type lacks a default constructor or you have to use a non-default one, then an option is to use reflection or System.ComponentModel.TypeDescriptor. Such a class must implement the org.apache.chemistry.opencmis.inmemory.TypeCreator interface which consists of a single method that returns a list of TypeDefinition objects. This method will be called once during startup. Some clients just support read-only access.

Scala example source code file (TypeTags.scala) This example Scala source code file (TypeTags.scala) is included in my 'Source Code Warehouse' project.The intent of this project is to help you more easily find Scala source code examples by using tags. Retrieve the classInfo for a method. Needed to get parameters right. Parameters: m - Method object index - index in the parameter list Returns: info; createBasicClassInfo.

abstract classTypeCreator extends Serializable

TypeCreator

A mirror-aware factory for types.

This class is used internally by Scala Reflection, and is not recommended for use in client code.

Source
TypeCreator.scala
Linear Supertypes
Type Hierarchy
Inherited
  1. TypeCreator
  2. Serializable
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract defapply[U <: Universe with Singleton](m: Mirror[U]): apply.U.Type

Concrete Value Members

  1. final def!=(arg0: Any): Boolean
  2. final def##: Int
    Definition Classes
    AnyRef → Any
  3. def+(other: String): String
    Implicit
    This member is added by an implicit conversion from TypeCreator toany2stringadd[TypeCreator] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. [B](y:B):(A,B)'>def->[B](y: B): (TypeCreator, B)
    Implicit
    This member is added by an implicit conversion from TypeCreator toArrowAssoc[TypeCreator] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def(arg0: Any): Boolean
  6. final defasInstanceOf[T0]: T0
    Definition Classes
    Any
  7. defclone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException])@native()
  8. Boolean,msg:=>Any):A'>defensuring(cond: (TypeCreator) => Boolean, msg: => Any): TypeCreator
    Implicit
    This member is added by an implicit conversion from TypeCreator toEnsuring[TypeCreator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. Boolean):A'>defensuring(cond: (TypeCreator) => Boolean): TypeCreator
    Implicit
    This member is added by an implicit conversion from TypeCreator toEnsuring[TypeCreator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. Any):A'>defensuring(cond: Boolean, msg: => Any): TypeCreator
    Implicit
    This member is added by an implicit conversion from TypeCreator toEnsuring[TypeCreator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. defensuring(cond: Boolean): TypeCreator
    Implicit
    This member is added by an implicit conversion from TypeCreator toEnsuring[TypeCreator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final defeq(arg0: AnyRef): Boolean
  13. defequals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. deffinalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. defformatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from TypeCreator toStringFormat[TypeCreator] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final defgetClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. defhashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final defisInstanceOf[T0]: Boolean
  19. final defne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final defnotify(): Unit
  21. final defnotifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. T0):T0'>final defsynchronized[T0](arg0: => T0): T0
  23. deftoString(): String
    Definition Classes
    AnyRef → Any
  24. final defwait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final defwait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final defwait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])@native()

Deprecated Value Members

  1. def[B](y: B): (TypeCreator, B)
    Implicit
    This member is added by an implicit conversion from TypeCreator toArrowAssoc[TypeCreator] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited by implicit conversion any2stringadd fromTypeCreator to any2stringadd[TypeCreator]

Type Creator

Inherited by implicit conversion StringFormat fromTypeCreator to StringFormat[TypeCreator]

Inherited by implicit conversion Ensuring fromTypeCreator to Ensuring[TypeCreator]

Type Creation Software

Inherited by implicit conversion ArrowAssoc fromTypeCreator to ArrowAssoc[TypeCreator]