Android Guides | Samples

Java.Lang.Compiler Class

Does nothing on Android.

See Also: Compiler

Syntax

[Android.Runtime.Register("java/lang/Compiler", DoNotGenerateAcw=true)]
public sealed class Compiler : Object

Remarks

Does nothing on Android.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.Compiler are listed below.

See Also: Object

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
Command(Object) : Object
Executes an operation according to the specified command object.
static
CompileClass(Class) : Boolean
static
CompileClasses(String) : Boolean
Compiles all classes whose name matches the specified name using the JIT compiler and indicates if compilation has been successful.
static
Disable()
Disables the JIT compiler.
static
Enable()
Enables the JIT compiler.