Package stdlib
Class Format
java.lang.Object
stdlib.Format
Code for formatting values and other static utilities.
- Author:
- James Riely, [email protected], August 2014
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static String
emptyArrayToStringShort
(ArrayReference arrayRef, int length) static String
static StackFrame
getFrame
(Method meth, ThreadReference thr) static String
glob2regex
(String glob) static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
matchesExcludePrefix
(String typeName) static boolean
matchesExcludePrefixShow
(String typeName) static String
methodToString
(Method m, boolean showClass) static String
methodToString
(Method m, boolean showClass, boolean showParameters, String dotCharacter) private static String
nonemptyArrayToStringShort
(ArrayReference arrayRef, int length) private static String
objectToStringLong
(boolean inArray, Set<Value> visited, ObjectReference objRef) static String
objectToStringLong
(ObjectReference objRef) static String
objectToStringShort
(ObjectReference objRef) static String
static String
static boolean
tooManyFields
(ObjectReference objRef) private static String
valueToString
(boolean inArray, Set<Value> visited, Value value) static String
valueToString
(Value value) static String
valueToStringShort
(Value value) static String
-
Field Details
-
EXCLUDE_REGEX
-
DRAWING_INCLUDE_REGEX
-
-
Constructor Details
-
Format
private Format()
-
-
Method Details
-
getFrame
-
glob2regex
-
matchesExcludePrefix
-
matchesExcludePrefixShow
-
valueToString
-
valueToString
-
valueToStringShort
-
isWrapper
-
wrapperToString
-
objectToStringShort
-
emptyArrayToStringShort
-
nonemptyArrayToStringShort
-
objectToStringLong
-
objectToStringLong
private static String objectToStringLong(boolean inArray, Set<Value> visited, ObjectReference objRef) -
ignoreThread
-
isStaticField
-
isObjectField
-
isConstructor
-
isObjectMethod
-
isClassMethod
-
tooManyFields
-
shortenFullyQualifiedName
-
shortenFilename
-
fieldToString
-
methodToString
-
methodToString
public static String methodToString(Method m, boolean showClass, boolean showParameters, String dotCharacter)
-