Warning when annotated methods are self-invocated from within its own class #1193
Labels
for: eclipse
something that is specific for Eclipse
for: vscode
something that is specific for VSCode
status: needs-discussion
status: needs-investigation
theme: validation
type: enhancement
Milestone
Expected Behavior
Given the example
when calling
bar()
,foo()
will not be executed in a transaction, because AOP only works with calls from outside the class AFAIK. The same applies probably for other annotations like@Cacheable
.I would expect from my IDE to be warned or at least informed about this situation. So in the line 7 I would expect a marker.
Current Behavior
No hints at all. You need to know what is going on.
Context
The situation is simply error-prone for inexperienced devs. A simple info or warning marker could help resolving the risk.
The text was updated successfully, but these errors were encountered: