aicas logoJamaica 6.1 release 1

java.lang
Class Compiler

java.lang.Object
  extended by java.lang.Compiler

public final class Compiler
extends Object

Compiler represents a JIT compiler implementation.

Since:
1.0

Constructor Summary
Compiler()
           
 
Method Summary
static Object command(Object cmd)
          command sends a command to the compiler.
static boolean compileClass(Class<?> clazz)
          compileClass compiles a given class.
static boolean compileClasses(String name)
          compileClasses compiles all classes whose qualified name matches the given string.
static void disable()
          disable stops the compiler.
static void enable()
          enable restarts the compiler after it was disabled().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compiler

public Compiler()
Method Detail

compileClass

public static boolean compileClass(Class<?> clazz)
compileClass compiles a given class.

Parameters:
clazz - the class to be compiled
Returns:
true if the class could be compiled, false if compilation was not possible (e.g., there is no compiler installed).

compileClasses

public static boolean compileClasses(String name)
compileClasses compiles all classes whose qualified name matches the given string.

Parameters:
name - the class name, e.g., "java.lang.Object"
Returns:
true if the class could be compiled, false if compilation was not possible (e.g., there is no compiler installed).

command

public static Object command(Object cmd)
command sends a command to the compiler.

Parameters:
cmd - a compiler specific object that represents the command.
Returns:
a compiler specific result of the command.

enable

public static void enable()
enable restarts the compiler after it was disabled().


disable

public static void disable()
disable stops the compiler.


aicas logoJamaica 6.1 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2012 aicas GmbH. All Rights Reserved.