/** * @param key * key to set. * @return new integer property. * @throws IllegalArgumentException * if key is invalid. */ public IntegerPluginProperty createInteger( final String key ) throws IllegalArgumentException { final IntegerPluginProperty property = new IntegerPluginProperty( key ); this.properties.add( property ); return property; }