A B C D E F G H I J L M N P R S T U V

A

adjustImportDependency(ImportDependency, ModuleFile.Repl) - Method in class uk.ac.cam.cl.ijam.Repository
This function adjusts the import dependency's type according to the preferences in both the importing and the imported module definition.

B

bootstrap_r - Static variable in class uk.ac.cam.cl.ijam.Repository
 
BOOTSTRAP_R - Static variable in class uk.ac.cam.cl.ijam.Runtime
 

C

clone() - Method in class uk.ac.cam.cl.ijam.ImportDependency
 
COMPATIBILITY_MODE - Static variable in class uk.ac.cam.cl.ijam.Runtime
 

D

dcl - Variable in class uk.ac.cam.cl.ijam.FQN
 
defaultPN - Static variable in class uk.ac.cam.cl.ijam.PN
 

E

equals(Object) - Method in class uk.ac.cam.cl.ijam.ImportDependency
 
execute(String) - Method in class uk.ac.cam.cl.ijam.Module
Starts execution in the context of this module instance.
executeMain(String) - Static method in class uk.ac.cam.cl.ijam.Runtime
Execute the specified class.
expandMemberPackages(List<PN>) - Method in class uk.ac.cam.cl.ijam.ModuleDefinition
For each of the specified package names, looks up the names of class files in the corresponding directories, and returns the resulting list.
exports - Variable in class uk.ac.cam.cl.ijam.ModuleDefinition
 
exports - Variable in class uk.ac.cam.cl.ijam.ModuleFile
 

F

file - Variable in class uk.ac.cam.cl.ijam.ModuleFile
 
findModuleFiles() - Static method in class uk.ac.cam.cl.ijam.Runtime
As the name suggests, this method finds the module files.
findOwner(String) - Method in class uk.ac.cam.cl.ijam.Repository
This function finds the repository, which has a module definition with name mn installed.
FQN - Class in uk.ac.cam.cl.ijam
Represents the Fully Qualified Name of a type.
FQN(PN, String) - Constructor for class uk.ac.cam.cl.ijam.FQN
 

G

getBytes(String) - Method in class uk.ac.cam.cl.ijam.Module
This function simply reads the specified classfile, and returns its raw bytes.
getImportInstances(ModuleDefinition) - Method in class uk.ac.cam.cl.ijam.Repository
This function gets the module instances of module definitions that the specified module definition depends on.
getInstance(String) - Method in class uk.ac.cam.cl.ijam.Repository
This function gets a module instance of a module definition with the specified module name.
getInstance(ModuleDefinition) - Method in class uk.ac.cam.cl.ijam.Repository
This function gets an instance of a given module definition assuming it has the default import dependency, i.e.
getInstance(ModuleDefinition, ImportDependency) - Method in class uk.ac.cam.cl.ijam.Repository
This function gets an instance of a given module definition with respect to its (also specified) import dependency.

H

hashCode() - Method in class uk.ac.cam.cl.ijam.ImportDependency
 

I

id - Variable in class uk.ac.cam.cl.ijam.ImportDependency
 
ImportDependency - Class in uk.ac.cam.cl.ijam
Import dependency of a module definition.
ImportDependency(String) - Constructor for class uk.ac.cam.cl.ijam.ImportDependency
 
ImportDependency(String, ImportDependency.Type, String, Map<String, String>) - Constructor for class uk.ac.cam.cl.ijam.ImportDependency
 
ImportDependency.Type - Enum in uk.ac.cam.cl.ijam
 
ImportDependency.Type() - Constructor for enum uk.ac.cam.cl.ijam.ImportDependency.Type
 
imports - Variable in class uk.ac.cam.cl.ijam.Module
 
imports - Variable in class uk.ac.cam.cl.ijam.ModuleDefinition
 
imports - Variable in class uk.ac.cam.cl.ijam.ModuleFile
 
install(ModuleDefinition) - Method in class uk.ac.cam.cl.ijam.Repository
Installs a module definition, making it findable.

J

javaClass - Variable in class uk.ac.cam.cl.ijam.Module
 

L

loadClass(String) - Method in class uk.ac.cam.cl.ijam.Module
 
loadClassInSelf(String) - Method in class uk.ac.cam.cl.ijam.Module
This function is used to load a class from the contents of the current module instance.

M

main(String[]) - Static method in class uk.ac.cam.cl.ijam.Runtime
This is the entry point of the iJAM's Runtime.
md - Variable in class uk.ac.cam.cl.ijam.Module
 
