Package io.micronaut.serde.reference
Class AbstractPropertyReferenceManager
java.lang.Object
io.micronaut.serde.reference.AbstractPropertyReferenceManager
- All Implemented Interfaces:
PropertyReferenceManager
public abstract class AbstractPropertyReferenceManager
extends Object
implements PropertyReferenceManager
Abstract implementation of
PropertyReferenceManager
.- Since:
- 1.0.0
-
Field Summary
Modifier and TypeFieldDescriptionprotected @Nullable ArrayDeque<PropertyReference<?,
?>> used to store current references. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Remove the last parent (if present) from the stack.<B,
P> void pushManagedRef
(PropertyReference<B, P> reference) Pushes a parent onto the stack.
-
Field Details
-
refs
used to store current references.
-
-
Constructor Details
-
AbstractPropertyReferenceManager
public AbstractPropertyReferenceManager()
-
-
Method Details
-
pushManagedRef
Description copied from interface:PropertyReferenceManager
Pushes a parent onto the stack.- Specified by:
pushManagedRef
in interfacePropertyReferenceManager
- Type Parameters:
B
- The bean typeP
- The parent- Parameters:
reference
- The reference- See Also:
-
popManagedRef
public void popManagedRef()Description copied from interface:PropertyReferenceManager
Remove the last parent (if present) from the stack.- Specified by:
popManagedRef
in interfacePropertyReferenceManager
- See Also:
-