@Override public String toString(){
  String s=super.toString();
  int index1=s.lastIndexOf('$');
  if (index1 != -1) {
    return s.substring(index1 + 1);
  }
  int index2=s.lastIndexOf('.');
  if (index2 != -1) {
    return s.substring(index2 + 1);
  }
  return s;
}

@ Override public String toString ( ) { String s = super . toString ( ) ; int index1 = s . lastIndexOf ( '$' ) ; if ( index1 != - 1 ) { return s . substring ( index1 + 1 ) ; } int index2 = s . lastIndexOf ( '.' ) ; if ( index2 != - 1 ) { return s . substring ( index2 + 1 ) ; } return s ; }
returns a string representation of this object .
