}
return visitor.getSelection();
}
public static void validateSelection(ModuleAdapter scope) throws SelectionException {
SelectionValidationVisitor visitor = null;
try {
visitor = new SelectionValidationVisitor();
scope.getASTNode().accept(visitor);
} catch (SelectionException e) {
throw e;
} catch (Throwable e) {
throw new RuntimeException(e);