+
+ if (compLoc != null) {
+ id += " " + compLoc;
+ }
+
+ // if (isReturn()) {
+ // property += "R";
+ // }
+ //
+ // if (isSkeleton()) {
+ // property += "S";
+ // }
+
+ if (property.length() > 0) {
+ property = " [" + property + "]";
+ }
+
+ return id + property;
+ }
+
+ public void setDeclarationNode() {
+ isDeclarationNode = true;
+ }
+
+ public boolean isDeclaratonNode() {
+ return isDeclarationNode;
+ }
+
+ public NTuple<Descriptor> getCurrentDescTuple() {
+
+ if (compLoc == null) {
+ return descTuple;
+ }
+
+ NTuple<Descriptor> curDescTuple = new NTuple<Descriptor>();
+ for (int i = 0; i < compLoc.getSize(); i++) {
+ Location locElement = compLoc.get(i);
+ curDescTuple.add(locElement.getLocDescriptor());
+ }
+ return curDescTuple;
+ }
+
+ public boolean isSkeleton() {
+ return isSkeleton;