if (skipAnnotationClassList == null) {
skipAnnotationClassList = new HashSet<String>();
InputStream is = null;
try {
ClassLoader cl = Thread.currentThread().getContextClassLoader();
is = cl.getResourceAsStream(SKIP_ANNOTATION_CLASS_LIST_URL);
BufferedReader bf =
new BufferedReader(new InputStreamReader(is));
String className;
while ( (className = bf.readLine()) != null ) {
skipAnnotationClassList.add(className.trim());
}
} catch (IOException ioe) {
AnnotationUtils.getLogger().log(Level.WARNING,
ioe.getMessage(), ioe);
} finally {
if (is != null) {
try {
is.close();
} catch (IOException ioe2) {
// ignore
}
}
}
}