ClassFile

io.joern.jimple2cpg.util.ProgramHandlingUtil.ClassFile
See theClassFile companion object
sealed class ClassFile(val file: Path, val packagePath: Option[String]) extends EntryFile

Attributes

Companion
object
Graph
Supertypes
trait EntryFile
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(file: Path)

Inherited methods

def copyToPackageLayoutIn(destDir: Path): Option[EntryFile]

Copy the class file to its package path relative to destDir. This will overwrite a class file at the destination if it exists.

Copy the class file to its package path relative to destDir. This will overwrite a class file at the destination if it exists.

Value parameters

destDir

The directory in which to place the class file

Attributes

Returns

The class file at the destination if the package path could be retrieved from the its bytecode

Inherited from:
EntryFile
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
EntryFile -> Any
Inherited from:
EntryFile

Concrete fields

val file: Path
val fullyQualifiedClassName: Option[String]
val packagePath: Option[String]