Class Format

java.lang.Object
org.instancio.internal.util.Format

public final class Format extends Object
  • Method Details

    • formatField

      public static String formatField(Field field)
    • formatMethod

      public static String formatMethod(Method method)
    • withoutPackage

      public static String withoutPackage(Type type)
    • formatScopes

      public static String formatScopes(List<Scope> scopes)
    • getTypeVariablesCsv

      public static String getTypeVariablesCsv(Class<?> klass)
    • firstNonInstancioStackTraceLine

      public static String firstNonInstancioStackTraceLine(Throwable throwable)
      Returns the first stacktrace element that is not 'org.instancio' as a string. Used for reporting unused selectors.
    • selectorErrorMessage

      public static String selectorErrorMessage(String message, String methodName, String invokedMethods, Throwable t)