Package

wvlet

surface

Permalink

package surface

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. surface
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Alias(name: String, fullName: String, ref: Surface) extends GenericSurface with Product with Serializable

    Permalink
  2. case class ArraySurface(rawType: Class[_], elementSurface: Surface) extends GenericSurface with Product with Serializable

    Permalink
  3. case class ClassMethodSurface(mod: Int, owner: Surface, name: String, returnType: Surface, args: Seq[MethodParameter]) extends MethodSurface with Product with Serializable

    Permalink
  4. case class EnumSurface(rawType: Class[_]) extends GenericSurface with Product with Serializable

    Permalink
  5. class GenericSurface extends Surface

    Permalink

    Base class for generic surfaces with type args

  6. case class LazySurface(rawType: Class[_], fullName: String, typeArgs: Seq[Surface]) extends Surface with Product with Serializable

    Permalink

    Surface placeholder for supporting recursive types

  7. trait MethodParameter extends Parameter

    Permalink
  8. case class MethodRef(owner: Class[_], name: String, paramTypes: Seq[Class[_]], isConstructor: Boolean) extends Product with Serializable

    Permalink
  9. trait MethodSurface extends ParameterBase

    Permalink
  10. trait ObjectFactory extends Serializable

    Permalink

  11. case class OptionSurface(rawType: Class[_], elementSurface: Surface) extends GenericSurface with Product with Serializable

    Permalink
  12. trait Parameter extends ParameterBase

    Permalink
  13. sealed trait ParameterBase extends Serializable

    Permalink
  14. case class StdMethodParameter(method: MethodRef, index: Int, name: String, surface: Surface, defaultValue: Option[Any] = None, accessor: Option[(Any) ⇒ Any] = None) extends MethodParameter with Product with Serializable

    Permalink

    Parameters of a Surface

  15. trait Surface extends Serializable

    Permalink
  16. case class TaggedSurface(base: Surface, tag: Surface) extends Surface with Product with Serializable

    Permalink
  17. case class TupleSurface(rawType: Class[_], typeArgs: Seq[Surface]) extends GenericSurface with Product with Serializable

    Permalink

Value Members

  1. object AnyRefSurface extends GenericSurface with Product with Serializable

    Permalink
  2. object CanonicalNameFormatter

    Permalink

  3. object ExistentialType extends GenericSurface with Product with Serializable

    Permalink
  4. object MethodModifier

    Permalink

  5. object Primitive

    Permalink
  6. object Zero extends LogSupport

    Permalink

    Create a default instance (zero) from Surface

  7. def getCached(fullName: String): Surface

    Permalink
  8. def methodsOf[A](implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[A]): Seq[MethodSurface]

    Permalink
  9. def of[A](implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[A]): Surface

    Permalink
  10. package reflect

    Permalink

  11. package tag

    Permalink

    This code is from com.softwaremill.tagging

    This code is from com.softwaremill.tagging

    Tag instances with arbitrary types. The tags are usually empty traits. Tags have no runtime overhead and are only used at compile-time for additional type safety.

    For example:

    class Berry()
    
    trait Black
    trait Blue
    
    val berry = new Berry()
    val blackBerry: Berry @@ Black = berry.taggedWith[Black]
    val blueBerry: Berry @@ Blue = berry.taggedWith[Blue]
    
    // compile error: val anotherBlackBerry: Berry @@ Black = blueBerry

    Original idea by Miles Sabin, see: https://gist.github.com/milessabin/89c9b47a91017973a35f

Inherited from AnyRef

Inherited from Any

Ungrouped