langtools/src/share/classes/com/sun/tools/sjavac/options/Options.java
changeset 26087 93e7681752f6
parent 24067 76e7b6bbbd85
child 26088 f479ca655ba1
equal deleted inserted replaced
25851:cd6f4557e7fe 26087:93e7681752f6
   174             if (javacArg.endsWith(".java"))
   174             if (javacArg.endsWith(".java"))
   175                 return true;
   175                 return true;
   176         return false;
   176         return false;
   177     }
   177     }
   178 
   178 
   179     /** Returns true iff an @-file is among the javac arguments */
       
   180     public boolean isAtFilePresent() {
       
   181         for (String javacArg : javacArgs)
       
   182             if (javacArg.startsWith("@"))
       
   183                 return true;
       
   184         return false;
       
   185     }
       
   186 
       
   187     /**
   179     /**
   188      * Returns a string representation of the options that affect the result of
   180      * Returns a string representation of the options that affect the result of
   189      * the compilation. (Used for saving the state of the options used in a
   181      * the compilation. (Used for saving the state of the options used in a
   190      * previous compile.)
   182      * previous compile.)
   191      */
   183      */