Gets any class and wraps it in an NMSClass @param name The full name of the class @return The wrapped NMSClass
(String name)
| 171 | * @return The wrapped NMSClass |
| 172 | */ |
| 173 | public static NMSClass getClass(String name) { |
| 174 | try { |
| 175 | return new NMSClass(Class.forName(name)); |
| 176 | } catch (ClassNotFoundException e) { |
| 177 | throw new IllegalArgumentException(e); |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | } |
no outgoing calls
no test coverage detected