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 |
|---|---|
void |
addExplicitExclusion(String canonicalName) |
void |
addExplicitInclusion(String canonicalName) |
org.revapi.API |
getApi() |
CountDownLatch |
getCompilationProgressLatch() |
CountDownLatch |
getCompilationTeardownLatch() |
Set<TypeElement> |
getDerivedTypes(TypeElement superType) |
Elements |
getElementUtils() |
JavaElementForest |
getTree() |
Map<TypeElement,TypeElement> |
getTypeMap() |
Types |
getTypeUtils() |
boolean |
hasProcessingEnvironment() |
boolean |
isExplicitlyExcluded(Element element) |
boolean |
isExplicitlyIncluded(Element element) |
boolean |
isScanningComplete() |
void |
setProcessingEnvironment(ProcessingEnvironment env) |
void |
setTypeMap(Map<TypeElement,TypeElement> typeMap) |
public org.revapi.API getApi()
public CountDownLatch getCompilationTeardownLatch()
public CountDownLatch getCompilationProgressLatch()
public JavaElementForest getTree()
public void setProcessingEnvironment(ProcessingEnvironment env)
public boolean hasProcessingEnvironment()
public boolean isExplicitlyIncluded(Element element)
isExplicitlyIncluded in interface org.revapi.java.spi.TypeEnvironmentpublic boolean isExplicitlyExcluded(Element element)
isExplicitlyExcluded in interface org.revapi.java.spi.TypeEnvironmentpublic 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.TypeEnvironmentpublic void setTypeMap(Map<TypeElement,TypeElement> typeMap)
public Map<TypeElement,TypeElement> getTypeMap()
public Set<TypeElement> getDerivedTypes(TypeElement superType)
public void addExplicitExclusion(String canonicalName)
public void addExplicitInclusion(String canonicalName)
Copyright © 2014-2020 Lukas Krejci. All Rights Reserved.