B C D E F G H I J L N O S T 

B

ByteArrayClassLoader - Class in com.github.picadoh.imc.loader
A byte array class loader extends the standard class loader to transform an array of bytes into a java.lang.Class.

C

com.github.picadoh.imc.compiler - package com.github.picadoh.imc.compiler
 
com.github.picadoh.imc.loader - package com.github.picadoh.imc.loader
 
com.github.picadoh.imc.model - package com.github.picadoh.imc.model
 
CompilationPackage - Class in com.github.picadoh.imc.model
A compilation package compiles a list of compilation units.
CompilationPackage(List<CompilationUnit>) - Constructor for class com.github.picadoh.imc.model.CompilationPackage
 
CompilationPackageLoader - Class in com.github.picadoh.imc.loader
Loads a compilation package into a list of Class instances.
CompilationPackageLoader() - Constructor for class com.github.picadoh.imc.loader.CompilationPackageLoader
 
CompilationUnit - Class in com.github.picadoh.imc.model
A compilation unit is a compiled class.
CompilationUnit(String, JavaMemoryObject) - Constructor for class com.github.picadoh.imc.model.CompilationUnit
Constructs a compilation unit given a name and a byte array java file object containing the bytecode.
compile(Map<String, String>) - Method in class com.github.picadoh.imc.compiler.InMemoryCompiler
Given a map of class FQDN and its source code, this method compiles the code and returns a Compilation Package that encapsulates it.

D

delete() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 

E

equals(Object) - Method in class com.github.picadoh.imc.model.CompilationPackage
 
equals(Object) - Method in class com.github.picadoh.imc.model.CompilationUnit
 
equals(Object) - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
equals(Object) - Method in class com.github.picadoh.imc.model.JavaSourceFromString
 

F

findClass(String) - Method in class com.github.picadoh.imc.loader.ByteArrayClassLoader
 

G

getAccessLevel() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
getAllClasses() - Method in class com.github.picadoh.imc.compiler.InMemoryClassManager
Gets the bytecode as a list of compiled classes.
getBytecode() - Method in class com.github.picadoh.imc.model.CompilationUnit
Gets the bytecode as a byte array.
getCharContent(boolean) - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
getCharContent(boolean) - Method in class com.github.picadoh.imc.model.JavaSourceFromString
 
getClassBytes() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
getFileForInput(JavaFileManager.Location, String, String) - Method in class com.github.picadoh.imc.compiler.InMemoryClassManager
 
getJavaFileForInput(JavaFileManager.Location, String, JavaFileObject.Kind) - Method in class com.github.picadoh.imc.compiler.InMemoryClassManager
 
getJavaFileForOutput(JavaFileManager.Location, String, JavaFileObject.Kind, FileObject) - Method in class com.github.picadoh.imc.compiler.InMemoryClassManager
 
getKind() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
getLastModified() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
getName() - Method in class com.github.picadoh.imc.model.CompilationUnit
Gets the class name.
getName() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
getName() - Method in class com.github.picadoh.imc.model.JavaSourceFromString
 
getNestingKind() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
getUnits() - Method in class com.github.picadoh.imc.model.CompilationPackage
 

H

hashCode() - Method in class com.github.picadoh.imc.model.CompilationPackage
 
hashCode() - Method in class com.github.picadoh.imc.model.CompilationUnit
 
hashCode() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
hashCode() - Method in class com.github.picadoh.imc.model.JavaSourceFromString
 

I

InMemoryClassManager - Class in com.github.picadoh.imc.compiler
The standard JavaFileManager uses a simple implementation of type JavaFileObject to read/write bytecode into class files.
InMemoryClassManager(JavaFileManager) - Constructor for class com.github.picadoh.imc.compiler.InMemoryClassManager
 
InMemoryCompiler - Class in com.github.picadoh.imc.compiler
The dynamic compiler uses the JavaCompiler with custom implementations of a JavaFileManager and JavaFileObject to compile a Java Source from a String to Bytecode.
InMemoryCompiler() - Constructor for class com.github.picadoh.imc.compiler.InMemoryCompiler
 
InMemoryCompiler.CompilerException - Exception in com.github.picadoh.imc.compiler
 
InMemoryCompiler.CompilerException(String) - Constructor for exception com.github.picadoh.imc.compiler.InMemoryCompiler.CompilerException
Creates a new compiler exception.
isNameCompatible(String, JavaFileObject.Kind) - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
isSameFile(FileObject, FileObject) - Method in class com.github.picadoh.imc.compiler.InMemoryClassManager
 

J

JavaMemoryObject - Class in com.github.picadoh.imc.model
Wraps bytecode into memory.
JavaMemoryObject(String, JavaFileObject.Kind) - Constructor for class com.github.picadoh.imc.model.JavaMemoryObject
 
JavaSourceFromString - Class in com.github.picadoh.imc.model
Stores Java source code from a String into a JavaFileObject.
JavaSourceFromString(String) - Constructor for class com.github.picadoh.imc.model.JavaSourceFromString
 
JavaSourceFromString(String, String) - Constructor for class com.github.picadoh.imc.model.JavaSourceFromString
 

L

load(CompilationPackage) - Method in class com.github.picadoh.imc.loader.CompilationPackageLoader
Returns the compiled classes.
loadAsMap(CompilationPackage) - Method in class com.github.picadoh.imc.loader.CompilationPackageLoader
Loads the compiled classes into a map indexed by class name and returns that map.
loadClass(String, byte[]) - Method in class com.github.picadoh.imc.loader.ByteArrayClassLoader
Returns a Class object using the class name and its bytecode.

N

newInstance() - Static method in class com.github.picadoh.imc.loader.ByteArrayClassLoader
 

O

openInputStream() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
openOutputStream() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
openReader(boolean) - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
openWriter() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 

S

singleCompile(String, String) - Method in class com.github.picadoh.imc.compiler.InMemoryCompiler
Compiles a single class.

T

toString() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
toUri() - Method in class com.github.picadoh.imc.model.JavaMemoryObject
 
B C D E F G H I J L N O S T 

Copyright © 2016. All rights reserved.