try {
for (final Method m : ScannerSingleton.getOrCreateInstance().getMethodsAnnotatedWith(annotation)) {
Class<?> clazz = m.getDeclaringClass();
if (!isReloadable(clazz) && MetaClassFactory.isKnownType(clazz.getName())) {
final MetaClass metaClass = MetaClassFactory.get(clazz);
result.add(new JavaReflectionMethod(metaClass, m));
}
}
} catch (Exception ignored) {
}
}