Here you can find the source of simpleClassNameFrom(String fqClassName)
public static String simpleClassNameFrom(String fqClassName)
//package com.java2s; //License from project: Apache License public class Main { public static String simpleClassNameFrom(String fqClassName) { if (fqClassName == null) { return null; } else if (fqClassName.isEmpty()) { return ""; }/* ww w .j a v a2 s . c o m*/ final String[] split = fqClassName.split("\\."); return split[split.length - 1]; } }