private static void stampTypeOnJsonObject(final Object o, final Type t) {
    """
	node (no further subtypes in it's parameterized type definition)
    """
        Class clazz = t instanceof Class ? (Class)t : getRawType(t);

        if (o instanceof JsonObject && clazz != null)
        {
            JsonObject jObj = (JsonObject) o;
            if ((jObj.type == null || jObj.type.isEmpty()) && jObj.target == null)
            {
                jObj.type = clazz.getName();
            }
        }
    }
private static void stampTypeOnJsonObject(final Object o, final Type t)
    {
        Class clazz = t instanceof Class ? (Class)t : getRawType(t);

        if (o instanceof JsonObject && clazz != null)
        {
            JsonObject jObj = (JsonObject) o;
            if ((jObj.type == null || jObj.type.isEmpty()) && jObj.target == null)
            {
                jObj.type = clazz.getName();
            }
        }
    }
private static void stampTypeOnJsonObject ( final Object o , final Type t ) { Class clazz = t instanceof Class ? ( Class ) t : getRawType ( t ) ; if ( o instanceof JsonObject && clazz != null ) { JsonObject jObj = ( JsonObject ) o ; if ( ( jObj . type == null || jObj . type . isEmpty ( ) ) && jObj . target == null ) { jObj . type = clazz . getName ( ) ; } } }
node (no further subtypes in it's parameterized type definition)
node ( no further subtypes in it s parameterized type definition )