Interface ISourceConstructImplExtension

    • Method Detail

      • getOccurrenceCount_

        int getOccurrenceCount_()
        Returns the count used to distinguish source constructs that would otherwise be equal (such as two fields with the same name in the same type). Numbering starts at 1 (thus the first occurrence is occurrence 1, not occurrence 0).
        Returns:
        the occurrence count for this element
      • setOccurrenceCount_

        void setOccurrenceCount_​(int occurrenceCount)
        Sets the occurrence count for this element.

        This method is intended to be used only when building the structure of a source file to distinguish source constructs that would otherwise be equal.

        Parameters:
        occurrenceCount - the occurrence count for this element (> 0)