src/main/java/ognl/OgnlRuntime.java
public static String getBaseName(Object o)
    {
        return (o == null) ? null : getClassBaseName(o.getClass());
    }
public static String getBaseName(Object o)
    {
        return (o == null) ? null : getClassBaseName(o.getClass());
    }
public static String getBaseName ( Object o ) { return ( o == null ) ? null : getClassBaseName ( o . getClass ( ) ) ; }
Returns the base name (the class name without the package name prepended) of the object
given.
Returns the base name ( the class name without the package name prepended ) of the object given .