private static List<PlatformDotNetLifecycleBean> beans(IgniteConfiguration cfg){
  List<PlatformDotNetLifecycleBean> res=new ArrayList<>();
  if (cfg.getLifecycleBeans() != null) {
    for (    LifecycleBean bean : cfg.getLifecycleBeans()) {
      if (bean instanceof PlatformDotNetLifecycleBean)       res.add((PlatformDotNetLifecycleBean)bean);
    }
  }
  return res;
}

private static List < PlatformDotNetLifecycleBean > beans ( IgniteConfiguration cfg ) { List < PlatformDotNetLifecycleBean > res = new ArrayList < > ( ) ; if ( cfg . getLifecycleBeans ( ) != null ) { for ( LifecycleBean bean : cfg . getLifecycleBeans ( ) ) { if ( bean instanceof PlatformDotNetLifecycleBean ) res . add ( ( PlatformDotNetLifecycleBean ) bean ) ; } } return res ; }
find . net lifecycle beans in configuration .
