Class TypeSection.FieldDefinition

    • Constructor Detail

      • FieldDefinition

        public FieldDefinition()
        Constructor
      • FieldDefinition

        public FieldDefinition​(String name)
        Constructor. Creates field with concrete name
        Parameters:
        name - name of the creating field, cannot be null
    • Method Detail

      • getName

        public String getName()
        Gets name of the field
        Returns:
        name of the field, never null
      • setName

        public void setName​(String name)
        Sets name of the field
        Parameters:
        name - name of the field, cannot be null
      • setNameOffset

        public void setNameOffset​(int offset)
        Sets offset on the line of begining field name
        Parameters:
        offset - on the line of begining field name
      • getNameOffset

        public int getNameOffset()
        Gets offset on the line of begining field name
        Returns:
        offset on the line of begining field name
      • setLineNumber

        public void setLineNumber​(int lineNumber)
        Sets line number of starting field definition
        Parameters:
        lineNumber - line number of starting field definition, line number compute from the start comment section
      • getLineNumber

        public int getLineNumber()
        Gets line number of starting field definition
        Returns:
        lineNumber line number of starting field definition, line number compute from the start comment section