public final class ClassStack extends Object
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
_current |
protected ClassStack |
_parent |
Constructor and Description |
---|
ClassStack(Class<?> rootType) |
Modifier and Type | Method and Description |
---|---|
void |
addSelfReference(ResolvedRecursiveType ref)
Method called to indicate that there is a self-reference from
deeper down in stack pointing into type this stack frame represents.
|
ClassStack |
child(Class<?> cls) |
ClassStack |
find(Class<?> cls) |
void |
resolveSelfReferences(JavaType resolved)
Method called when type that this stack frame represents is
fully resolved, allowing self-references to be completed
(if there are any)
|
String |
toString() |
protected final ClassStack _parent
protected final Class<?> _current
public ClassStack(Class<?> rootType)
public ClassStack child(Class<?> cls)
public void addSelfReference(ResolvedRecursiveType ref)
public void resolveSelfReferences(JavaType resolved)
public ClassStack find(Class<?> cls)
Copyright © 2008–2016 FasterXML. All rights reserved.