Package org.openjdk.jol.util
Class ObjectUtils
java.lang.Object
org.openjdk.jol.util.ObjectUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjectUtils
public ObjectUtils()
-
-
Method Details
-
safeToString
Produces the toString string, only calling toString() on known types, which do not mutate the instance.- Parameters:
o
- object to process- Returns:
- toString
-
value
Get the object field value.- Parameters:
o
- object to get field value fromf
- field descriptor- Returns:
- value, maybe a boxed primitive
-