226 |
* true when -all has been specified on the command line. |
* true when -all has been specified on the command line. |
227 |
*/ |
*/ |
228 |
private boolean option_all; |
private boolean option_all; |
229 |
|
|
230 |
|
/** |
231 |
|
* true when -reflection has been specified on the command line. |
232 |
|
*/ |
233 |
|
private boolean option_reflection; |
234 |
|
|
235 |
// TODO: add the rest of the options as instance variables |
// TODO: add the rest of the options as instance variables |
236 |
|
|
1285 |
option_all = true; |
option_all = true; |
1286 |
} |
} |
1287 |
}); |
}); |
1288 |
|
options.put("-reflection", new OptionProcessor(1) |
1289 |
|
{ |
1290 |
|
void process(String[] args) |
1291 |
|
{ |
1292 |
|
option_reflection = true; |
1293 |
|
} |
1294 |
|
}); |
1295 |
} |
} |
1296 |
|
|
1297 |
/** |
/** |
1422 |
+ " description and all tags, only generate declarations\n" |
+ " description and all tags, only generate declarations\n" |
1423 |
+ "\n" |
+ "\n" |
1424 |
+ "Gjdoc extension options:\n" |
+ "Gjdoc extension options:\n" |
1425 |
|
+ " -reflection Use reflection for resolving unqualified class names\n" |
1426 |
+ " -licensetext Include license text from source files\n" |
+ " -licensetext Include license text from source files\n" |
1427 |
/** |
/** |
1428 |
+ " -genhtml Generate HTML code instead of XML code. This is the\n" |
+ " -genhtml Generate HTML code instead of XML code. This is the\n" |
1624 |
} |
} |
1625 |
return gjdocVersion; |
return gjdocVersion; |
1626 |
} |
} |
1627 |
|
|
1628 |
|
public boolean isReflectionEnabled() |
1629 |
|
{ |
1630 |
|
return this.option_reflection; |
1631 |
|
} |
1632 |
} |
} |