mockit.internal.state.MockFixture.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmockit-coverage Show documentation
Show all versions of jmockit-coverage Show documentation
JMockit Coverage is a code coverage tool with several metrics (line, path, data) capable of generating HTML
reports. It is designed with ease of use in mind, avoiding the need for complex configuration.
Instead, smart (but overridable) defaults are employed, such as the selection of which classes to consider for
coverage, and where to find sources files for report generation.
???? 2
_/0
1 r23
1 r45
/ r6 r78
/ r9
/ r: r;<=>?
/
@
A
B
rC
DE
FG
%HIJ
KL
DM
_N<O
rPIQIRS
%T
U
DV
rW
rX
DY<Z[
%\
%]
^_<`abcdcef 5gh
ij
%k 5l<mn
</
<o
rp
rq<rasat
ru
rv<wIx
yz
{|<}a}
r~
r? ?
N?
<?
<?c? 5?IrI?a?
?aJ
%???
???
????
??
?
??
?I}
??
??
j?
????I?Ib
j??? transformedClasses Ljava/util/Map; Signature 8Ljava/util/Map; RuntimeInvisibleAnnotations #Lorg/jetbrains/annotations/NotNull; redefinedClasses 'Ljava/util/Map;[B>; !redefinedClassesWithNativeMethods Ljava/util/Set; #Ljava/util/Set; realClassesToMockClasses 7Ljava/util/Map;Ljava/lang/String;>;
mockedClasses Ljava/util/List; &Ljava/util/List;>; mockedTypesAndInstances _Ljava/util/Map; captureTransformers CLjava/util/List;>; ()V Code LineNumberTable LocalVariableTable this #Lmockit/internal/state/MockFixture; addTransformedClass *(Lmockit/internal/ClassIdentification;[B)V classId %Lmockit/internal/ClassIdentification; pretransformClassfile [B $RuntimeInvisibleParameterAnnotations addRedefinedClass ((Ljava/lang/String;Ljava/lang/Class;[B)V
previousNames Ljava/lang/String; mockClassInternalName redefinedClass Ljava/lang/Class; modifiedClassfile LocalVariableTypeTable Ljava/lang/Class<*>;
StackMapTable +(Ljava/lang/String;Ljava/lang/Class<*>;[B)V $Lorg/jetbrains/annotations/Nullable; (Ljava/lang/Class;[B)V (Ljava/lang/Class<*>;[B)V registerMockedClass (Ljava/lang/Class;)V
mockedType (Ljava/lang/Class<*>;)V
isStillMocked '(Ljava/lang/Object;Ljava/lang/String;)Z targetClass instance Ljava/lang/Object; classDescS
isMockedClass (Ljava/lang/Class;)Z mockedClass i I n (Ljava/lang/Class<*>;)Z (Ljava/lang/String;)Z targetClassName findClassAlreadyMocked $(Ljava/lang/Class;)Ljava/lang/Class; *(Ljava/lang/Class<*>;)Ljava/lang/Class<*>; isInstanceOfMockedClass (Ljava/lang/Object;)Z mockedInstance $registerInstanceFactoryForMockedType J(Ljava/lang/Class;Lmockit/internal/expectations/mocking/InstanceFactory;)V mockedInstanceFactory 6Lmockit/internal/expectations/mocking/InstanceFactory; M(Ljava/lang/Class<*>;Lmockit/internal/expectations/mocking/InstanceFactory;)V findInstanceFactory P(Ljava/lang/reflect/Type;)Lmockit/internal/expectations/mocking/InstanceFactory; registeredMockedType Ljava/lang/reflect/Type; registeredMockedClass entry Entry InnerClasses Ljava/util/Map$Entry; instanceFactory abstractType Z eLjava/util/Map$Entry;[?fh restoreAndRemoveRedefinedClasses (Ljava/util/Set;)V desiredClasses classesToRestore redefinitionEngine $Lmockit/internal/RedefinitionEngine; %Ljava/util/Set;>;?n ((Ljava/util/Set;>;)V restoreDefinition removeMockedClass *discardStateForCorrespondingMockClassIfAny mockClassesInternalNames restoreTransformedClasses previousTransformedClasses 6Ljava/util/Set; 9(Ljava/util/Set;)V "restoreAndRemoveTransformedClasses definitionToRestore transformedClassId restoreRedefinedClasses (Ljava/util/Map;)V currentDefinition previousDefinition previousDefinitions itr Ljava/util/Iterator; -Ljava/util/Map$Entry;[B>; Ljava/util/Map<*[B>; CLjava/util/Iterator;[B>;>;?? (Ljava/util/Map<*[B>;)V removeMockedClasses (Ljava/util/List;)V previousMockedClassCount previousMockedClasses currentMockedClassCount )(Ljava/util/List;>;)V "addRedefinedClassWithNativeMethods (Ljava/lang/String;)V redefinedClassInternalName 'reregisterNativeMethodsForRestoredClass ignored !Ljava/lang/NoSuchMethodException; ignore "Ljava/lang/IllegalAccessException; -Ljava/lang/reflect/InvocationTargetException; realClass registerNatives Ljava/lang/reflect/Method;???? getTransformedClasses ()Ljava/util/Set; 8()Ljava/util/Set; getRedefinedClasses ()Ljava/util/Map; )()Ljava/util/Map;[B>; getRedefinedClassfile (Ljava/lang/Class;)[B (Ljava/lang/Class<*>;)[B containsRedefinedClass getMockedClasses ()Ljava/util/List;? (()Ljava/util/List;>; addCaptureTransformer 1(Lmockit/internal/capturing/CaptureTransformer;)V transformer .Lmockit/internal/capturing/CaptureTransformer; 1Lmockit/internal/capturing/CaptureTransformer<*>; 4(Lmockit/internal/capturing/CaptureTransformer<*>;)V getCaptureTransformerCount ()I removeCaptureTransformers (I)V previousTransformerCount currentTransformerCount findCaptureOfImplementations O(Ljava/lang/Class;)Lmockit/internal/expectations/mocking/CaptureOfNewInstances; capture