throw new IllegalStateException("Unable to find prototype feature " + i.getId()); if (f.isFinal()) { throw new IllegalStateException( "Prototype feature " + i.getId() + " is marked as final and can't be used in a prototype.");
result.setLicense(this.getLicense()); result.setAssembled(this.isAssembled()); result.setFinal(this.isFinal()); result.setComplete(this.isComplete());