Search in sources :

Example 1 with AbstractNamedReference

use of de.uka.ipd.sdq.stoex.AbstractNamedReference in project Palladio-Editors-Sirius by PalladioSimulator.

the class VariableUsageNameService method getFullName.

public String getFullName(VariableUsage variableUsage) {
    String out = "";
    AbstractNamedReference current = variableUsage.getNamedReference__VariableUsage();
    while (current != null) {
        out += current.getReferenceName();
        if ((current instanceof NamespaceReference)) {
            current = ((NamespaceReference) current).getInnerReference_NamespaceReference();
            out += ".";
        } else {
            current = null;
        }
    }
    return out;
}
Also used : AbstractNamedReference(de.uka.ipd.sdq.stoex.AbstractNamedReference) NamespaceReference(de.uka.ipd.sdq.stoex.NamespaceReference)

Aggregations

AbstractNamedReference (de.uka.ipd.sdq.stoex.AbstractNamedReference)1 NamespaceReference (de.uka.ipd.sdq.stoex.NamespaceReference)1