|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.errai.config.rebind.ReachableTypes
public class ReachableTypes
A class for obtaining information about whether types are reachable or not.
Instances of this class can be obtained from
EnvUtil.getAllReachableClasses(com.google.gwt.core.ext.GeneratorContext)
.
Field Summary | |
---|---|
static ReachableTypes |
EVERYTHING_REACHABLE_INSTANCE
A shareable, threadsafe, reusable instance that reports all types as reachable and reachability analysis as disabled. |
Method Summary | |
---|---|
boolean |
add(String fqcn)
Adds the named class as a reachable type. |
boolean |
contains(String fqcn)
Returns true if the named class is reachable from the GWT module being compiled. |
boolean |
isBasedOnReachabilityAnalysis()
Reports whether this ReachableTypes instance is reporting true reachability data, or if it is blindly reporting all classes as reachable. |
boolean |
isEmpty()
Returns true if real reachability analysis is in use and no classes are presently considered reachable. |
boolean |
remove(String fqcn)
Removed the named class as a reachable type. |
Collection<String> |
toCollection()
Return a collection of all reachable types |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ReachableTypes EVERYTHING_REACHABLE_INSTANCE
Method Detail |
---|
public boolean isEmpty()
public boolean contains(String fqcn)
fqcn
- The fully-qualified name of the class in question.
public boolean add(String fqcn)
fqcn
- The fully-qualified name of the class that should be considered
reachable.
public boolean remove(String fqcn)
fqcn
- The fully-qualified name of the class that should be considered
unreachable.
public boolean isBasedOnReachabilityAnalysis()
public Collection<String> toCollection()
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |