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. ScalaToJava
  2. ConversionUtil
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ScalaToJava to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ScalaToJava, B)

    Implicit information
    This member is added by an implicit conversion from ScalaToJava to ArrowAssoc[ScalaToJava] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val classCache: TwoWayCache[Class[_], Symbol]

    Attributes
    protected
    Definition Classes
    ConversionUtil
  10. 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.

  11. def clone(): AnyRef

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

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

    Attributes
    protected
    Definition Classes
    ConversionUtil
  14. def ensuring(cond: (ScalaToJava) ⇒ Boolean, msg: ⇒ Any): ScalaToJava

    Implicit information
    This member is added by an implicit conversion from ScalaToJava to Ensuring[ScalaToJava] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (ScalaToJava) ⇒ Boolean): ScalaToJava

    Implicit information
    This member is added by an implicit conversion from ScalaToJava to Ensuring[ScalaToJava] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): ScalaToJava

    Implicit information
    This member is added by an implicit conversion from ScalaToJava to Ensuring[ScalaToJava] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): ScalaToJava

    Implicit information
    This member is added by an implicit conversion from ScalaToJava to Ensuring[ScalaToJava] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  20. 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
  21. 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
  22. val fieldCache: TwoWayCache[Field, Symbol]

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

  24. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  25. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ScalaToJava to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  29. val methodCache: TwoWayCache[Method, Symbol]

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    ConversionUtil
  35. 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

  36. val self: Any

    Implicit information
    This member is added by an implicit conversion from ScalaToJava to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  37. val self: Any

    Implicit information
    This member is added by an implicit conversion from ScalaToJava to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toString(): String

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

    Attributes
    protected
    Definition Classes
    ConversionUtil
  41. 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
  42. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  45. def [B](y: B): (ScalaToJava, B)

    Implicit information
    This member is added by an implicit conversion from ScalaToJava to ArrowAssoc[ScalaToJava] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def x: ScalaToJava

    Implicit information
    This member is added by an implicit conversion from ScalaToJava to ArrowAssoc[ScalaToJava] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: ScalaToJava

    Implicit information
    This member is added by an implicit conversion from ScalaToJava to Ensuring[ScalaToJava] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from ConversionUtil

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from ScalaToJava to StringFormat

Inherited by implicit conversion any2stringadd from ScalaToJava to StringAdd

Inherited by implicit conversion any2ArrowAssoc from ScalaToJava to ArrowAssoc[ScalaToJava]

Inherited by implicit conversion any2Ensuring from ScalaToJava to Ensuring[ScalaToJava]