// we need to go deeper
inspectedClass = inspectedClass.getSuperclass();
// no need to go further
- } catch (NoSuchMethodException e) {
+ } catch (final NoSuchMethodException e) {
inspectedClass = Object.class;
}
} while (!inspectedClass.equals(Object.class));
if (annotation != null) {
result.add(annotation);
}
- } catch (NoSuchMethodException e) {
+ } catch (final NoSuchMethodException e) {
}
}