Interface ClassDescriptionGenerator

    • Method Detail

      • handles

        boolean handles​(Object obj)
        Checks whether this object is handled by this generator.
        Parameters:
        obj - the object to check
        Returns:
        true if handled
      • handles

        boolean handles​(Class cls)
        Checks whether this class is handled by this generator.
        Parameters:
        cls - the class to check
        Returns:
        true if handled
      • generate

        Map<String,​Object> generate​(Object obj)
        Generates the description for the object.
        Parameters:
        obj - the object to process
        Returns:
        the description, null if failed to generate
      • generate

        Map<String,​Object> generate​(Class cls)
        Generates the description for the class.
        Parameters:
        cls - the class to process
        Returns:
        the description, null if failed to generate