Here you can find the source of simpleName(final Class> className)
public static String simpleName(final Class<?> className)
//package com.java2s; public class Main { public static String simpleName(final Class<?> className) { if (className != null) { return className.getSimpleName(); } else {// ww w . j a v a 2 s. c o m return "NULL"; } } }