A C E G H I J L N O S U 
All Classes All Packages

A

addSource(String) - Method in class eu.mihosoft.jcompiler.JCompiler
Add source code to the compiler.
addSource(String, String) - Method in class eu.mihosoft.jcompiler.JCompiler
Add source code to the compiler.
addSource(String, String) - Method in class org.mdkt.compiler.InMemoryJavaCompiler
Add source code to the compiler

C

checkNoErrors() - Method in class eu.mihosoft.jcompiler.CompilationResult
Checks whether compilation errors occured and throws an exception if that's the case.
checkNoErrors(boolean) - Method in class eu.mihosoft.jcompiler.CompilationResult
Checks whether compilation errors occured and throws an exception if that's the case.
compareTo(String) - Method in class eu.mihosoft.jcompiler.CompiledClass
 
CompilationException - Exception in eu.mihosoft.jcompiler
Indicates a compilation error.
CompilationException(String) - Constructor for exception eu.mihosoft.jcompiler.CompilationException
Creates a new instance of this class.
CompilationException(String, Exception) - Constructor for exception eu.mihosoft.jcompiler.CompilationException
Creates a new instance of this class.
CompilationResult - Class in eu.mihosoft.jcompiler
Result of a compilation attempt.
compilationSucceeded() - Method in class eu.mihosoft.jcompiler.CompilationResult
Determines if the compilation was successful.
compile(String) - Method in class eu.mihosoft.jcompiler.JCompiler
Compiles a single source unit.
compile(String, String) - Method in class eu.mihosoft.jcompiler.JCompiler
Compiles a single source unit.
compile(String, String) - Method in class org.mdkt.compiler.InMemoryJavaCompiler
Compile single source
compileAll() - Method in class eu.mihosoft.jcompiler.JCompiler
Compiles all sources added with addSource(String, String).
compileAll() - Method in class org.mdkt.compiler.InMemoryJavaCompiler
Compile all sources
CompiledClass - Class in eu.mihosoft.jcompiler
Represents a compiled class.
CompiledUnit - Class in eu.mihosoft.jcompiler
A compiled unit is a collection of class objects generated by compiling the associated compilation unit.

E

eu.mihosoft.jcompiler - package eu.mihosoft.jcompiler
 

G

getByteCode() - Method in class eu.mihosoft.jcompiler.CompiledClass
Returns this class as binary byte code.
getClasses() - Method in class eu.mihosoft.jcompiler.CompiledUnit
 
getClassloader() - Method in class eu.mihosoft.jcompiler.JCompiler
Returns the class loader used by the compiler.
getClassloader() - Method in class org.mdkt.compiler.InMemoryJavaCompiler
 
getClassName() - Method in class eu.mihosoft.jcompiler.CompiledClass
Returns the name of thic class.
getCompiledUnits() - Method in class eu.mihosoft.jcompiler.CompilationResult
Returns the compiled compilation units.
getDiagnostics() - Method in class eu.mihosoft.jcompiler.CompilationResult
Returns the diagnostics produced by the compiler.
getMainClass() - Method in class eu.mihosoft.jcompiler.CompiledUnit
Returns the main class (public class/interface or first class/interface if no public type declaration is present).
getMessage() - Method in class eu.mihosoft.jcompiler.CompilationResult
Returns error and warning messages created by the compiler.
getName() - Method in class eu.mihosoft.jcompiler.CompiledUnit
 

H

hasErrors() - Method in class eu.mihosoft.jcompiler.CompilationResult
Determines if the compiler produced any errors during the compilation attempt.
hasWarnings() - Method in class eu.mihosoft.jcompiler.CompilationResult
Determines if the compiler produced any warnings during the compilation attempt.

I

ignoreWarnings() - Method in class org.mdkt.compiler.InMemoryJavaCompiler
Ignore non-critical compiler output, like unchecked/unsafe operation warnings.
InMemoryJavaCompiler - Class in org.mdkt.compiler
Compile Java sources in-memory.

J

JCompiler - Class in eu.mihosoft.jcompiler
Simple and efficient compiler API for Java code (defaults to in-memory compilation).

L

loadClass() - Method in class eu.mihosoft.jcompiler.CompiledClass
Loads this class with the classloader used during compilation.
loadClasses() - Method in class eu.mihosoft.jcompiler.CompilationResult
Loads all classes obtained from this compilation attempt.

N

newInstance() - Static method in class eu.mihosoft.jcompiler.JCompiler
Creates a new instance of this class.
newInstance() - Static method in class org.mdkt.compiler.InMemoryJavaCompiler
 

O

org.mdkt.compiler - package org.mdkt.compiler
 

S

setOptions(String...) - Method in class eu.mihosoft.jcompiler.JCompiler
Specifies the options to be used by the compiler, e.g.
setParentClassLoader(ClassLoader) - Method in class eu.mihosoft.jcompiler.JCompiler
Specifies a custom parent classloader to be used during compilation.

U

useOptions(String...) - Method in class org.mdkt.compiler.InMemoryJavaCompiler
Options used by the compiler, e.g.
useParentClassLoader(ClassLoader) - Method in class org.mdkt.compiler.InMemoryJavaCompiler
 
A C E G H I J L N O S U 
All Classes All Packages