|
JBoss Logging I18n Annotation Processor 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.logging.processor.util.Objects.ToStringBuilder
public static class Objects.ToStringBuilder
A builder to build a default Object#toString() value.
| Method Summary | |
|---|---|
Objects.ToStringBuilder |
add(Object value)
|
Objects.ToStringBuilder |
add(String field,
Object value)
Adds the field and value to the value returned. |
static Objects.ToStringBuilder |
of(Class<?> clazz)
Creates a new string builder for the clazz. |
static Objects.ToStringBuilder |
of(Object self)
Creates a new string builder for the self. |
static Objects.ToStringBuilder |
of(String className)
Creates a new string builder for the className. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static Objects.ToStringBuilder of(Class<?> clazz)
clazz.
clazz - the base class for the string result.
public static Objects.ToStringBuilder of(String className)
className.
className - the class name to prepend the string value with.
public static Objects.ToStringBuilder of(Object self)
self.
self - the object to create the builder for.
public Objects.ToStringBuilder add(Object value)
public Objects.ToStringBuilder add(String field,
Object value)
field - the field for the value.value - the value of the field.
public String toString()
toString in class Object
|
JBoss Logging I18n Annotation Processor 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||