return (cls.getDeclaringClass() != null);
return (cls.getName().indexOf('$') >= 0);
    public static boolean isInnerClass(Class cls) {        if (cls == null) {            throw new IllegalArgumentException("The class must not be null");        }        return (cls.getDeclaringClass() != null);    }