1 package com.stateofflow.eclipse.metrics.calculators;
2
3 import org.eclipse.jdt.core.dom.MethodDeclaration;
4
5 import com.stateofflow.eclipse.metrics.type.NonNullType;
6
7 class Memento {
8 final MethodDeclaration methodNode;
9 final NonNullType typeNode;
10 final Object restorableState;
11
12 public Memento(final MethodDeclaration methodNode, final NonNullType typeNode, final Object restorableState) {
13 this.methodNode = methodNode;
14 this.typeNode = typeNode;
15 this.restorableState = restorableState;
16 }
17 }