public ScoringContext getPrototype() { PassageScoringContext context = new PassageScoringContext(); context.document = this.document; context.cachable = this.cachable; context.begin = this.begin; context.end = this.end; return context; }