XSourcePositionImpl function ( @ Nullable PsiElement arg0 ) { if ( arg0 == null ) return null ; VirtualFile loc0 = arg0 . getContainingFile ( ) . getVirtualFile ( ) ; if ( loc0 == null ) return null ; return createByOffset ( loc0 , arg0 . getTextOffset ( ) ) ; }
do not call this method from plugins , use xdebuggerutil #createpositionbyelement psielement instead concode_field_sep int myOffset concode_elem_sep VirtualFile myFile concode_elem_sep int myLine concode_field_sep Navigatable createNavigatable concode_elem_sep OpenFileDescriptor createOpenFileDescriptor concode_elem_sep OpenFileDescriptor doCreateOpenFileDescriptor concode_elem_sep int getOffset concode_elem_sep int getLine concode_elem_sep XSourcePositionImpl createByOffset concode_elem_sep XSourcePositionImpl create concode_elem_sep XSourcePositionImpl create concode_elem_sep String toString concode_elem_sep VirtualFile getFile