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

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. def instantiateCaseClassWith[T](args: Seq[_])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Try[T]

    Attempts to create a new instance of the specified type by calling the constructor method with the supplied arguments.

    Attempts to create a new instance of the specified type by calling the constructor method with the supplied arguments.

    T

    the type of object to construct, which must be a case class

    args

    the arguments to supply to the constructor method

    Attributes
    protected[com.gensler.scalavro]
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. val log: Logger

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

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

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

    Definition Classes
    AnyRef
  24. def productElement[P, T](product: P, memberName: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[P], arg1: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[T]

    Attempts to fetch the value of a named component of a product instance, while verifying the value conforms to some expected type.

    Attempts to fetch the value of a named component of a product instance, while verifying the value conforms to some expected type.

    P

    the type of the product instance in question

    T

    the expected type of the value

    product

    an instance of some product type, P

    Attributes
    protected[com.gensler.scalavro]
  25. 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]
  26. 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]
  27. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped