Example usage for org.apache.commons.lang3.builder StandardToStringStyle setUseClassName

List of usage examples for org.apache.commons.lang3.builder StandardToStringStyle setUseClassName

Introduction

In this page you can find the example usage for org.apache.commons.lang3.builder StandardToStringStyle setUseClassName.

Prototype

@Override
public void setUseClassName(final boolean useClassName) 

Source Link

Document

Sets whether to use the class name.

Usage

From source file:com.uimirror.auth.form.LoginForm.java

@Override
public String toString() {
    StandardToStringStyle style = new StandardToStringStyle();
    style.setFieldSeparator(", ");
    style.setUseClassName(false);
    style.setUseIdentityHashCode(false);
    return new ReflectionToStringBuilder(this, style).toString();
}