Class JavaNameDisplayStrategy

  • Direct Known Subclasses:
    SimpleJavaNameDisplayStrategy

    public abstract class JavaNameDisplayStrategy
    extends Object
    To display a java-style name? for example, orderId => Order ID
    • Constructor Detail

      • JavaNameDisplayStrategy

        public JavaNameDisplayStrategy()
    • Method Detail

      • displayElementName

        public abstract String displayElementName​(String stubName)
      • displayElementType

        public abstract String displayElementType​(Class<?> type)
      • displayClassName

        public abstract String displayClassName​(Class<?> clazz)
        "HelloOrder" -> "Hello Order", Mainly for Class Inheritance display
        Parameters:
        clazz - The class to treat
        Returns:
        the pretty printed name