• Method Detail

      • logError

        public void logError​(String msg)
        Log error.
        Parameters:
        msg - the msg
      • logInfo

        public void logInfo​(String msg)
        Log info.
        Parameters:
        msg - the msg
      • getClassBuffer

        public StringBuffer getClassBuffer()
        Gets the class buffer.
        Returns:
        the class buffer
      • createContent

        public void createContent​(String content)
        Creates the content.
        Parameters:
        content - the content
      • setFilename

        public void setFilename​(String filename)
      • getFilename

        public String getFilename()
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • log

        protected void log​(String level,
                           String msg)
        Log.
        Parameters:
        level - the level
        msg - the msg
      • getClassTemplate

        protected abstract String getClassTemplate()
        Gets the class template.
        Returns:
        the class template
      • readTemplateFile

        protected void readTemplateFile​(String filename)
                                 throws IOException
        Read template file.
        Parameters:
        filename - the filename
        Throws:
        IOException - Signals that an I/O exception has occurred.
      • replaceVariable

        protected void replaceVariable​(String name,
                                       String value)
        Replace variable.
        Parameters:
        name - the name
        value - the value
      • createPackageName

        protected void createPackageName​(String packagename)
      • createClassName

        protected void createClassName​(String name)
        Creates the class name.
        Parameters:
        name - the name
      • isReservedMethod

        protected boolean isReservedMethod​(String method)
        Checks if is reserved method.
        Parameters:
        method - the method
        Returns:
        true, if is reserved method
      • isVTableMode

        protected boolean isVTableMode()
      • isDispIdMode

        protected boolean isDispIdMode()