|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| ReflectionUtils.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 | package com.agical.rmock.core.util; | |
| 2 | ||
| 3 | import com.agical.rmock.core.exception.reflection.ClassNotFoundSystemException; | |
| 4 | ||
| 5 | public class ReflectionUtils { | |
| 6 | ||
| 7 | 2 | public Class classForName(String name) { |
| 8 | 2 | try { |
| 9 | 2 | return Class.forName(name); |
| 10 | } catch (ClassNotFoundException e) { | |
| 11 | 1 | throw new ClassNotFoundSystemException(name); |
| 12 | } | |
| 13 | } | |
| 14 | ||
| 15 | } |
|
||||||||||