All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mockit.internal.expectations.mocking.TypeRedefinition 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.expectations.mocking;

import javax.annotation.*;

class TypeRedefinition extends BaseTypeRedefinition
{
   TypeRedefinition(@Nonnull MockedType typeMetadata) { super(typeMetadata); }

   @Nullable
   final InstanceFactory redefineType()
   {
      //noinspection ConstantConditions
      return redefineType(typeMetadata.getDeclaredType());
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy