return annotations.toArray();
}
}
private static String[] getClassURLs(String className) {
SourcePathProvider spp = SourcePath.getDefaultContext();
// TODO: spp.getAllURLs(className, true);
try {
return (String[]) spp.getClass().getMethod("getAllURLs", new Class[] { String.class, Boolean.TYPE }).
invoke(spp, new Object[] { className, Boolean.TRUE });
} catch (Exception ex) {
ErrorManager.getDefault().notify(ex);
return new String[0];
}