mockit.internal.util.StackTrace.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 ~
? ?
?
?
? ? ?
? ? ?
? ? ?
? ? ? ?
? ? ?
? ?
?
?
?
?
?
?
?
?
? ?
?
? ?
? ?
? ? ? ?
? ? ?
? ?
? ?
? ?
? ? 4 ?
? 6 ? getStackTraceDepth Ljava/lang/reflect/Method; getStackTraceElement throwable Ljava/lang/Throwable; RuntimeInvisibleAnnotations #Lorg/jetbrains/annotations/NotNull; elements [Ljava/lang/StackTraceElement; $Lorg/jetbrains/annotations/Nullable; getThrowableMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; Code LineNumberTable LocalVariableTable ignore !Ljava/lang/NoSuchMethodException; name Ljava/lang/String; parameterTypes [Ljava/lang/Class; method LocalVariableTypeTable [Ljava/lang/Class<*>;
StackMapTable ? Signature C(Ljava/lang/String;[Ljava/lang/Class<*>;)Ljava/lang/reflect/Method; $RuntimeInvisibleParameterAnnotations ()V this !Lmockit/internal/util/StackTrace; (Ljava/lang/Throwable;)V ? } < getDepth ()I "Ljava/lang/IllegalAccessException; ignored -Ljava/lang/reflect/InvocationTargetException; depth I ? ?
getElement (I)Ljava/lang/StackTraceElement; e index filterStackTrace t filter where ste Ljava/lang/StackTraceElement; i n
filteredST j
newStackTrace cause isSunMethod (Ljava/lang/StackTraceElement;)Z isTestFrameworkMethod (Ljava/lang/String;)Z isJMockitMethod q p
SourceFile StackTrace.java java/lang/Throwable ? ? java/lang/NoSuchMethodException ? ? ? R S R V 7 8 4 5 ? ? ; < java/lang/Object ? ? java/lang/Integer ? [ java/lang/IllegalAccessException +java/lang/reflect/InvocationTargetException 6 5 ? ? java/lang/StackTraceElement java/lang/RuntimeException mockit/internal/util/StackTrace i S Z [ c d ? ? ? ? s t u v w v ? ? ? ? ? ? ? sun. ? ? v ? ?
org.junit. org.testng. mockit. ? ? Test ? ? ? [ ? ? ? ? java/lang/Class > ? ? ? java/lang/reflect/Method getDeclaredMethod
setAccessible (Z)V
getStackTrace ()[Ljava/lang/StackTraceElement; invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; intValue valueOf (I)Ljava/lang/Integer; getFileName ()Ljava/lang/String; getClassName java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V
setStackTrace !([Ljava/lang/StackTraceElement;)V getCause ()Ljava/lang/Throwable; java/lang/String
startsWith isNativeMethod ()Z indexOf (I)I lastIndexOf (Ljava/lang/String;)I length (Ljava/lang/String;I)I charAt (I)C TYPE Ljava/lang/Class; 1 4 5 6 5 7 8 9 : ; <