Example usage for org.apache.commons.lang.builder StandardToStringStyle setUseShortClassName

List of usage examples for org.apache.commons.lang.builder StandardToStringStyle setUseShortClassName

Introduction

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

Prototype

public void setUseShortClassName(boolean useShortClassName) 

Source Link

Document

Sets whether to output short or long class names.

Usage

From source file:org.novelang.testing.DirectoryFixture.java

public String toString() {
    final StandardToStringStyle style = new StandardToStringStyle();
    style.setUseShortClassName(true);

    return new ToStringBuilder(this, style).append(testIdentifier).toString();
}