Example usage for java.lang Compiler getClass

List of usage examples for java.lang Compiler getClass

Introduction

In this page you can find the example usage for java.lang Compiler getClass.

Prototype

@HotSpotIntrinsicCandidate
public final native Class<?> getClass();

Source Link

Document

Returns the runtime class of this Object .

Usage

From source file:org.apache.axis.components.compiler.CompilerFactory.java

public static Compiler getCompiler() {
    Compiler compiler = (Compiler) AxisProperties.newInstance(Compiler.class);

    /**/*from www  . j ava 2 s  . c o m*/
     * This shouldn't be needed, but seems to be a common feel-good:
     */
    if (compiler == null) {
        log.debug(Messages.getMessage("defaultCompiler"));
        compiler = new Javac();
    }

    log.debug("axis.Compiler:" + compiler.getClass().getName());

    return compiler;
}