Minor, remove comments in JvmContentRoots.kt, suppress unused
The kdocs were almost self-evident, as opposed to the fact that JvmClasspathRoot is unused in the project, which could make it a victim of an innocent refactoring.
This commit is contained in:
@@ -29,30 +29,19 @@ interface JvmClasspathRootBase : JvmContentRootBase {
|
|||||||
val isSdkRoot: Boolean
|
val isSdkRoot: Boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* JVM content root based on a physical file.
|
|
||||||
*/
|
|
||||||
interface JvmContentRoot : JvmContentRootBase {
|
interface JvmContentRoot : JvmContentRootBase {
|
||||||
val file: File
|
val file: File
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* JVM content root containing class files in a physical file system (for example a JAR file).
|
|
||||||
*/
|
|
||||||
data class JvmClasspathRoot(override val file: File, override val isSdkRoot: Boolean) : JvmContentRoot, JvmClasspathRootBase {
|
data class JvmClasspathRoot(override val file: File, override val isSdkRoot: Boolean) : JvmContentRoot, JvmClasspathRootBase {
|
||||||
constructor(file: File) : this(file, false)
|
constructor(file: File) : this(file, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
@Suppress("unused") // Might be useful for external tools which invoke kotlinc with their own file system, not based on java.io.File.
|
||||||
* JVM content root containing class files in a virutal file system.
|
|
||||||
*/
|
|
||||||
data class VirtualJvmClasspathRoot(val file: VirtualFile, override val isSdkRoot: Boolean) : JvmClasspathRootBase {
|
data class VirtualJvmClasspathRoot(val file: VirtualFile, override val isSdkRoot: Boolean) : JvmClasspathRootBase {
|
||||||
constructor(file: VirtualFile) : this(file, false)
|
constructor(file: VirtualFile) : this(file, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* JVM content root in a physical file system that contains source files.
|
|
||||||
*/
|
|
||||||
data class JavaSourceRoot(override val file: File, val packagePrefix: String?) : JvmContentRoot
|
data class JavaSourceRoot(override val file: File, val packagePrefix: String?) : JvmContentRoot
|
||||||
|
|
||||||
data class JvmModulePathRoot(override val file: File) : JvmContentRoot
|
data class JvmModulePathRoot(override val file: File) : JvmContentRoot
|
||||||
|
|||||||
Reference in New Issue
Block a user