public interface ISymbolService
Classes implementing this Interfaces are able to give the name and the complete name of an element even if it is not yet/anymore in the project but still in the repository.
Modifier and Type | Method and Description |
---|---|
void |
cacheSymbol(MRef ref)
Keep in a local cache the name and the full name of the given reference, before the file representing the
reference is deleted by example.
|
java.lang.String |
getFullName(MObject e)
Get the complete name of the model object.
|
java.lang.String |
getFullName(MRef ref)
Get the complete name of the element.
|
java.lang.String |
getName(MObject e) |
java.lang.String |
getName(MRef ref) |
java.lang.String getName(MObject e)
e
- a model object.java.lang.String getName(MRef ref)
ref
- a model object reference.java.lang.String getFullName(MObject e)
e
- a model object.java.lang.String getFullName(MRef ref)
ref
- an element reference.void cacheSymbol(MRef ref)
ref
- the reference to cache.