src/main/java/ognl/OgnlRuntime.java
public static Class getTargetClass(Object o)
    {
        return (o == null) ? null : ((o instanceof Class) ? (Class) o : o.getClass());
    }
public static Class getTargetClass(Object o)
    {
        return (o == null) ? null : ((o instanceof Class) ? (Class) o : o.getClass());
    }
public static Class getTargetClass ( Object o ) { return ( o == null ) ? null : ( ( o instanceof Class ) ? ( Class ) o : o . getClass ( ) ) ; }
Gets the "target" class of an object for looking up accessors that are registered on the
target. If the object is a Class object this will return the Class itself, else it will
return object's getClass() result.
Gets the target class of an object for looking up accessors that are registered on the target . If the object is a Class object this will return the Class itself else it will return object s getClass () result .