/** * Gets a property of type {@link PropertyType#FRACTION}, interpreting the value properly. * * @param property * property to get * @return property value * @throws IllegalArgumentException * if the property is of the wrong type */ public double getFraction(Property property) { checkType(property, PropertyType.FRACTION); return ConfigurationTypeHelper.getFraction(get(property)); }