IT. Expert System.

Java Standard Edition (SE)

JavacTask


com.sun.source.util

Class JavacTask

    • Constructor Detail

      • JavacTask

        public JavacTask()
    • Method Detail

      • instance

        public static JavacTask instance(ProcessingEnvironment processingEnvironment)
        Get the JavacTask for a ProcessingEnvironment. If the compiler is being invoked using a CompilationTask, then that task will be returned.
        Parameters:
        processingEnvironment - the processing environment
        Returns:
        the JavacTask for a ProcessingEnvironment
        Since:
        1.8
      • parse

        public abstract Iterable<? extends CompilationUnitTree> parse()
                                                               throws IOException
        Parse the specified files returning a list of abstract syntax trees.
        Returns:
        a list of abstract syntax trees
        Throws:
        IOException - if an unhandled I/O error occurred in the compiler.
        IllegalStateException - if the operation cannot be performed at this time.
      • analyze

        public abstract Iterable<? extends Element> analyze()
                                                     throws IOException
        Complete all analysis.
        Returns:
        a list of elements that were analyzed
        Throws:
        IOException - if an unhandled I/O error occurred in the compiler.
        IllegalStateException - if the operation cannot be performed at this time.
      • setTaskListener

        public abstract void setTaskListener(TaskListener taskListener)
        The specified listener will receive notification of events describing the progress of this compilation task. If another listener is receiving notifications as a result of a prior call of this method, then that listener will no longer receive notifications. Informally, this method is equivalent to calling removeTaskListener for any listener that has been previously set, followed by addTaskListener for the new listener.
        Throws:
        IllegalStateException - if the specified listener has already been added.
      • addTaskListener

        public abstract void addTaskListener(TaskListener taskListener)
        The specified listener will receive notification of events describing the progress of this compilation task. This method may be called at any time before or during the compilation.
        Throws:
        IllegalStateException - if the specified listener has already been added.
        Since:
        1.8
      • removeTaskListener

        public abstract void removeTaskListener(TaskListener taskListener)
        The specified listener will no longer receive notification of events describing the progress of this compilation task. This method may be called at any time before or during the compilation.
        Since:
        1.8
      • getElements

        public abstract Elements getElements()
        Get a utility object for dealing with program elements.
      • getTypes

        public abstract Types getTypes()
        Get a utility object for dealing with type mirrors.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2218 / 159230309. Delta: 0.19776 с