UNITSOFMEASUREMENT-7: Getting rid of java.lang.reflect 

Task-Url: https://java.net/jira/browse/UNITSOFMEASUREMENT-7