protected boolean isWrapperType(ResolvedType type) {
        return type != null && this.wrapperType.isAssignableFrom(type.getErasedType());
    }
Check whether the given type is an instance of the predefined wrapper class.

@param type type to check for assignability to wrapper class
@return whether the given type is deemed to be of the targeted wrapper type in the context of this module
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/module/FlattenedWrapperModule.java