Package org.instancio.internal.util
Class Format
java.lang.Object
org.instancio.internal.util.Format
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
firstNonInstancioStackTraceLine
(Throwable throwable) Returns the first stacktrace element that is not 'org.instancio' as a string.static String
formatField
(Field field) static String
formatMethod
(Method method) static String
formatScopes
(List<Scope> scopes) static String
getTypeVariablesCsv
(Class<?> klass) static String
selectorErrorMessage
(String message, String methodName, String invokedMethods, Throwable t) static String
withoutPackage
(Type type)
-
Method Details
-
formatField
-
formatMethod
-
withoutPackage
-
formatScopes
-
getTypeVariablesCsv
-
firstNonInstancioStackTraceLine
Returns the first stacktrace element that is not 'org.instancio' as a string. Used for reporting unused selectors. -
selectorErrorMessage
-