protected static String removePackageName(String typeName){
  int index=typeName.lastIndexOf('.');
  if (index >= 0) {
    typeName=typeName.substring(index + 1);
  }
  return typeName;
}

protected static String removePackageName ( String typeName ) { int index = typeName . lastIndexOf ( '.' ) ; if ( index >= 0 ) { typeName = typeName . substring ( index + 1 ) ; } return typeName ; }
shorten a type name by removing the package name
