public final class ProbingEnvironment extends Object implements org.revapi.java.spi.TypeEnvironment
Constructor and Description |
---|
ProbingEnvironment(org.revapi.API api) |
Modifier and Type | Method and 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) |
public org.revapi.API getApi()
public CountDownLatch getCompilationTeardownLatch()
public CountDownLatch getCompilationProgressLatch()
public JavaElementForest getTree()
public void setProcessingEnvironment(ProcessingEnvironment env)
public boolean hasProcessingEnvironment()
public boolean isScanningComplete()
@Nonnull public Elements getElementUtils()
getElementUtils
in interface org.revapi.java.spi.TypeEnvironment
@Nonnull public Types getTypeUtils()
getTypeUtils
in interface org.revapi.java.spi.TypeEnvironment
public Map<TypeElement,TypeElement> getTypeMap()
public org.revapi.java.spi.JavaTypeElement getModelElement(TypeElement javaType)
getModelElement
in interface org.revapi.java.spi.TypeEnvironment
public Set<TypeElement> getDerivedTypes(TypeElement superType)
Copyright © 2014-2021 Lukas Krejci. All Rights Reserved.