Scala Compiler2.13.9 < Back


# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package backend
  Definition Classes
    nsc
-  package jvm
  Definition Classes
    backend
- JavaPlatform
- Platform
- ScalaPrimitives

t

scala.tools.nsc.backend

# JavaPlatform

###

#### trait JavaPlatform extends Platform

Source
  JavaPlatform.scala

Linear Supertypes
Platform, AnyRef, Any
Known Subclasses
GlobalPlatform
Type Hierarchy

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. JavaPlatform
2. Platform
3. AnyRef
4. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Abstract Value Members

1.  abstract val global: Global

### Concrete Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from JavaPlatform toany2stringadd[JavaPlatform] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (JavaPlatform, B)
   Implicit
     This member is added by an implicit conversion from JavaPlatform toArrowAssoc[JavaPlatform] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
7.  def classPath: ClassPath

   The new implementation of compiler classpath.

   The new implementation of compiler classpath.

   Attributes
     protected[nsc]
   Definition Classes
     JavaPlatform → Platform
8.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.CloneNotSupportedException]) @native()
9.  def ensuring(cond: (JavaPlatform) => Boolean, msg: => Any): JavaPlatform
   Implicit
     This member is added by an implicit conversion from JavaPlatform toEnsuring[JavaPlatform] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
10.  def ensuring(cond: (JavaPlatform) => Boolean): JavaPlatform
    Implicit
      This member is added by an implicit conversion from JavaPlatform toEnsuring[JavaPlatform] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
11.  def ensuring(cond: Boolean, msg: => Any): JavaPlatform
    Implicit
      This member is added by an implicit conversion from JavaPlatform toEnsuring[JavaPlatform] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
12.  def ensuring(cond: Boolean): JavaPlatform
    Implicit
      This member is added by an implicit conversion from JavaPlatform toEnsuring[JavaPlatform] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
13.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
14.  def equals(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef → Any
15.  lazy val externalEquals: Global.Symbol

    Symbol for a method which compares two objects.

    Symbol for a method which compares two objects.

    Definition Classes
      JavaPlatform → Platform
16.  lazy val externalEqualsNumChar: Global.Symbol
17.  lazy val externalEqualsNumNum: Global.Symbol
18.  lazy val externalEqualsNumObject: Global.Symbol
19.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
20.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
21.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
22.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
23.  def isMaybeBoxed(sym: Global.Symbol): Boolean

    We could get away with excluding BoxedBooleanClass for the purpose of equality testing since it need not compare equal to anything but other booleans, but it should be present in case this is put to other uses.

    We could get away with excluding BoxedBooleanClass for the purpose of equality testing since it need not compare equal to anything but other booleans, but it should be present in case this is put to other uses.

    Definition Classes
      JavaPlatform → Platform
24.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
25.  def needCompile(bin: AbstractFile, src: AbstractFile): Boolean

    Tells whether a class with both a binary and a source representation (found in classpath and in sourcepath) should be re-compiled.

    Tells whether a class with both a binary and a source representation (found in classpath and in sourcepath) should be re-compiled. Behaves on the JVM similar to javac, i.e. if the source file is newer than the classfile, a re-compile is triggered. On .NET by contrast classfiles always take precedence.

    Definition Classes
      JavaPlatform → Platform
26.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
27.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
28.  def platformPhases: collection.immutable.List[SubComponent { ... /* 3 definitions in type refinement */ }]

    Any platform-specific phases.

    Any platform-specific phases.

    Definition Classes
      JavaPlatform → Platform
29.  val symbolTable: global.type
    Definition Classes
      JavaPlatform → Platform
30.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
31.  def toString(): String
    Definition Classes
      AnyRef → Any
32.  def updateClassPath(subst: Map[ClassPath, ClassPath]): Unit

    Update classpath with a substituted subentry

    Update classpath with a substituted subentry

    Definition Classes
      JavaPlatform → Platform
33.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
34.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
35.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from JavaPlatform toStringFormat[JavaPlatform] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

2.  def →[B](y: B): (JavaPlatform, B)
   Implicit
     This member is added by an implicit conversion from JavaPlatform toArrowAssoc[JavaPlatform] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use `->` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

### Inherited from Platform

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd fromJavaPlatform to any2stringadd[JavaPlatform]

### Inherited by implicit conversion StringFormat fromJavaPlatform to StringFormat[JavaPlatform]

### Inherited by implicit conversion Ensuring fromJavaPlatform to Ensuring[JavaPlatform]

### Inherited by implicit conversion ArrowAssoc fromJavaPlatform to ArrowAssoc[JavaPlatform]

### Ungrouped