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