* @param unitType the unit type
* @return the symbol
*/
@Nonnull
public static String getSymbol( @Nonnull Class<? extends Annotation> unitType ) {
Symbol symbol = unitType.getAnnotation( Symbol.class );
if ( symbol == null ) {
throw new IllegalArgumentException( "Missing annotation " + Symbol.class.getName() + " for " + unitType );
}
return symbol.value();
}