com.gensler.scalavro.util

ReflectionHelpers

object ReflectionHelpers extends ReflectionHelpers

Companion object for ReflectionHelpers

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReflectionHelpers
  2. ReflectionHelpers
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class CaseClassFactory[T] extends AnyRef

    Encapsulates functionality to reflectively invoke the constructor for a given case class type T.

  2. case class CompanionMetadata[T](symbol: scala.reflect.api.JavaUniverse.ModuleSymbol, instance: Any, instanceMirror: scala.reflect.api.JavaUniverse.InstanceMirror, classType: scala.reflect.api.JavaUniverse.Type) extends Product with Serializable

    Wraps information about a companion object for a type.

  3. class ProductElementExtractor[P, T] extends AnyRef

    Provides access to named members of instances of the supplied type P.

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. object CompanionMetadata extends Serializable

    Definition Classes
    ReflectionHelpers
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def caseClassParamsOf[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): ListMap[String, scala.reflect.api.JavaUniverse.TypeTag[_]]

    Returns a map from formal parameter names to type tags, containing one mapping for each constructor argument.

    Returns a map from formal parameter names to type tags, containing one mapping for each constructor argument. The resulting map (a ListMap) preserves the order of the primary constructor's parameter list.

    Attributes
    protected[com.gensler.scalavro]
    Definition Classes
    ReflectionHelpers
  9. val classLoaderMirror: scala.reflect.api.JavaUniverse.Mirror

    Attributes
    protected[com.gensler.scalavro]
    Definition Classes
    ReflectionHelpers
  10. def classSymbolIsTypeable(sym: scala.reflect.api.JavaUniverse.ClassSymbol): Boolean

    Returns true iff the supplied class symbol corresponds to a serializable type.

    Returns true iff the supplied class symbol corresponds to a serializable type.

    Attributes
    protected[com.gensler.scalavro]
    Definition Classes
    ReflectionHelpers
  11. def classTagForType(tpe: scala.reflect.api.JavaUniverse.Type): ClassTag[_]

    Returns a ClassTag from the current class loader mirror for the supplied type.

    Returns a ClassTag from the current class loader mirror for the supplied type.

    Attributes
    protected[com.gensler.scalavro]
    Definition Classes
    ReflectionHelpers
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def companionBuilderFactory[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[scala.reflect.api.JavaUniverse.MethodMirror]

    Returns Some(methodMirror) for the Builder-valued 0-argument method of the supplied type's companion object, if one exists.

    Returns Some(methodMirror) for the Builder-valued 0-argument method of the supplied type's companion object, if one exists. Returns None otherwise.

    Attributes
    protected[this]
    Definition Classes
    ReflectionHelpers
  14. def companionVarargsApply[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[scala.reflect.api.JavaUniverse.MethodMirror]

    Returns Some(methodMirror) for the public varargs apply method of the supplied type's companion object, if one exists.

    Returns Some(methodMirror) for the public varargs apply method of the supplied type's companion object, if one exists. Returns None otherwise.

    Attributes
    protected[this]
    Definition Classes
    ReflectionHelpers
  15. def enumForValue[V <: Value](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[V]): scala.reflect.api.JavaUniverse.TypeTag[_ <: Enumeration]

    Returns a type tag for the parent scala.Enumeration of the supplied enumeration value type.

    Returns a type tag for the parent scala.Enumeration of the supplied enumeration value type.

    Attributes
    protected[com.gensler.scalavro]
    Definition Classes
    ReflectionHelpers
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

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

    Definition Classes
    Any
  22. lazy val log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  26. def singleArgumentConstructor[T, A](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], arg1: scala.reflect.api.JavaUniverse.TypeTag[A]): Option[scala.reflect.api.JavaUniverse.MethodMirror]

    Returns Some(MethodMirror) for the public construcor of the supplied class type that takes the supplied argument type as its only parameter.

    Returns Some(MethodMirror) for the public construcor of the supplied class type that takes the supplied argument type as its only parameter.

    Returns None if no suitable public single-argument constructor can be found for the supplied type.

    T

    the type of the class to inspect for a suitable single-argument constructor

    A

    the type of the constructor's formal parameter

    Attributes
    protected[com.gensler.scalavro]
    Definition Classes
    ReflectionHelpers
  27. def symbolsOf[E <: Enumeration](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[E]): Seq[String]

    Returns a sequence of Strings, each of which names a value of the supplied enumeration type.

    Returns a sequence of Strings, each of which names a value of the supplied enumeration type.

    Attributes
    protected[com.gensler.scalavro]
    Definition Classes
    ReflectionHelpers
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def tagForType(tpe: scala.reflect.api.JavaUniverse.Type): scala.reflect.api.JavaUniverse.TypeTag[_]

    Returns a TypeTag in the current runtime universe for the supplied type.

    Returns a TypeTag in the current runtime universe for the supplied type.

    Attributes
    protected[com.gensler.scalavro]
    Definition Classes
    ReflectionHelpers
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. def typeableSubTypesOf[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[scala.reflect.api.JavaUniverse.TypeTag[_]]

    Returns a TypeTag for each currently loaded avro-typeable subtype of the supplied type.

    Returns a TypeTag for each currently loaded avro-typeable subtype of the supplied type.

    Attributes
    protected[com.gensler.scalavro]
    Definition Classes
    ReflectionHelpers
  32. def varargsFactory[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Try[(Any*) ⇒ T]

    Returns Success(methodMirror) for a varargs factory method derived from the supplied type's companion object, if one can be derived.

    Returns Success(methodMirror) for a varargs factory method derived from the supplied type's companion object, if one can be derived. Returns a Failure otherwise.

    Attributes
    protected[com.gensler.scalavro]
    Definition Classes
    ReflectionHelpers
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ReflectionHelpers

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped