Skip to content
Snippets Groups Projects
Commit 778fe9d1 authored by Florian Angerer's avatar Florian Angerer
Browse files

Refine 'isInstrumentable'.

parent 86ab4655
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ public abstract class RNode extends RBaseNode implements RInstrumentableNode {
@Override
public boolean isInstrumentable() {
return true;
return (this instanceof RSyntaxElement && ((RSyntaxElement) this).getLazySourceSection() != null) || getSourceSection() != null;
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment