|
28 | 28 | import java.util.Map;
|
29 | 29 |
|
30 | 30 | /**
|
31 |
| - * <p/> |
| 31 | + * <p> |
32 | 32 | * Options
|
33 |
| - * <p/> |
| 33 | + * </p> |
| 34 | + * <p> |
34 | 35 | * -injars JarList
|
35 |
| - * <p/> |
| 36 | + * </p> |
| 37 | + * <p> |
36 | 38 | * Accept as source bytecode any .class files inside the specified .jar files. The output will include these
|
37 | 39 | * classes, possibly as woven with any applicable aspects. JarList, like classpath, is a single argument
|
38 | 40 | * containing a list of paths to jar files, delimited by the platform- specific classpath delimiter.
|
39 |
| - * <p/> |
| 41 | + * </p> |
| 42 | + * <p> |
40 | 43 | * -aspectpath JarList
|
41 |
| - * <p/> |
| 44 | + * </p> |
| 45 | + * <p> |
42 | 46 | * Weave binary aspects from JarList zip files into all sources. The aspects should have been output by
|
43 | 47 | * the same version of the compiler. To run the output classes requires putting all the aspectpath entries on
|
44 | 48 | * the run classpath. JarList, like classpath, is a single argument containing a list of paths to jar files,
|
45 | 49 | * delimited by the platform- specific classpath delimiter.
|
46 |
| - * <p/> |
| 50 | + * </p> |
| 51 | + * <p> |
47 | 52 | * -argfile File
|
48 |
| - * <p/> |
| 53 | + * </p> |
| 54 | + * <p> |
49 | 55 | * The file is a line-delimited list of arguments. These arguments are inserted into the argument list.
|
50 |
| - * <p/> |
| 56 | + * </p> |
| 57 | + * <p> |
51 | 58 | * -outjar output.jar
|
52 |
| - * <p/> |
| 59 | + * </p> |
| 60 | + * <p> |
53 | 61 | * Put output classes in zip file output.jar.
|
54 |
| - * <p/> |
| 62 | + * </p> |
| 63 | + * <p> |
55 | 64 | * -incremental
|
56 |
| - * <p/> |
| 65 | + * </p> |
| 66 | + * <p> |
57 | 67 | * Run the compiler continuously. After the initial compilation, the compiler will wait to recompile until it
|
58 | 68 | * reads a newline from the standard input, and will quit when it reads a 'q'. It will only recompile necessary
|
59 | 69 | * components, so a recompile should be much faster than doing a second compile. This requires -sourceroots.
|
60 |
| - * <p/> |
| 70 | + * </p> |
| 71 | + * <p> |
61 | 72 | * -sourceroots DirPaths
|
62 |
| - * <p/> |
| 73 | + * </p> |
| 74 | + * <p> |
63 | 75 | * Find and build all .java or .aj source files under any directory listed in DirPaths. DirPaths, like
|
64 | 76 | * classpath, is a single argument containing a list of paths to directories, delimited by the platform-
|
65 | 77 | * specific classpath delimiter. Required by -incremental.
|
66 |
| - * <p/> |
| 78 | + * </p> |
| 79 | + * <p> |
67 | 80 | * -emacssym
|
68 |
| - * <p/> |
| 81 | + * </p> |
| 82 | + * <p> |
69 | 83 | * Generate .ajesym symbol files for emacs support
|
70 |
| - * <p/> |
| 84 | + * </p> |
| 85 | + * <p> |
71 | 86 | * -Xlint
|
72 |
| - * <p/> |
| 87 | + * </p> |
| 88 | + * <p> |
73 | 89 | * Same as -Xlint:warning (enabled by default)
|
74 |
| - * <p/> |
| 90 | + * </p> |
| 91 | + * <p> |
75 | 92 | * -Xlint:{level}
|
76 |
| - * <p/> |
| 93 | + * </p> |
| 94 | + * <p> |
77 | 95 | * Set default level for messages about potential programming mistakes in crosscutting code. {level} may be
|
78 | 96 | * ignore, warning, or error. This overrides entries in org/aspectj/weaver/XlintDefault.properties from
|
79 | 97 | * aspectjtools.jar, but does not override levels set using the -Xlintfile option.
|
80 |
| - * <p/> |
| 98 | + * </p> |
| 99 | + * <p> |
81 | 100 | * -Xlintfile PropertyFile
|
82 |
| - * <p/> |
| 101 | + * </p> |
| 102 | + * <p> |
83 | 103 | * Specify properties file to set levels for specific crosscutting messages. PropertyFile is a path to a
|
84 | 104 | * Java .properties file that takes the same property names and values as
|
85 | 105 | * org/aspectj/weaver/XlintDefault.properties from aspectjtools.jar, which it also overrides.
|
86 | 106 | * -help
|
87 |
| - * <p/> |
| 107 | + * </p> |
| 108 | + * <p> |
88 | 109 | * Emit information on compiler options and usage
|
89 |
| - * <p/> |
| 110 | + * </p> |
| 111 | + * <p> |
90 | 112 | * -version
|
91 |
| - * <p/> |
| 113 | + * </p> |
| 114 | + * <p> |
92 | 115 | * Emit the version of the AspectJ compiler
|
93 |
| - * <p/> |
| 116 | + * </p> |
| 117 | + * <p> |
94 | 118 | * -classpath Path
|
95 |
| - * <p/> |
| 119 | + * </p> |
| 120 | + * <p> |
96 | 121 | * Specify where to find user class files. Path is a single argument containing a list of paths to zip files
|
97 | 122 | * or directories, delimited by the platform-specific path delimiter.
|
98 |
| - * <p/> |
| 123 | + * </p> |
| 124 | + * <p> |
99 | 125 | * -bootclasspath Path
|
100 |
| - * <p/> |
| 126 | + * </p> |
| 127 | + * <p> |
101 | 128 | * Override location of VM's bootclasspath for purposes of evaluating types when compiling. Path is a single
|
102 | 129 | * argument containing a list of paths to zip files or directories, delimited by the platform-specific path
|
103 | 130 | * delimiter.
|
104 |
| - * <p/> |
| 131 | + * </p> |
| 132 | + * <p> |
105 | 133 | * -extdirs Path
|
106 |
| - * <p/> |
| 134 | + * </p> |
| 135 | + * <p> |
107 | 136 | * Override location of VM's extension directories for purposes of evaluating types when compiling. Path is
|
108 | 137 | * a single argument containing a list of paths to directories, delimited by the platform-specific path
|
109 | 138 | * delimiter.
|
110 |
| - * <p/> |
| 139 | + * </p> |
| 140 | + * <p> |
111 | 141 | * -d Directory
|
112 |
| - * <p/> |
| 142 | + * </p> |
| 143 | + * <p> |
113 | 144 | * Specify where to place generated .class files. If not specified, Directory defaults to the current
|
114 | 145 | * working dir.
|
115 |
| - * <p/> |
| 146 | + * </p> |
| 147 | + * <p> |
116 | 148 | * -target [1.1|1.2]
|
117 |
| - * <p/> |
| 149 | + * </p> |
| 150 | + * <p> |
118 | 151 | * Specify classfile target setting (1.1 or 1.2, default is 1.1)
|
119 |
| - * <p/> |
| 152 | + * </p> |
| 153 | + * <p> |
120 | 154 | * -1.3
|
121 |
| - * <p/> |
| 155 | + * </p> |
| 156 | + * <p> |
122 | 157 | * Set compliance level to 1.3 (default)
|
123 | 158 | * -1.4
|
124 |
| - * <p/> |
| 159 | + * </p> |
| 160 | + * <p> |
125 | 161 | * Set compliance level to 1.4
|
126 | 162 | * -source [1.3|1.4]
|
127 |
| - * <p/> |
| 163 | + * </p> |
| 164 | + * <p> |
128 | 165 | * Toggle assertions (1.3 or 1.4, default is 1.3 in -1.3 mode and 1.4 in -1.4 mode). When using -source 1.3,
|
129 | 166 | * an assert() statement valid under Java 1.4 will result in a compiler error. When using -source 1.4, treat
|
130 | 167 | * assert as a keyword and implement assertions according to the 1.4 language spec.
|
131 |
| - * <p/> |
| 168 | + * </p> |
| 169 | + * <p> |
132 | 170 | * -nowarn
|
133 |
| - * <p/> |
| 171 | + * </p> |
| 172 | + * <p> |
134 | 173 | * Emit no warnings (equivalent to '-warn:none') This does not suppress messages generated by declare warning
|
135 | 174 | * or Xlint.
|
136 |
| - * <p/> |
| 175 | + * </p> |
| 176 | + * <p> |
137 | 177 | * -warn: items
|
138 |
| - * <p/> |
| 178 | + * </p> |
| 179 | + * <p> |
139 | 180 | * Emit warnings for any instances of the comma-delimited list of questionable code
|
140 | 181 | * (eg '-warn:unusedLocals,deprecation'):
|
141 |
| - * <p/> |
| 182 | + * </p> |
| 183 | + * <p> |
142 | 184 | * constructorName method with constructor name
|
143 | 185 | * packageDefaultMethod attempt to override package-default method
|
144 | 186 | * deprecation usage of deprecated type or member
|
|
147 | 189 | * unusedArguments method argument never read
|
148 | 190 | * unusedImports import statement not used by code in file
|
149 | 191 | * none suppress all compiler warnings
|
150 |
| - * <p/> |
151 |
| - * <p/> |
| 192 | + * </p> |
| 193 | + * <p> |
152 | 194 | * -warn:none does not suppress messages generated by declare warning or Xlint.
|
153 |
| - * <p/> |
| 195 | + * </p> |
| 196 | + * <p> |
154 | 197 | * -deprecation
|
155 |
| - * <p/> |
| 198 | + * </p> |
| 199 | + * <p> |
156 | 200 | * Same as -warn:deprecation
|
157 |
| - * <p/> |
| 201 | + * </p> |
| 202 | + * <p> |
158 | 203 | * -noImportError
|
159 |
| - * <p/> |
| 204 | + * </p> |
| 205 | + * <p> |
160 | 206 | * Emit no errors for unresolved imports
|
161 |
| - * <p/> |
| 207 | + * </p> |
| 208 | + * <p> |
162 | 209 | * -proceedOnError
|
163 |
| - * <p/> |
| 210 | + * </p> |
| 211 | + * <p> |
164 | 212 | * Keep compiling after error, dumping class files with problem methods
|
165 |
| - * <p/> |
| 213 | + * </p> |
| 214 | + * <p> |
166 | 215 | * -g:[lines,vars,source]
|
167 |
| - * <p/> |
| 216 | + * </p> |
| 217 | + * <p> |
168 | 218 | * debug attributes level, that may take three forms:
|
169 |
| - * <p/> |
| 219 | + * </p> |
| 220 | + * <p> |
170 | 221 | * -g all debug info ('-g:lines,vars,source')
|
171 | 222 | * -g:none no debug info
|
172 | 223 | * -g:{items} debug info for any/all of [lines, vars, source], e.g.,
|
173 | 224 | * -g:lines,source
|
174 |
| - * <p/> |
175 |
| - * <p/> |
| 225 | + * </p> |
| 226 | + * <p> |
176 | 227 | * -preserveAllLocals
|
177 |
| - * <p/> |
| 228 | + * </p> |
| 229 | + * <p> |
178 | 230 | * Preserve all local variables during code generation (to facilitate debugging).
|
179 |
| - * <p/> |
| 231 | + * </p> |
| 232 | + * <p> |
180 | 233 | * -referenceInfo
|
181 |
| - * <p/> |
| 234 | + * </p> |
| 235 | + * <p> |
182 | 236 | * Compute reference information.
|
183 |
| - * <p/> |
| 237 | + * </p> |
| 238 | + * <p> |
184 | 239 | * -encoding format
|
185 |
| - * <p/> |
| 240 | + * </p> |
| 241 | + * <p> |
186 | 242 | * Specify default source encoding format. Specify custom encoding on a per file basis by suffixing each
|
187 | 243 | * input source file/folder name with '[encoding]'.
|
188 |
| - * <p/> |
| 244 | + * </p> |
| 245 | + * <p> |
189 | 246 | * -verbose
|
190 |
| - * <p/> |
| 247 | + * </p> |
| 248 | + * <p> |
191 | 249 | * Emit messages about accessed/processed compilation units
|
192 |
| - * <p/> |
193 |
| - * -log file |
194 |
| - * <p/> |
195 |
| - * Specify a log file for compiler messages. |
196 |
| - * -progress |
197 |
| - * <p/> |
198 |
| - * Show progress (requires -log mode). |
199 |
| - * -time |
200 |
| - * <p/> |
201 |
| - * Display speed information. |
202 |
| - * -noExit |
203 |
| - * <p/> |
204 |
| - * Do not call System.exit(n) at end of compilation (n=0 if no error) |
205 |
| - * -repeat N |
206 |
| - * <p/> |
207 |
| - * Repeat compilation process N times (typically to do performance analysis). |
208 |
| - * -Xnoweave |
209 |
| - * <p/> |
210 |
| - * (Experimental) produce unwoven class files for input using -injars. |
211 |
| - * -Xnoinline |
212 |
| - * <p/> |
213 |
| - * (Experimental) do not inline around advice |
| 250 | + * </p> |
| 251 | + * <p> |
| 252 | + * -log file Specify a log file for compiler messages. |
| 253 | + * </p> |
| 254 | + * <p> |
| 255 | + * -progress Show progress (requires -log mode). |
| 256 | + * </p> |
| 257 | + * <p> |
| 258 | + * -time Display speed information. |
| 259 | + * </p> |
| 260 | + * <p> |
| 261 | + * -noExit Do not call System.exit(n) at end of compilation (n=0 if no error) |
| 262 | + * </p> |
| 263 | + * <p> |
| 264 | + * -repeat N Repeat compilation process N times (typically to do performance analysis). |
| 265 | + * </p> |
| 266 | + * <p> |
| 267 | + * -Xnoweave (Experimental) produce unwoven class files for input using -injars. |
| 268 | + * </p> |
| 269 | + * <p> |
| 270 | + * -Xnoinline (Experimental) do not inline around advice |
| 271 | + * </p> |
| 272 | + * <p> |
214 | 273 | * -XincrementalFile file
|
215 |
| - * <p/> |
| 274 | + * </p> |
| 275 | + * <p> |
216 | 276 | * (Experimental) This works like incremental mode, but using a file rather than standard input to control
|
217 | 277 | * the compiler. It will recompile each time file is changed and and halt when file is deleted.
|
218 |
| - * <p/> |
219 |
| - * -XserializableAspects |
220 |
| - * <p/> |
221 |
| - * (Experimental) Normally it is an error to declare aspects Serializable. This option removes that restriction. |
| 278 | + * </p> |
| 279 | + * <p> |
| 280 | + * -XserializableAspects (Experimental) Normally it is an error to declare aspects Serializable. This option removes that restriction. |
| 281 | + * </p> |
222 | 282 | *
|
223 | 283 | * @author <a href="mailto:[email protected]">Jason van Zyl</a>
|
224 | 284 | * @plexus.component role="org.codehaus.plexus.compiler.Compiler" role-hint="aspectj"
|
|
0 commit comments