public interface SourcePositionHolder
|Modifier and Type||Method and Description|
Returns the original source code (maybe different from toString() if a transformation has been applied.
If the element comes from a Java source file (hence has not created during transformation), returns the position in the original source file
default ElementSourceFragment getOriginalSourceFragment()
ElementSourceFragment.NO_SOURCE_FRAGMENTif this element has no original source fragment. Warning: this is a advanced method which cannot be considered as part of the stable API
Copyright © 2007–2018 Inria. All rights reserved.