scala.reflect.runtime

ScalaToJava

trait ScalaToJava extends ConversionUtil

Self Type
SymbolTable
Source
ScalaToJava.scala
Linear Supertypes
ConversionUtil, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ScalaToJava
  2. ConversionUtil
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Type Members

  1. class TwoWayCache[J, S] extends AnyRef

    A cache that maintains a bijection between Java reflection type J and Scala reflection type S.

Abstract Value Members

  1. abstract def transformedType(sym: Symbol): Type

    the type of this symbol after Scala -> Java transformsi in refChecks, uncurry, erasure

    the type of this symbol after Scala -> Java transformsi in refChecks, uncurry, erasure

    Definition Classes
    ConversionUtil

Concrete 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. val classCache: TwoWayCache[Class[_], Symbol]

    Attributes
    protected
    Definition Classes
    ConversionUtil
  8. def classToJava(clazz: Symbol): Class[_]

    The Java class corresponding to given Scala class.

    The Java class corresponding to given Scala class. Note: This only works for

    • top-level classes
    • Scala classes that were generated via jclassToScala
    • classes that have a class owner that has a corresponding Java class
    Annotations
    @throws( classOf[ClassNotFoundException] )
    Exceptions thrown
    A

    ClassNotFoundException for all Scala classes not in one of these categories.

  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def constrToJava(constr: Symbol): java.lang.reflect.Constructor[_]

  11. val constructorCache: TwoWayCache[java.lang.reflect.Constructor[_], Symbol]

    Attributes
    protected
    Definition Classes
    ConversionUtil
  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. def erasesTo(meth: Symbol, jconstr: java.lang.reflect.Constructor[_]): Boolean

    Does constructor meth erase to Java method jconstr? This is true if the Java constructor type is the same as the Scala constructor type after performing all Scala-specific transformations in InfoTransformers.

    Does constructor meth erase to Java method jconstr? This is true if the Java constructor type is the same as the Scala constructor type after performing all Scala-specific transformations in InfoTransformers. (to be done)

    Attributes
    protected
    Definition Classes
    ConversionUtil
  15. def erasesTo(meth: Symbol, jmeth: Method): Boolean

    Does method meth erase to Java method jmeth? This is true if the Java method type is the same as the Scala method type after performing all Scala-specific transformations in InfoTransformers.

    Does method meth erase to Java method jmeth? This is true if the Java method type is the same as the Scala method type after performing all Scala-specific transformations in InfoTransformers. (to be done)

    Attributes
    protected
    Definition Classes
    ConversionUtil
  16. val fieldCache: TwoWayCache[Field, Symbol]

    Attributes
    protected
    Definition Classes
    ConversionUtil
  17. def fieldToJava(fld: Symbol): Field

  18. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  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. val methodCache: TwoWayCache[Method, Symbol]

    Attributes
    protected
    Definition Classes
    ConversionUtil
  23. def methodToJava(meth: Symbol): Method

  24. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  27. val packageCache: TwoWayCache[Package, Symbol]

    Attributes
    protected
    Definition Classes
    ConversionUtil
  28. def packageToJava(pkg: Symbol): Option[Package]

    Optionally, the Java package corresponding to a given Scala package, or None if no such Java package exists.

    Optionally, the Java package corresponding to a given Scala package, or None if no such Java package exists.

    pkg

    The Scala package

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. val tparamCache: TwoWayCache[java.lang.reflect.TypeVariable[_], Symbol]

    Attributes
    protected
    Definition Classes
    ConversionUtil
  32. def typeToJavaClass(tpe: Type): Class[_]

    The Java class that corresponds to given Scala type.

    The Java class that corresponds to given Scala type. Pre: Scala type is already transformed to Java level.

    Definition Classes
    ScalaToJavaConversionUtil
  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 ConversionUtil

Inherited from AnyRef

Inherited from Any