Class PrintInstance
java.lang.Object
ushiosan.jvm_utilities.internal.print.instance.PrintInstance
Class with utilities used to print instances dynamically
-
Method Summary
Modifier and TypeMethodDescriptionstatic PrintInstanceGet current class instanceLoop through the entire object and create a representation of the object in a text string.
-
Method Details
-
getInstance
Get current class instance- Returns:
- an instance of current class
-
toString
Loop through the entire object and create a representation of the object in a text string. This behavior can be configured using class annotations such asPrintOptsandPrintExclude.- Parameters:
obj- the object to transform- Returns:
- object string representation
-