public final class ProbingEnvironment extends Object implements TypeEnvironment
Constructor and Description |
---|
ProbingEnvironment(API api) |
Modifier and Type | Method and Description |
---|---|
API |
getApi() |
CountDownLatch |
getCompilationProgressLatch() |
CountDownLatch |
getCompilationTeardownLatch() |
Elements |
getElementUtils() |
JavaElementForest |
getTree() |
Types |
getTypeUtils() |
Map<String,Set<RawUseSite>> |
getUseSiteMap()
Keys are binary names of classes
|
void |
setProcessingEnvironment(ProcessingEnvironment env) |
<R,P> R |
visitUseSites(TypeElement type,
UseSite.Visitor<R,P> visitor,
P parameter) |
public ProbingEnvironment(API api)
public API getApi()
public CountDownLatch getCompilationTeardownLatch()
public CountDownLatch getCompilationProgressLatch()
public JavaElementForest getTree()
public void setProcessingEnvironment(ProcessingEnvironment env)
@Nonnull public Elements getElementUtils()
getElementUtils
in interface TypeEnvironment
@Nonnull public Types getTypeUtils()
getTypeUtils
in interface TypeEnvironment
@Nonnull public Map<String,Set<RawUseSite>> getUseSiteMap()
@Nullable public <R,P> R visitUseSites(@Nonnull TypeElement type, @Nonnull UseSite.Visitor<R,P> visitor, @Nullable P parameter)
visitUseSites
in interface TypeEnvironment
Copyright © 2015. All Rights Reserved.