Caches and returns a reference to the specified class. @param name fully qualified class name @return reference, or null if the class is not found
(final String name)
| 43 | * @return reference, or {@code null} if the class is not found |
| 44 | */ |
| 45 | public static Class<?> find(final String name) { |
| 46 | try { |
| 47 | return forName(name); |
| 48 | } catch(final Throwable ex) { |
| 49 | Util.debug(ex); |
| 50 | return null; |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Caches and returns a reference to the specified class, or throws an exception. |