public class ReflectionTypeSolver extends ClassLoaderTypeSolver
| Constructor and Description |
|---|
ReflectionTypeSolver()
Resolves classes from the JRE that is currently running.
|
ReflectionTypeSolver(boolean jreOnly) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
filterName(String name) |
getParent, setParent, tryToSolveTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRoot, hasType, solveTypepublic ReflectionTypeSolver(boolean jreOnly)
jreOnly - if true, will only resolve types from the java or javax packages.
This is an easy way to say "I need a JRE to solve classes, and the one that is currently running is fine."
If false, will resolve any kind of type.public ReflectionTypeSolver()
protected boolean filterName(String name)
filterName in class ClassLoaderTypeSolverCopyright © 2007–2019. All rights reserved.