get Line Ends
Gets last configured annotation line ends types from preferences.
Return
Last configured annotation line ends or default if not available.
Parameters
annotation Tool
Annotation tool for which we need the preferences.
abstract fun getLineEnds(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant): Pair<LineEndType, LineEndType>
Gets last configured annotation line ends types from preferences.
Return
Last configured annotation line ends or default if not available.
Parameters
annotation Tool
Annotation tool for which we need the preferences.
tool Variant
Variant of the annotation tool.