public StringConstant addString(String name){
  StringConstant entry=getString(name);
  if (entry != null) {
    return entry;
  }
  Utf8Constant utf8=addUTF8(name);
  entry=new StringConstant(this,_entries.size(),utf8.getIndex());
  addConstant(entry);
  return entry;
}

public StringConstant addString ( String name ) { StringConstant entry = getString ( name ) ; if ( entry != null ) { return entry ; } Utf8Constant utf8 = addUTF8 ( name ) ; entry = new StringConstant ( this , _entries . size ( ) , utf8 . getIndex ( ) ) ; addConstant ( entry ) ; return entry ; }
adds a string constant .
