final class JrtClassPath extends ClassPath with NoSourcePaths
Implementation ClassPath
based on the JDK 9 encapsulated runtime modules (JEP-220)
https://bugs.openjdk.java.net/browse/JDK-8066492 is the most up to date reference for the structure of the jrt:// filesystem.
The implementation assumes that no classes exist in the empty package.
- Source
- DirectoryClassPath.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- JrtClassPath
- NoSourcePaths
- ClassPath
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new JrtClassPath(fs: FileSystem)
Type Members
- type F = Path
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from JrtClassPath to any2stringadd[JrtClassPath] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (JrtClassPath, B)
- Implicit
- This member is added by an implicit conversion from JrtClassPath to ArrowAssoc[JrtClassPath] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
asClassPathString: String
The whole classpath in the form of one String.
The whole classpath in the form of one String.
- Definition Classes
- ClassPath
-
def
asClassPathStrings: Seq[String]
- Definition Classes
- JrtClassPath → ClassPath
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asSourcePathString: String
- Definition Classes
- NoSourcePaths
-
def
asURLs: Seq[URL]
- Definition Classes
- JrtClassPath → ClassPath
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
ensuring(cond: (JrtClassPath) ⇒ Boolean, msg: ⇒ Any): JrtClassPath
- Implicit
- This member is added by an implicit conversion from JrtClassPath to Ensuring[JrtClassPath] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (JrtClassPath) ⇒ Boolean): JrtClassPath
- Implicit
- This member is added by an implicit conversion from JrtClassPath to Ensuring[JrtClassPath] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): JrtClassPath
- Implicit
- This member is added by an implicit conversion from JrtClassPath to Ensuring[JrtClassPath] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): JrtClassPath
- Implicit
- This member is added by an implicit conversion from JrtClassPath to Ensuring[JrtClassPath] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findClass(className: String): Option[ClassRepresentation]
It returns both classes from class file and source files (as our base ClassRepresentation).
It returns both classes from class file and source files (as our base ClassRepresentation). So note that it's not so strictly related to findClassFile.
- Definition Classes
- ClassPath
-
def
findClassFile(className: String): Option[AbstractFile]
- Definition Classes
- JrtClassPath → ClassPath
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from JrtClassPath to StringFormat[JrtClassPath] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (JrtClassPath, B)
- Implicit
- This member is added by an implicit conversion from JrtClassPath to ArrowAssoc[JrtClassPath] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
The Scala compiler and reflection APIs.