class AnonymousCredentials extends Credentials {

    @Serial
    private static final long serialVersionUID = 7526472295622776147L;

    /** Constant <code>INSTANCE</code> */
    public final static AnonymousCredentials INSTANCE = new AnonymousCredentials();

    /** {@inheritDoc} */
    @Override
    public boolean equals(Object o) {<FILL_FUNCTION_BODY>}

    /** {@inheritDoc} */
    @Override
    public int hashCode() {
        return 0;
    }
}

        if (o instanceof AnonymousCredentials) {
            return true;
        }
        return false;
    
<methods>public non-sealed void <init>() ,public boolean isForAuthentication() <variables>protected org.pac4j.core.logout.LogoutType logoutType,private static final long serialVersionUID,protected java.lang.String source,private org.pac4j.core.profile.UserProfile userProfile