Here you can find the source of typeToSimpleName(String typeName)
public static String typeToSimpleName(String typeName)
//package com.java2s; //License from project: Open Source License public class Main { public static String typeToSimpleName(String typeName) { int dotIdx = typeName.indexOf('.'); if (dotIdx == -1) { return typeName; }/*from w w w. j a v a 2 s . c om*/ return typeName.substring(dotIdx + 1); } }