public final class JavaElementForest
extends org.revapi.simple.SimpleElementForest
Constructor and Description |
---|
JavaElementForest(org.revapi.API api) |
Modifier and Type | Method and Description |
---|---|
SortedSet<TypeElement> |
getRoots() |
SortedSet<TypeElement> |
getRootsUnsafe() |
<T extends org.revapi.Element> |
search(Class<T> resultType,
boolean recurse,
org.revapi.query.Filter<? super T> filter,
org.revapi.Element root) |
<T extends org.revapi.Element> |
search(List<T> results,
Class<T> resultType,
SortedSet<? extends org.revapi.Element> currentLevel,
boolean recurse,
org.revapi.query.Filter<? super T> filter) |
<T extends org.revapi.Element> |
searchUnsafe(Class<T> resultType,
boolean recurse,
org.revapi.query.Filter<? super T> filter,
org.revapi.Element root) |
void |
setCompilationFuture(Future<?> compilation) |
String |
toString() |
public void setCompilationFuture(Future<?> compilation)
@Nonnull public SortedSet<TypeElement> getRoots()
getRoots
in interface org.revapi.ElementForest
getRoots
in class org.revapi.simple.SimpleElementForest
public SortedSet<TypeElement> getRootsUnsafe()
public <T extends org.revapi.Element> void search(@Nonnull List<T> results, @Nonnull Class<T> resultType, @Nonnull SortedSet<? extends org.revapi.Element> currentLevel, boolean recurse, @Nullable org.revapi.query.Filter<? super T> filter)
search
in class org.revapi.simple.SimpleElementForest
@Nonnull public <T extends org.revapi.Element> List<T> search(@Nonnull Class<T> resultType, boolean recurse, @Nullable org.revapi.query.Filter<? super T> filter, @Nullable org.revapi.Element root)
search
in interface org.revapi.ElementForest
search
in class org.revapi.simple.SimpleElementForest
public <T extends org.revapi.Element> List<T> searchUnsafe(Class<T> resultType, boolean recurse, org.revapi.query.Filter<? super T> filter, org.revapi.Element root)
public String toString()
toString
in class org.revapi.simple.SimpleElementForest
Copyright © 2014-2020 Lukas Krejci. All Rights Reserved.