Skip to content

Commit

Permalink
Fix for issue #826
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Dec 15, 2024
1 parent cc4ea95 commit 774dd10
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,14 @@ else if((parentFieldDeclarationMap != null && parentFieldDeclarationMap.contains
}
}
}
if(result && operation instanceof UMLOperation && ((UMLOperation) operation).isStatic()) {
if(expression != null) {
return operation.getClassName().endsWith("." + expression) || operation.getClassName().equals(expression);
}
else {
return callerOperation.getClassName().equals(operation.getClassName());
}
}
return result;
}

Expand Down

0 comments on commit 774dd10

Please sign in to comment.