Class ProbingEnvironment

  • All Implemented Interfaces:
    org.revapi.java.spi.TypeEnvironment

    public final class ProbingEnvironment
    extends Object
    implements org.revapi.java.spi.TypeEnvironment
    Since:
    0.1
    Author:
    Lukas Krejci
    • Constructor Detail

      • ProbingEnvironment

        public ProbingEnvironment​(org.revapi.API api)
    • Method Detail

      • getApi

        public org.revapi.API getApi()
      • getCompilationTeardownLatch

        public CountDownLatch getCompilationTeardownLatch()
      • getCompilationProgressLatch

        public CountDownLatch getCompilationProgressLatch()
      • hasProcessingEnvironment

        public boolean hasProcessingEnvironment()
      • isScanningComplete

        public boolean isScanningComplete()
      • getElementUtils

        @Nonnull
        public Elements getElementUtils()
        Specified by:
        getElementUtils in interface org.revapi.java.spi.TypeEnvironment
      • getTypeUtils

        @Nonnull
        public Types getTypeUtils()
        Specified by:
        getTypeUtils in interface org.revapi.java.spi.TypeEnvironment
      • getModelElement

        public org.revapi.java.spi.JavaTypeElement getModelElement​(TypeElement javaType)
        Specified by:
        getModelElement in interface org.revapi.java.spi.TypeEnvironment