mockit.internal.faking.FakeStates Maven / Gradle / Ivy
/*
* Copyright (c) 2006 Rogério Liesenfeld
* This file is subject to the terms of the MIT license (see LICENSE.txt).
*/
package mockit.internal.faking;
import java.util.*;
import java.util.Map.*;
import java.util.regex.*;
import javax.annotation.*;
import mockit.internal.util.*;
/**
* Holds state associated with fake class containing {@linkplain mockit.Mock annotated fakes}.
*/
public final class FakeStates
{
private static final Pattern SPACE = Pattern.compile(" ");
/**
* For each fake instance and each {@code @Mock} method containing the {@code Invocation} parameter, a runtime state
* will be kept here.
*/
@Nonnull private final Map