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