scala.reflect.api
![Type Type](https://ps.w.org/borderless/assets/screenshot-3.png?rev=2504539)
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
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
- TypeCreator
- Serializable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Public
- Protected
Abstract Value Members
- abstract defapply[U <: Universe with Singleton](m: Mirror[U]): apply.U.Type
Concrete Value Members
- final def!=(arg0: Any): Boolean
- final def##: Int
- Definition Classes
- AnyRef → Any
- 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
- [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()
- final def(arg0: Any): Boolean
- final defasInstanceOf[T0]: T0
- Definition Classes
- Any
- defclone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException])@native()
- 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
- 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
- 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
- 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
- final defeq(arg0: AnyRef): Boolean
- defequals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- deffinalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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()
- final defgetClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- defhashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final defisInstanceOf[T0]: Boolean
- final defne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final defnotify(): Unit
- final defnotifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- T0):T0'>final defsynchronized[T0](arg0: => T0): T0
- deftoString(): String
- Definition Classes
- AnyRef → Any
- final defwait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final defwait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final defwait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])@native()
Deprecated Value Members
- 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]
![](https://cdn-ak.f.st-hatena.com/images/fotolife/r/ruriatunifoefec/20200910/20200910011337.png)