private static boolean isComponentPojo(Class<?> componentType)
    {
        return Message.class.isAssignableFrom(componentType) ||
                (!Throwable.class.isAssignableFrom(componentType) && 
                        !Map.class.isAssignableFrom(componentType) && 
                        !Collection.class.isAssignableFrom(componentType));
    }
A schema for dynamic types (fields where the type is {@link Object}).

@author David Yu
@created Feb 1, 2011
protostuff-runtime/src/main/java/io/protostuff/runtime/ObjectSchema.java