private static @Nullable RmicCompilerOptions getOptions(CompileContext context) {
    final JpsJavaCompilerConfiguration config = JpsJavaExtensionService.getInstance().getCompilerConfiguration(context.getProjectDescriptor().getProject());
    final JpsJavaCompilerOptions options = config.getCompilerOptions("Rmic");
    return ObjectUtils.tryCast(options, RmicCompilerOptions.class);
  }
private static @Nullable RmicCompilerOptions getOptions(CompileContext context)