Java Class Simple Name Get simpleName(final Class className)

Here you can find the source of simpleName(final Class className)

Description

simple Name

License

Open Source License

Declaration

public static String simpleName(final Class<?> className) 

Method Source Code

//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";
        }
    }
}

Related

  1. simpleClassNameAndHashCodeString(Object object)
  2. simpleClassNameFrom(String fqClassName)
  3. simpleClassNameOf(Class c)
  4. simpleName(Class clazz)
  5. simpleName(Class c)
  6. simpleName(final String fqn)
  7. simpleName(final String fullyQualifiedClassName)
  8. simpleName(final String name)
  9. simpleName(Object obj)