Package org.revapi.java.compilation
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 Summary
Constructors Constructor Description ProbingEnvironment(org.revapi.API api)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.revapi.APIgetApi()CountDownLatchgetCompilationProgressLatch()CountDownLatchgetCompilationTeardownLatch()Set<TypeElement>getDerivedTypes(TypeElement superType)ElementsgetElementUtils()org.revapi.java.spi.JavaTypeElementgetModelElement(TypeElement javaType)JavaElementForestgetTree()Map<TypeElement,TypeElement>getTypeMap()TypesgetTypeUtils()booleanhasProcessingEnvironment()booleanisScanningComplete()voidsetProcessingEnvironment(ProcessingEnvironment env)
-
-
-
Method Detail
-
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:
getElementUtilsin interfaceorg.revapi.java.spi.TypeEnvironment
-
getTypeUtils
@Nonnull public Types getTypeUtils()
- Specified by:
getTypeUtilsin interfaceorg.revapi.java.spi.TypeEnvironment
-
getTypeMap
public Map<TypeElement,TypeElement> getTypeMap()
-
getModelElement
public org.revapi.java.spi.JavaTypeElement getModelElement(TypeElement javaType)
- Specified by:
getModelElementin interfaceorg.revapi.java.spi.TypeEnvironment
-
getDerivedTypes
public Set<TypeElement> getDerivedTypes(TypeElement superType)
-
-