Lines Matching defs:includeSuperClass
246 * @param includeSuperClass - Tell whether to include the super class properties.
248 public JSONObject(Map map, boolean includeSuperClass) {
258 includeSuperClass));
304 * @param includeSuperClass If true, include the super class properties.
306 public JSONObject(Object bean, boolean includeSuperClass) {
308 populateInternalMap(bean, includeSuperClass);
311 private void populateInternalMap(Object bean, boolean includeSuperClass){
314 /* If klass.getSuperClass is System class then force includeSuperClass to false. */
317 includeSuperClass = false;
320 Method[] methods = (includeSuperClass) ?
347 map.put(key, new JSONArray(result, includeSuperClass));
349 map.put(key, new JSONArray((Collection)result, includeSuperClass));
351 map.put(key, new JSONObject((Map)result, includeSuperClass));
359 map.put(key, new JSONObject(result, includeSuperClass));