Class EclipseMisc

java.lang.Object
com.diffplug.gradle.oomph.EclipseMisc

public class EclipseMisc extends Object
Utilities for working with eclipse internals (which should only be called from within an Eclipse instance).
  • Field Details

  • Constructor Details

    • EclipseMisc

      public EclipseMisc()
  • Method Details

    • withService

      public static <T> void withService(Class<T> clazz, EclipseMisc.ThrowingConsumer<T> action)
      Performs some action using an Eclipse service.
    • logException

      public static void logException(Throwable t)
      Logs an exception to the console and the eclipse error log.
    • waitForJobsToFinish

      public static void waitForJobsToFinish()
      Waits for all the jobs to finish.