The IJavaSourceElement interface is a common interface shared by the interfaces that represent various elements appearing within a compile unit. These interfaces include IJavaClass, IJavaMember, and IJavaStatement.
IJavaSourceElement : Idispatch
This interface defines the following members.
| Member | Description |
| CompileUnit | Refers to the compile unit that contains the source element. |
| DocComment | Provides access to the member's documentation comment. |
| GetRange | Returns the starting position and length of the range of text containing the source element. |
| IsValid | Indicates whether the source element object is valid. |
| Prototype | Returns a prototype string for the source element. |