mockit.internal.startup.Startup.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.
???? 2A
' ?
? ?
? ? ? ? ; ?
? ?
? ; ? ? ?
?
? ; ? ? ?
?
? ? ?
? ? ?
? ?
D ?
? ? ? ? ?
? ?
?
?
?
? ? V
? ? ?
? ?
? ? ? ?
+ ?
? ? ?
/ ? ?
D ? ?
? ?
5 ?
5 ?
?
? ?
? ? ?
?
D ?
? ? ?
? ?
+ ?
* ?
? ? ; ? ? ?
G ?
? ; ? ?
G ?
?
D
+
D initializing Z instrumentation &Ljava/lang/instrument/Instrumentation; RuntimeVisibleAnnotations Ljavax/annotation/Nullable; initializedOnDemand $assertionsDisabled ()V Code LineNumberTable LocalVariableTable this !Lmockit/internal/startup/Startup; premain ;(Ljava/lang/String;Ljava/lang/instrument/Instrumentation;)V agentArgs Ljava/lang/String; inst
Exceptions "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nonnull;
initialize *(ZLjava/lang/instrument/Instrumentation;)V applyStartupMocks
StackMapTable agentmain customCL Ljava/lang/ClassLoader; ? )reinitializeJMockitUnderCustomClassLoader (Ljava/lang/ClassLoader;)V ignore "Ljava/lang/ClassNotFoundException; customLoader startupClass Ljava/lang/Class; LocalVariableTypeTable Ljava/lang/Class<*>; ? ? reapplyStartupMocks e Ljava/io/IOException; ? (()Ljava/lang/instrument/Instrumentation; )(Ljava/lang/instrument/Instrumentation;)V ignored fullJMockit ? wasInitializedOnDemand ()Z verifyInitialization getInstrumentation systemCL initialStartupClass initializeIfPossible !Ljava/lang/IllegalStateException; Ljava/lang/RuntimeException; currentCL
usingCustomCL ? ? retransformClass (Ljava/lang/Class;)V 1Ljava/lang/instrument/UnmodifiableClassException; aClass ? Signature (Ljava/lang/Class<*>;)V redefineMethods (Ljava/lang/Class;[B)V classToRedefine modifiedClassfile [B (Ljava/lang/Class<*>;[B)V *([Ljava/lang/instrument/ClassDefinition;)V classDef &Ljava/lang/instrument/ClassDefinition; Ljava/lang/InternalError; classDefs '[Ljava/lang/instrument/ClassDefinition; ? ? detectMissingDependenciesIfAny Ljava/lang/NoClassDefFoundError; mockedClass
SourceFile Startup.java \ ] k l V W ?
m ] Cmockit/internal/expectations/transformation/ExpectationsTransformer \ ? T U -mockit/internal/startup/JMockitInitialization k ] ? 'java/lang/UnsupportedOperationException TThis JRE must be started in debug mode, or with -javaagent:/jmockit.jar \ jmockit-customCL java/lang/ClassLoader t u mockit/internal/startup/Startup java/lang/ClassNotFoundException java/lang/StringBuilder 2JMockit: Reinitializing under custom class loader !"#$% java/lang/Object&'() ] java/io/IOException java/lang/RuntimeException \* ? ] [ U java/lang/AssertionError Cmockit.internal.expectations.transformation.ExpectationsTransformer+ Z U ? ? #mockit/internal/startup/AgentLoader, ]-./012 $java/lang/instrument/Instrumentation ]3.45 java/lang/IllegalStateException67*8 ] V ? java/lang/Class9: /java/lang/instrument/UnmodifiableClassException $java/lang/instrument/ClassDefinition \ ? ? ?; ? java/lang/InternalError<= ? ?+> java/lang/NoClassDefFoundError Unable to mock due to a missing dependency \?@ ? java/lang/Throwable +mockit/internal/startup/MockingBridgeFields 3createSyntheticFieldsInJREClassToHoldMockingBridges &mockit/internal/state/CachedClassfiles INSTANCE (Lmockit/internal/state/CachedClassfiles; addTransformer /(Ljava/lang/instrument/ClassFileTransformer;Z)V .(Ljava/lang/instrument/ClassFileTransformer;)V isRedefineClassesSupported (Ljava/lang/String;)V java/lang/System
getProperties ()Ljava/util/Properties; java/util/Properties remove &(Ljava/lang/Object;)Ljava/lang/Object; getName ()Ljava/lang/String; loadClass %(Ljava/lang/String;)Ljava/lang/Class; out Ljava/io/PrintStream; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString java/io/PrintStream println $mockit/internal/util/FieldReflection setField b(Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/reflect/Field; %mockit/internal/util/MethodReflection invoke \(Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; setMockingBridgeFields (Ljava/lang/Throwable;)V forName loadAgent getSystemClassLoader ()Ljava/lang/ClassLoader; mockit/internal/util/ClassLoad <(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class; getField I(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; getClassLoader put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; mockit/internal/util/StackTrace filterStackTrace printStackTrace retransformClasses ([Ljava/lang/Class;)V redefineClasses getDefinitionClass ()Ljava/lang/Class; =(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class; *(Ljava/lang/String;Ljava/lang/Throwable;)V desiredAssertionStatus 1 ' T U
V W X Y
Z U [ U \ ] ^ / *? ? _ ` a b c d ^ > +? ? _
0 1 ` e f g W h * i j
k l ^ ? .? ? *+? +? +? ? ? ? +? Y+? ?
? _ " 5 6
8 9 ; <