public String asString(){
  StringBuilder buff=new StringBuilder();
  for (int i=0; i < arrayLevel; i++) {
    if (refCount) {
      buff.append("ptr< ");
    }
    buff.append("array< ");
  }
  if (refCount) {
    if (!classObj.isPrimitive) {
      buff.append("ptr< ");
    }
  }
  buff.append(classObj.toString());
  if (refCount) {
    if (!classObj.isPrimitive) {
      buff.append(" >");
    }
  }
  for (int i=0; i < arrayLevel; i++) {
    if (refCount) {
      buff.append(" >");
    }
 else {
      if (!classObj.isPrimitive) {
        buff.append("*");
      }
    }
    buff.append(" >");
  }
  if (!refCount) {
    if (isObject()) {
      buff.append("*");
    }
  }
  return buff.toString();
}

public String asString ( ) { StringBuilder buff = new StringBuilder ( ) ; for ( int i = 0 ; i < arrayLevel ; i ++ ) { if ( refCount ) { buff . append ( "ptr< " ) ; } buff . append ( "array< " ) ; } if ( refCount ) { if ( ! classObj . isPrimitive ) { buff . append ( "ptr< " ) ; } } buff . append ( classObj . toString ( ) ) ; if ( refCount ) { if ( ! classObj . isPrimitive ) { buff . append ( " >" ) ; } } for ( int i = 0 ; i < arrayLevel ; i ++ ) { if ( refCount ) { buff . append ( " >" ) ; } else { if ( ! classObj . isPrimitive ) { buff . append ( "*" ) ; } } buff . append ( " >" ) ; } if ( ! refCount ) { if ( isObject ( ) ) { buff . append ( "*" ) ; } } return buff . toString ( ) ; }
get the c + + code .
