Classpath
Represents a set of classes that are available at runtime.
The full set of runtime classes is likely more than what is represented here, which is why calling get for any unknown classes will return a virtual class definition that can still be referenced as usual. However, these virtual classes will be ignored when exporting the classpath via toGenericJarArchive, and won't include all the information (like supertypes, declared functions, etc) that the real class would.
Inheritors
Properties
The primitive Boolean type.
The primitive Byte type.
The primitive Char type.
The set of all input classes that will be packaged in this JAR.
The platform Class type.
The primitive Double type.
The primitive Float type.
The primitive Int type.
The primitive Long type.
The platform Object type.
The primitive Short type.
The platform String type.
The primitive Void type.
Functions
Returns the class definition for the given class, or throws if one does not exist.
Returns the class definition for the given class name, or returns a virtual definition if one does not exist. Virtual definitions won't include all the information (like supertypes, declared functions, etc) that the real class would, they are simply a placeholder for referencing a type from another compilation unit.
Returns the class definition for the given class name, or null
if none exists.
Returns the classpath as a JAR representation.