mds - Variable in class uk.ac.cam.cl.ijam.Repository
 
members - Variable in class uk.ac.cam.cl.ijam.ModuleDefinition
 
members - Variable in class uk.ac.cam.cl.ijam.ModuleFile
 
mis - Variable in class uk.ac.cam.cl.ijam.Repository
 
Module - Class in uk.ac.cam.cl.ijam
Module instance of a module definition.
Module(ModuleDefinition, Map<Module, Map<String, String>>) - Constructor for class uk.ac.cam.cl.ijam.Module
 
ModuleDefinition - Class in uk.ac.cam.cl.ijam
Module definition is a compiled version of a module file.
ModuleDefinition(ModuleFile) - Constructor for class uk.ac.cam.cl.ijam.ModuleDefinition
 
ModuleDefNotFoundException - Exception in uk.ac.cam.cl.ijam
Exception for when a module definition was not found.
ModuleDefNotFoundException() - Constructor for exception uk.ac.cam.cl.ijam.ModuleDefNotFoundException
 
moduleDir - Variable in class uk.ac.cam.cl.ijam.ModuleDefinition
 
ModuleFile - Class in uk.ac.cam.cl.ijam
ModuleFile class represents the contents of a ".spkg" file.
ModuleFile(File, String, ModuleFile.Repl) - Constructor for class uk.ac.cam.cl.ijam.ModuleFile
 
ModuleFile.Repl - Enum in uk.ac.cam.cl.ijam
 
ModuleFile.Repl() - Constructor for enum uk.ac.cam.cl.ijam.ModuleFile.Repl
 
moduleName - Variable in class uk.ac.cam.cl.ijam.ImportDependency
 
moduleName - Variable in class uk.ac.cam.cl.ijam.ModuleDefinition
 

N

name - Variable in class uk.ac.cam.cl.ijam.ModuleFile
 
name - Variable in class uk.ac.cam.cl.ijam.Repository
 

P

parent - Variable in class uk.ac.cam.cl.ijam.Repository
 
parts - Variable in class uk.ac.cam.cl.ijam.PN
 
pn - Variable in class uk.ac.cam.cl.ijam.FQN
 
PN - Class in uk.ac.cam.cl.ijam
Package Name is used for specifying members of a superpackage in module files.
PN() - Constructor for class uk.ac.cam.cl.ijam.PN
 
PN(String[]) - Constructor for class uk.ac.cam.cl.ijam.PN
 

R

renameClass(Class<?>, String) - Method in class uk.ac.cam.cl.ijam.Module
This function renames a loaded class to match the request.
renaming - Variable in class uk.ac.cam.cl.ijam.ImportDependency
 
repl - Variable in class uk.ac.cam.cl.ijam.ModuleDefinition
 
repl - Variable in class uk.ac.cam.cl.ijam.ModuleFile
 
Repository - Class in uk.ac.cam.cl.ijam
Repository contains module definitions installed in it, and their module instances.
Repository() - Constructor for class uk.ac.cam.cl.ijam.Repository
Only used for the bootstrap_r.
Runtime - Class in uk.ac.cam.cl.ijam
This is the main class of the program.
Runtime() - Constructor for class uk.ac.cam.cl.ijam.Runtime
 

S

sep - Static variable in class uk.ac.cam.cl.ijam.Module
 
sep - Static variable in class uk.ac.cam.cl.ijam.ModuleDefinition
 

T

toString() - Method in class uk.ac.cam.cl.ijam.FQN
 
toString() - Method in class uk.ac.cam.cl.ijam.PN
 
type - Variable in class uk.ac.cam.cl.ijam.ImportDependency
 

U

uk.ac.cam.cl.ijam - package uk.ac.cam.cl.ijam
 
uninstall(ModuleDefinition) - Method in class uk.ac.cam.cl.ijam.Repository
Uninstalls a module definition, making it non-findable.

V

valueOf(String) - Static method in enum uk.ac.cam.cl.ijam.ImportDependency.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum uk.ac.cam.cl.ijam.ModuleFile.Repl
Returns the enum constant of this type with the specified name.
values() - Static method in enum uk.ac.cam.cl.ijam.ImportDependency.Type
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum uk.ac.cam.cl.ijam.ModuleFile.Repl
Returns an array containing the constants of this enum type, in the order they're declared.

A B C D E F G H I J L M N P R S T U V