public interface ISourceConstructImplExtension extends ISourceConstructImpl
ISourceConstructImpl
that introduces the notion of
element's occurrence count. ISourceConstruct
s may implement
this interface.Modifier and Type | Method and Description |
---|---|
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).
|
void |
setOccurrenceCount_(int occurrenceCount)
Sets the occurrence count for this element.
|
getParent_, getResource_
getSourceElementAt_, getSourceElementInfo_
equalsAndSameParentChain_, exists_, getChildren_, getChildrenOfType_, getHandleMemento_, getLocationUri_, getModel_, getName_, getRoot_, toDisplayString_, toString_
int getOccurrenceCount_()
void setOccurrenceCount_(int occurrenceCount)
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.
occurrenceCount
- the occurrence count for this element (> 0)Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0