mockit.internal.util.ClassLoad.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 ?
. ? $ ?
? ? ?
! ?
$ ? ? ? ?
$ ? ?
! ? $ ?
? ?
?
? ?
? ? ? ?
? ?
? ?
?
? ?
?
? ?
$ ? ? $ ?
! ? ?
$ ?
? ? ?
$ ?
$ ?
! ? ?
! ? ? ?
, ? ? OBJECT Ljava/lang/String;
ConstantValue THIS_CL Ljava/lang/ClassLoader; LOADED_CLASSES Ljava/util/Map; Signature 7Ljava/util/Map;>;
SUPER_CLASSES 5Ljava/util/Map; ()V Code LineNumberTable LocalVariableTable this Lmockit/internal/util/ClassLoad; registerLoadedClass (Ljava/lang/Class;)V aClass Ljava/lang/Class; LocalVariableTypeTable Ljava/lang/Class<*>; (Ljava/lang/Class<*>;)V "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nonnull; loadByInternalName %(Ljava/lang/String;)Ljava/lang/Class; internalClassName @(Ljava/lang/String;)Ljava/lang/Class; RuntimeVisibleAnnotations loadClass contextCL testClass e Ljava/lang/LinkageError; className loadedClass
StackMapTable ? ? loadClassAtStartup ? ? <(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class; ignore "Ljava/lang/ClassNotFoundException; loader ? ?(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class<*>; Ljavax/annotation/Nullable; loadFromLoader W(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class; searchTypeInClasspath typeName A(Ljava/lang/String;)Ljava/lang/Class<+TT;>; &(Ljava/lang/String;Z)Ljava/lang/Class; Ljava/lang/Throwable; initializeType Z ? B(Ljava/lang/String;Z)Ljava/lang/Class<+TT;>;
addSuperClass '(Ljava/lang/String;Ljava/lang/String;)V classInternalName superClassInternalName
getSuperClass &(Ljava/lang/String;)Ljava/lang/String; theClass
superClass classDesc superName whichIsSuperClass 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; internalClassName1 internalClassName2 class1 class2 actualSuperClass candidateSuperClass candidateSubclass subclass isGeneratedSubclass (Ljava/lang/String;)Z
SourceFile ClassLoad.java : ; 4 5 ? ? ? ? ? ? ? O K ? ? java/lang/Class O \ mockit. ? ? 2 3 ? ? ? ? ? ? ? ? ? ? "java/lang/IllegalArgumentException java/lang/StringBuilder No class with name " ? ? " found ? ? : ? java/lang/LinkageError ? ; ? ? java/lang/ClassNotFoundException e h java/lang/Throwable 8 5 ? ? java/lang/String J K ? ? mockit/internal/util/ClassLoad java/lang/Object ~ y r s ? ? _$$_javassist_ ? ? CGLIB$$ &java/util/concurrent/ConcurrentHashMap java/lang/ClassLoader getName ()Ljava/lang/String;
java/util/Map put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; replace (CC)Ljava/lang/String; get &(Ljava/lang/Object;)Ljava/lang/Object;
startsWith mockit/internal/state/TestRun getCurrentTestClass ()Ljava/lang/Class; getClassLoader ()Ljava/lang/ClassLoader; java/lang/Thread
currentThread ()Ljava/lang/Thread; getContextClassLoader append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString (Ljava/lang/String;)V printStackTrace forName =(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class; intern
getSuperclass equals (Ljava/lang/Object;)Z contains (Ljava/lang/CharSequence;)Z 1 $ . / 0 1 % 2 3 4 5 6 7 8 5 6 9 : ; <