Includes non-concrete classes in docs

CommandLineGATK has extraDocs to ReadFilter and UserException as well
This commit is contained in:
Mark DePristo 2011-07-23 22:15:01 -04:00
parent 7420ed098e
commit 6b501e267b
2 changed files with 9 additions and 9 deletions

View File

@ -49,9 +49,8 @@ import java.util.*;
*/
@DocumentedGATKFeature(
groupName = "GATK Engine",
summary = "Features and arguments for the GATK engine itself, available to all walkers." )
//,
// extraDocs = { ReadFilter.class, UserException.class })
summary = "Features and arguments for the GATK engine itself, available to all walkers.",
extraDocs = { ReadFilter.class, UserException.class })
public class CommandLineGATK extends CommandLineExecutable {
@Argument(fullName = "analysis_type", shortName = "T", doc = "Type of analysis to run")
private String analysisName = null;

View File

@ -43,12 +43,13 @@ import java.util.*;
public class GenericDocumentationHandler extends DocumentedGATKFeatureHandler {
@Override
public boolean shouldBeProcessed(ClassDoc doc) {
try {
Class type = HelpUtils.getClassForDoc(doc);
return JVMUtils.isConcrete(type);
} catch ( ClassNotFoundException e ) {
return false;
}
return true;
// try {
// Class type = HelpUtils.getClassForDoc(doc);
// return JVMUtils.isConcrete(type);
// } catch ( ClassNotFoundException e ) {
// return false;
// }
}