Class ProbingEnvironment

java.lang.Object
org.revapi.java.compilation.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 Details

    • ProbingEnvironment

      public ProbingEnvironment(org.revapi.API api)
  • Method Details

    • getApi

      public org.revapi.API getApi()
    • getCompilationTeardownLatch

      public CountDownLatch getCompilationTeardownLatch()
    • getCompilationProgressLatch

      public CountDownLatch getCompilationProgressLatch()
    • getTree

      public JavaElementForest getTree()
    • setProcessingEnvironment

      public void setProcessingEnvironment(ProcessingEnvironment env)
    • 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
    • getTypeMap

      public Map<TypeElement,TypeElement> getTypeMap()
    • getModelElement

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

      public Set<TypeElement> getDerivedTypes(TypeElement superType)