Class ModelBuilder


  • public final class ModelBuilder
    extends Object
    A model builder. This class performs the work of creating a class description model from a set of source files.
    • Method Detail

      • getInstance

        public static ModelBuilder getInstance()
        Returns the single instance of this class.
        Returns:
        the single instance of this class.
      • addAttributeHandlers

        public void addAttributeHandlers​(Properties p)
        Adds attribute handlers.
        Parameters:
        p - the handlers.
      • isValidMethod

        public static boolean isValidMethod​(Method method)
        Checks, whether the given method can be called from the generic object factory.
        Parameters:
        method - the method descriptor
        Returns:
        true, if the method is not null and public, false otherwise.