question: returns configuration bundleid as jsonobject from the config creating it if it does n't exist . returns null if either parameter is null or empty . concode_field_sep String BUNDLE_PUBLISHEDMYPLACES2 concode_elem_sep String KEY_EAST concode_elem_sep String BUNDLE_ANALYSE concode_elem_sep String BUNDLE_TOOLBAR concode_elem_sep String KEY_NORTH concode_elem_sep String BUNDLE_POSTPROCESSOR concode_elem_sep String KEY_SELECTEDLAYERS concode_elem_sep String BUNDLE_PUBLISHEDGRID concode_elem_sep String BUNDLE_ADMINLAYERSELECTOR concode_elem_sep String KEY_ZOOM concode_elem_sep String BUNDLE_MAPFULL concode_elem_sep String BUNDLE_INFOBOX concode_elem_sep String KEY_STATE concode_elem_sep String BUNDLE_ADMINLAYERRIGHTS concode_elem_sep String KEY_CONF concode_elem_sep String BUNDLE_MYPLACESIMPORT concode_elem_sep String BUNDLE_FEATUREDATA2 concode_elem_sep String BUNDLE_MYPLACES2 concode_elem_sep String BUNDLE_DIVMANAZER concode_elem_sep String BUNDLE_STATSGRID concode_field_sep void init concode_elem_sep String getName concode_elem_sep JSONObject getBundleConfig concode_elem_sep JSONObject getBundleConfig concode_elem_sep JSONObject getBundleState concode_elem_sep JSONObject getBundleState concode_elem_sep boolean isParamsValid concode_elem_sep boolean isBundlePresent concode_elem_sep Set<String> getBundleIds concode_elem_sep void teardown
target: JSONObject function ( final JSONObject arg0 , final String arg1 ) { if ( ! isParamsValid ( arg0 , arg1 ) ) { return null ; } if ( ! arg0 . has ( arg1 ) ) { final JSONObject loc0 = new JSONObject ( ) ; JSONHelper . putValue ( arg0 , arg1 , loc0 ) ; } return arg0 . optJSONObject ( arg1 ) ; }