RunConfiguration function ( @ Nullable ConfigurationType arg0 ) { if ( arg0 == null ) { return myRuntimeConfiguration ; } if ( myRuntimeConfiguration != null && ConfigurationTypeUtil . equals ( myRuntimeConfiguration . getType ( ) , arg0 ) ) { return myRuntimeConfiguration ; } return null ; }
returns original runconfiguration from this context.for example , it could be some test framework runtime configuration that had been launched and that had brought a result test tree on which a right-click action was performed . concode_field_sep Logger LOG concode_elem_sep Key<ConfigurationContext> SHARED_CONTEXT concode_elem_sep Location<PsiElement> myLocation concode_elem_sep RunConfiguration myRuntimeConfiguration concode_elem_sep Ref<RunnerAndConfigurationSettings> myExistingConfiguration concode_elem_sep List<RuntimeConfigurationProducer> myPreferredProducers concode_elem_sep RunnerAndConfigurationSettings myConfiguration concode_elem_sep Module myModule concode_elem_sep List<ConfigurationFromContext> myConfigurationsFromContext concode_elem_sep Component myContextComponent concode_field_sep Module getModule concode_elem_sep Location getLocation concode_elem_sep RunManager getRunManager concode_elem_sep List<RuntimeConfigurationProducer> findPreferredProducers concode_elem_sep ConfigurationContext getFromContext concode_elem_sep DataContext getDataContext concode_elem_sep List<ConfigurationFromContext> getConfigurationsFromContext concode_elem_sep RunnerAndConfigurationSettings getConfiguration concode_elem_sep RunnerAndConfigurationSettings findExisting concode_elem_sep PsiElement getPsiLocation concode_elem_sep void createConfiguration concode_elem_sep PsiElement getSelectedPsiElement concode_elem_sep void setConfiguration concode_elem_sep RunnerAndConfigurationSettings updateConfiguration concode_elem_sep Project getProject