com.gensler.scalavro.util

ReflectionHelpers

trait ReflectionHelpers extends Logging

Linear Supertypes
Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReflectionHelpers
  2. Logging
  3. AnyRef
  4. 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. 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. 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]
  8. val classLoaderMirror: scala.reflect.api.JavaUniverse.Mirror

    Attributes
    protected[com.gensler.scalavro]
  9. 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]
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. 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[com.gensler.scalavro]
  12. 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]
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  19. val log: Logger

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

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

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

    Definition Classes
    AnyRef
  23. 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]
  24. 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]
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. 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]
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. 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]
  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped