Class ClassLoadingBridge

java.lang.Object
mockit.internal.ClassLoadingBridge
All Implemented Interfaces:
InvocationHandler
Direct Known Subclasses:
FakeBridge, FakeMethodBridge, MockedBridge

public abstract class ClassLoadingBridge extends Object implements InvocationHandler
  • Field Details

    • hostJREClassName

      public static String hostJREClassName
    • id

      public final String id
  • Constructor Details

    • ClassLoadingBridge

      protected ClassLoadingBridge(@NonNull String id)
      The instance is stored in a place directly accessible through the Java SE API, so that it can be recovered from any class loader.
  • Method Details

    • notToBeMocked

      protected static boolean notToBeMocked(@Nullable Object instance, @NonNull String classDesc)
    • instanceOfClassThatParticipatesInClassLoading

      public static boolean instanceOfClassThatParticipatesInClassLoading(@NonNull Class<?> aClass)
    • extractArguments

      @NonNull protected static Object[] extractArguments(@org.checkerframework.checker.index.qual.NonNegative int startingIndex, @NonNull Object[] args)