langtools/src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
changeset 5847 1908176fd6e3
parent 5520 86e4b9a9da40
child 5848 c5a4ce47e780
equal deleted inserted replaced
5846:6df0e6bcb388 5847:1908176fd6e3
    54 import com.sun.tools.javac.main.JavaCompiler;
    54 import com.sun.tools.javac.main.JavaCompiler;
    55 
    55 
    56 /**
    56 /**
    57  * Provides access to functionality specific to the Sun Java Compiler, javac.
    57  * Provides access to functionality specific to the Sun Java Compiler, javac.
    58  *
    58  *
    59  * <p><b>This is NOT part of any API supported by Sun Microsystems.
    59  * <p><b>This is NOT part of any supported API.
    60  * If you write code that depends on this, you do so at your own
    60  * If you write code that depends on this, you do so at your own
    61  * risk.  This code and its internal interfaces are subject to change
    61  * risk.  This code and its internal interfaces are subject to change
    62  * or deletion without notice.</b></p>
    62  * or deletion without notice.</b></p>
    63  *
    63  *
    64  * @author Peter von der Ah&eacute;
    64  * @author Peter von der Ah&eacute;
   500 
   500 
   501         abstract void process(Env<AttrContext> env);
   501         abstract void process(Env<AttrContext> env);
   502     }
   502     }
   503 
   503 
   504     /**
   504     /**
   505      * For internal use by Sun Microsystems only.  This method will be
   505      * For internal use only.  This method will be
   506      * removed without warning.
   506      * removed without warning.
   507      */
   507      */
   508     public Context getContext() {
   508     public Context getContext() {
   509         return context;
   509         return context;
   510     }
   510     }
   511 
   511 
   512     /**
   512     /**
   513      * For internal use by Sun Microsystems only.  This method will be
   513      * For internal use only.  This method will be
   514      * removed without warning.
   514      * removed without warning.
   515      */
   515      */
   516     public void updateContext(Context newContext) {
   516     public void updateContext(Context newContext) {
   517         context = newContext;
   517         context = newContext;
   518     }
   518     }
   519 
   519 
   520     /**
   520     /**
   521      * For internal use by Sun Microsystems only.  This method will be
   521      * For internal use only.  This method will be
   522      * removed without warning.
   522      * removed without warning.
   523      */
   523      */
   524     public Type parseType(String expr, TypeElement scope) {
   524     public Type parseType(String expr, TypeElement scope) {
   525         if (expr == null || expr.equals(""))
   525         if (expr == null || expr.equals(""))
   526             throw new IllegalArgumentException();
   526             throw new IllegalArgumentException();