getActionByModifier

private fun getActionByModifier(array: Boolean = false, repeat: Boolean = false, settings: Boolean = false): AnAction(source)

Returns the action that is appropriate for the given keyboard modifiers.

Parameters

array

true if and only if the output should be in array form

repeat

true if and only if the output should be repeated

settings

true if and only if settings should be shown