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

public ClassConstant addClass ( String name ) { ClassConstant entry = getClass ( name ) ; if ( entry != null ) return entry ; Utf8Constant utf8 = addUTF8 ( name ) ; entry = new ClassConstant ( this , _entries . size ( ) , utf8 . getIndex ( ) ) ; addConstant ( entry ) ; return entry ; }
adds a class constant .
