public final class Visitors extends Object
| Modifier and Type | Method and Description |
|---|---|
protected static <T> List<Class> |
getTypeArguments(Class<T> baseClass,
Class<? extends T> childClass)
Get the actual type arguments a child class has used to extend a generic base class.
|
static <T> Visitor<T> |
newVisitor(Class<T> type,
Visitor<T> visitor) |
protected static <T> List<Class> getTypeArguments(Class<T> baseClass, Class<? extends T> childClass)
T - the type of the baseClassbaseClass - the base classchildClass - the child classCopyright © 2023. All rights reserved.