if caret is null , checks whether handler is enabled in general i.e. enabled for at least one caret in editor , if caret is not null , checks whether it 's enabled for specified caret . concode_field_sep boolean myRunForEachCaret concode_elem_sep boolean inExecution concode_elem_sep boolean inCheck concode_elem_sep boolean myWorksInInjected concode_field_sep boolean executeInCommand concode_elem_sep boolean runForAllCarets concode_elem_sep DocCommandGroupId getCommandGroupId concode_elem_sep void doExecute concode_elem_sep boolean isEnabledForCaret concode_elem_sep void setWorksInInjected concode_elem_sep void doIfEnabled concode_elem_sep void perform concode_elem_sep void execute concode_elem_sep void execute
boolean function ( @ NotNull Editor arg0 , @ Nullable Caret arg1 , DataContext arg2 ) { return arg1 == null ? isEnabled ( arg0 , arg2 ) : isEnabledForCaret ( arg0 , arg1 , arg2 ) ; }