Class KeepCreationPointTemplate
- java.lang.Object
-
- com.igormaznitsa.meta.common.templates.KeepCreationPointTemplate
-
- All Implemented Interfaces:
java.io.Serializable
public abstract class KeepCreationPointTemplate extends java.lang.Object implements java.io.Serializable
Allows to keep information about point where instance of the class was created.- Since:
- 1.0
- See Also:
CallTrace
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<KeepCreationPointTemplate,CallTrace>
REGISTRY
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description KeepCreationPointTemplate()
The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallTrace
getCreationPoint()
Get the creation point stack trace for the instance.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
REGISTRY
private static final java.util.Map<KeepCreationPointTemplate,CallTrace> REGISTRY
-
-
Constructor Detail
-
KeepCreationPointTemplate
@Warning("Must be called in successors, must not be called through constructor chain else you will see your constructors in stack trace!") public KeepCreationPointTemplate()
The Constructor.
-
-
Method Detail
-
getCreationPoint
public final CallTrace getCreationPoint()
Get the creation point stack trace for the instance.- Returns:
- the creation point stack trace
-
-