Interface RtElement
public interface RtElement
The element object that represents various declarations in the source file depending on the target parser language.
A Java language declaration represents class, method, field, static block and some additional elements.
Used to denote the context that link objects
RtLink
are related to.- Since:
- 3.17.0
-
Method Details
-
getPosition
- Returns:
- the position of the element in the source file. For the provided Java and XML parsers, the position represents the line number of the declaration.
-
getType
- Returns:
- language specific element types like 'class' and 'method'.
-
getId
- Returns:
- the identifier of a element. (Can be used to search for it in the source file and distinguish it from other elements.)
-
getLinks
- Returns:
- a list of link objects related to the element.
-