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.API
getApi()
CountDownLatch
getCompilationProgressLatch()
CountDownLatch
getCompilationTeardownLatch()
Set<TypeElement>
getDerivedTypes(TypeElement superType)
Elements
getElementUtils()
org.revapi.java.spi.JavaTypeElement
getModelElement(TypeElement javaType)
JavaElementForest
getTree()
Map<TypeElement,TypeElement>
getTypeMap()
Types
getTypeUtils()
boolean
hasProcessingEnvironment()
boolean
isScanningComplete()
void
setProcessingEnvironment(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:
getElementUtils
in interfaceorg.revapi.java.spi.TypeEnvironment
-
getTypeUtils
@Nonnull public Types getTypeUtils()
- Specified by:
getTypeUtils
in interfaceorg.revapi.java.spi.TypeEnvironment
-
getTypeMap
public Map<TypeElement,TypeElement> getTypeMap()
-
getModelElement
public org.revapi.java.spi.JavaTypeElement getModelElement(TypeElement javaType)
- Specified by:
getModelElement
in interfaceorg.revapi.java.spi.TypeEnvironment
-
getDerivedTypes
public Set<TypeElement> getDerivedTypes(TypeElement superType)
-
-