public FeatureStructure createFS(int addr, CASImpl cas) { if (GENIAConstituent_Type.this.useExistingInstance) { // Return eq fs instance if already created FeatureStructure fs = GENIAConstituent_Type.this.jcas.getJfsFromCaddr(addr); if (null == fs) { fs = new GENIAConstituent(addr, GENIAConstituent_Type.this); GENIAConstituent_Type.this.jcas.putJfsFromCaddr(addr, fs); return fs; } return fs; } else return new GENIAConstituent(addr, GENIAConstituent_Type.this); } };