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