< prev index next >

src/jdk.compiler/share/classes/com/sun/source/util/JavacTask.java

Print this page
rev 53252 : imported patch 8217047


 120      *
 121      * @param taskListener the task listener
 122      * @throws IllegalStateException if the specified listener has already been added.
 123      * @since 1.8
 124      */
 125     public abstract void addTaskListener(TaskListener taskListener);
 126 
 127     /**
 128      * Removes the specified listener so that it no longer receives
 129      * notification of events describing the progress of this
 130      * compilation task.
 131      *
 132      * This method may be called at any time before or during the compilation.
 133      *
 134      * @param taskListener the task listener
 135      * @since 1.8
 136      */
 137     public abstract void removeTaskListener(TaskListener taskListener);
 138 
 139     /**















 140      * Returns a type mirror of the tree node determined by the specified path.
 141      * This method has been superceded by methods on
 142      * {@link com.sun.source.util.Trees Trees}.
 143      *
 144      * @param path the path
 145      * @return the type mirror
 146      * @see com.sun.source.util.Trees#getTypeMirror
 147      */
 148     public abstract TypeMirror getTypeMirror(Iterable<? extends Tree> path);
 149 
 150     /**
 151      * Returns a utility object for dealing with program elements.
 152      *
 153      * @return a utility object for dealing with program elements
 154      */
 155     public abstract Elements getElements();
 156 
 157     /**
 158      * Returns a utility object for dealing with type mirrors.
 159      *


 120      *
 121      * @param taskListener the task listener
 122      * @throws IllegalStateException if the specified listener has already been added.
 123      * @since 1.8
 124      */
 125     public abstract void addTaskListener(TaskListener taskListener);
 126 
 127     /**
 128      * Removes the specified listener so that it no longer receives
 129      * notification of events describing the progress of this
 130      * compilation task.
 131      *
 132      * This method may be called at any time before or during the compilation.
 133      *
 134      * @param taskListener the task listener
 135      * @since 1.8
 136      */
 137     public abstract void removeTaskListener(TaskListener taskListener);
 138 
 139     /**
 140      * Sets the specified {@linkplain ParameterNameProvider}. It may be used to when
 141      * {@link VariablElement#getSimpleName} is called for a method parameter
 142      * for which an authoritative name is not found. The given
 143      * {@linkplain ParameterNameProvider} may infer a user-friendly name
 144      * for the method parameter.
 145      *
 146      * Setting a new {@linkplain ParameterNameProvider} will clear any previously set
 147      * {@linkplain ParameterNameProvider}, which won't be queried any more.
 148      *
 149      * @param handler the handler.
 150      * @since 13
 151      */
 152     public void setParameterNameProvider(ParameterNameProvider provider) {}
 153 
 154     /**
 155      * Returns a type mirror of the tree node determined by the specified path.
 156      * This method has been superceded by methods on
 157      * {@link com.sun.source.util.Trees Trees}.
 158      *
 159      * @param path the path
 160      * @return the type mirror
 161      * @see com.sun.source.util.Trees#getTypeMirror
 162      */
 163     public abstract TypeMirror getTypeMirror(Iterable<? extends Tree> path);
 164 
 165     /**
 166      * Returns a utility object for dealing with program elements.
 167      *
 168      * @return a utility object for dealing with program elements
 169      */
 170     public abstract Elements getElements();
 171 
 172     /**
 173      * Returns a utility object for dealing with type mirrors.
 174      *
< prev index next >