@Override
        public void resetAfterSchemaGenerationFinished() {
            if (this.scanResult != null) {
                this.scanResult.close();
                this.scanResult = null;
            }
        }
Simple implementation of a reflection based subtype resolver, considering only subtypes from a certain package.
jsonschema-examples/src/main/java/com/github/victools/jsonschema/examples/SubtypeLookUpExample.java