Created
June 11, 2017 15:25
-
-
Save leonard84/22de1fee9e66c80e5b195fa08a9b90bb to your computer and use it in GitHub Desktop.
spock-issue-709-decompiled-2.4.10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class org/spockframework/verifyall/VerifyTest extends spock/lang/Specification implements groovy/lang/GroovyObject { | |
private synthetic static org.codehaus.groovy.reflection.ClassInfo $staticClassInfo; | |
public synthetic static transient boolean __$stMC; | |
private synthetic transient groovy.lang.MetaClass metaClass; | |
private synthetic static org.codehaus.groovy.reflection.ClassInfo $staticClassInfo$; | |
private synthetic static java.lang.ref.SoftReference $callSiteArray; | |
public VerifyTest() { // <init> //()V | |
<localVar:index=0 , name=this , desc=Lorg/spockframework/verifyall/VerifyTest;, sig=null, start=L1, end=L2> | |
aload0 // reference to self | |
invokespecial spock/lang/Specification <init>(()V); | |
L1 { | |
invokestatic org/spockframework/verifyall/VerifyTest $getCallSiteArray(()[Lorg/codehaus/groovy/runtime/callsite/CallSite;); | |
astore1 | |
} | |
L2 { | |
return | |
} | |
} | |
protected $getStaticMetaClass() { //()Lgroovy/lang/MetaClass; | |
aload0 // reference to self | |
invokevirtual java/lang/Object getClass(()Ljava/lang/Class;); | |
ldc Lorg/spockframework/verifyall/VerifyTest; (org.objectweb.asm.Type) | |
if_acmpeq L1 | |
aload0 // reference to self | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter initMetaClass((Ljava/lang/Object;)Lgroovy/lang/MetaClass;); | |
areturn | |
L1 { | |
getstatic org/spockframework/verifyall/VerifyTest.$staticClassInfo:org.codehaus.groovy.reflection.ClassInfo | |
astore1 | |
aload1 | |
ifnonnull L2 | |
aload0 // reference to self | |
invokevirtual java/lang/Object getClass(()Ljava/lang/Class;); | |
invokestatic org/codehaus/groovy/reflection/ClassInfo getClassInfo((Ljava/lang/Class;)Lorg/codehaus/groovy/reflection/ClassInfo;); | |
dup | |
astore1 | |
putstatic org/spockframework/verifyall/VerifyTest.$staticClassInfo:org.codehaus.groovy.reflection.ClassInfo | |
} | |
L2 { | |
aload1 | |
invokevirtual org/codehaus/groovy/reflection/ClassInfo getMetaClass(()Lgroovy/lang/MetaClass;); | |
areturn | |
} | |
} | |
private $spock_initializeFields() { //()Ljava/lang/Object; | |
<localVar:index=0 , name=this , desc=Lorg/spockframework/verifyall/VerifyTest;, sig=null, start=L1, end=L2> | |
L1 { | |
invokestatic org/spockframework/verifyall/VerifyTest $getCallSiteArray(()[Lorg/codehaus/groovy/runtime/callsite/CallSite;); | |
astore1 | |
aload0 // reference to self | |
invokevirtual org/spockframework/verifyall/VerifyTest $getStaticMetaClass(()Lgroovy/lang/MetaClass;); | |
astore2 | |
aload2 | |
aload0 // reference to self | |
swap | |
putfield org/spockframework/verifyall/VerifyTest.metaClass:groovy.lang.MetaClass | |
aload2 | |
areturn | |
} | |
L2 { | |
aconst_null | |
areturn | |
} | |
} | |
public $spock_feature_0_0() { //()V | |
<localVar:index=0 , name=this , desc=Lorg/spockframework/verifyall/VerifyTest;, sig=null, start=L1, end=L2> | |
<visAnno:desc = Lorg/spockframework/runtime/model/FeatureMetadata; , values = [line, 89, name, test3, ordinal, 0, blocks, [org.objectweb.asm.tree.AnnotationNode@6ed8cbd2], parameterNames, []]> | |
L1 { | |
invokestatic org/spockframework/verifyall/VerifyTest $getCallSiteArray(()[Lorg/codehaus/groovy/runtime/callsite/CallSite;); | |
astore1 | |
} | |
L3 { | |
aload1 | |
ldc 0 (java.lang.Integer) | |
aaload | |
aload0 // reference to self | |
new org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 | |
dup | |
aload0 // reference to self | |
aload0 // reference to self | |
invokespecial org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 <init>((Ljava/lang/Object;Ljava/lang/Object;)V); | |
invokeinterface org/codehaus/groovy/runtime/callsite/CallSite callCurrent((Lgroovy/lang/GroovyObject;Ljava/lang/Object;)Ljava/lang/Object;); | |
pop | |
aload1 | |
ldc 1 (java.lang.Integer) | |
aaload | |
aload1 | |
ldc 2 (java.lang.Integer) | |
aaload | |
aload0 // reference to self | |
invokevirtual org/spockframework/lang/SpecInternals getSpecificationContext(()Lorg/spockframework/lang/ISpecificationContext;); | |
invokeinterface org/codehaus/groovy/runtime/callsite/CallSite call((Ljava/lang/Object;)Ljava/lang/Object;); | |
invokeinterface org/codehaus/groovy/runtime/callsite/CallSite call((Ljava/lang/Object;)Ljava/lang/Object;); | |
pop | |
} | |
L2 { | |
return | |
} | |
} | |
public getMetaClass() { //()Lgroovy/lang/MetaClass; | |
aload0 // reference to self | |
getfield org/spockframework/verifyall/VerifyTest.metaClass:groovy.lang.MetaClass | |
dup | |
ifnull L1 | |
areturn | |
L1 { | |
pop | |
aload0 // reference to self | |
dup | |
invokevirtual org/spockframework/verifyall/VerifyTest $getStaticMetaClass(()Lgroovy/lang/MetaClass;); | |
putfield org/spockframework/verifyall/VerifyTest.metaClass:groovy.lang.MetaClass | |
aload0 // reference to self | |
getfield org/spockframework/verifyall/VerifyTest.metaClass:groovy.lang.MetaClass | |
areturn | |
} | |
} | |
public setMetaClass(groovy.lang.MetaClass arg0) { //(Lgroovy/lang/MetaClass;)V | |
aload0 // reference to self | |
aload1 | |
putfield org/spockframework/verifyall/VerifyTest.metaClass:groovy.lang.MetaClass | |
return | |
} | |
public invokeMethod(java.lang.String arg0, java.lang.Object arg1) { //(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; | |
aload0 // reference to self | |
invokevirtual org/spockframework/verifyall/VerifyTest getMetaClass(()Lgroovy/lang/MetaClass;); | |
aload0 // reference to self | |
aload1 // reference to arg0 | |
aload2 | |
invokeinterface groovy/lang/MetaClass invokeMethod((Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;); | |
areturn | |
} | |
public getProperty(java.lang.String arg0) { //(Ljava/lang/String;)Ljava/lang/Object; | |
aload0 // reference to self | |
invokevirtual org/spockframework/verifyall/VerifyTest getMetaClass(()Lgroovy/lang/MetaClass;); | |
aload0 // reference to self | |
aload1 | |
invokeinterface groovy/lang/MetaClass getProperty((Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;); | |
areturn | |
} | |
public setProperty(java.lang.String arg0, java.lang.Object arg1) { //(Ljava/lang/String;Ljava/lang/Object;)V | |
aload0 // reference to self | |
invokevirtual org/spockframework/verifyall/VerifyTest getMetaClass(()Lgroovy/lang/MetaClass;); | |
aload0 // reference to self | |
aload1 // reference to arg0 | |
aload2 | |
invokeinterface groovy/lang/MetaClass setProperty((Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V); | |
return | |
} | |
private static $createCallSiteArray_1(java.lang.String[] arg0) { //([Ljava/lang/String;)V | |
aload0 | |
ldc 0 (java.lang.Integer) | |
ldc "verifyAll" (java.lang.String) | |
aastore | |
aload0 | |
ldc 1 (java.lang.Integer) | |
ldc "leaveScope" (java.lang.String) | |
aastore | |
aload0 | |
ldc 2 (java.lang.Integer) | |
ldc "getMockController" (java.lang.String) | |
aastore | |
return | |
} | |
private static $createCallSiteArray() { //()Lorg/codehaus/groovy/runtime/callsite/CallSiteArray; | |
ldc 3 (java.lang.Integer) | |
anewarray java/lang/String | |
astore0 | |
aload0 | |
invokestatic org/spockframework/verifyall/VerifyTest $createCallSiteArray_1(([Ljava/lang/String;)V); | |
new org/codehaus/groovy/runtime/callsite/CallSiteArray | |
dup | |
ldc Lorg/spockframework/verifyall/VerifyTest; (org.objectweb.asm.Type) | |
aload0 | |
invokespecial org/codehaus/groovy/runtime/callsite/CallSiteArray <init>((Ljava/lang/Class;[Ljava/lang/String;)V); | |
areturn | |
} | |
private static $getCallSiteArray() { //()[Lorg/codehaus/groovy/runtime/callsite/CallSite; | |
getstatic org/spockframework/verifyall/VerifyTest.$callSiteArray:java.lang.ref.SoftReference | |
ifnull L1 | |
getstatic org/spockframework/verifyall/VerifyTest.$callSiteArray:java.lang.ref.SoftReference | |
invokevirtual java/lang/ref/SoftReference get(()Ljava/lang/Object;); | |
checkcast org/codehaus/groovy/runtime/callsite/CallSiteArray | |
dup | |
astore0 | |
ifnonnull L2 | |
L1 { | |
invokestatic org/spockframework/verifyall/VerifyTest $createCallSiteArray(()Lorg/codehaus/groovy/runtime/callsite/CallSiteArray;); | |
astore0 | |
new java/lang/ref/SoftReference | |
dup | |
aload0 | |
invokespecial java/lang/ref/SoftReference <init>((Ljava/lang/Object;)V); | |
putstatic org/spockframework/verifyall/VerifyTest.$callSiteArray:java.lang.ref.SoftReference | |
} | |
L2 { | |
aload0 | |
getfield org/codehaus/groovy/runtime/callsite/CallSiteArray.array:org.codehaus.groovy.runtime.callsite.CallSite[] | |
areturn | |
} | |
} | |
public class org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 extends groovy/lang/Closure implements org/codehaus/groovy/runtime/GeneratedClosure { | |
private synthetic static org.codehaus.groovy.reflection.ClassInfo $staticClassInfo; | |
public synthetic static transient boolean __$stMC; | |
private synthetic static java.lang.ref.SoftReference $callSiteArray; | |
public VerifyTest$__spock_feature_0_0_closure1(java.lang.Object arg0, java.lang.Object arg1) { // <init> //(Ljava/lang/Object;Ljava/lang/Object;)V | |
<localVar:index=0 , name=this , desc=Lorg/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1;, sig=null, start=L1, end=L2> | |
<localVar:index=1 , name=_outerInstance , desc=Ljava/lang/Object;, sig=null, start=L1, end=L2> | |
<localVar:index=2 , name=_thisObject , desc=Ljava/lang/Object;, sig=null, start=L1, end=L2> | |
L1 { | |
invokestatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 $getCallSiteArray(()[Lorg/codehaus/groovy/runtime/callsite/CallSite;); | |
astore3 | |
aload0 // reference to self | |
aload1 // reference to arg0 | |
aload2 | |
invokespecial groovy/lang/Closure <init>((Ljava/lang/Object;Ljava/lang/Object;)V); | |
} | |
L2 { | |
return | |
} | |
} | |
public doCall(java.lang.Object arg0) { //(Ljava/lang/Object;)Ljava/lang/Object; | |
<localVar:index=0 , name=this , desc=Lorg/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1;, sig=null, start=L1, end=L2> | |
<localVar:index=1 , name=it , desc=Ljava/lang/Object;, sig=null, start=L1, end=L2> | |
<localVar:index=3 , name=$spock_errorCollector , desc=Lorg/spockframework/runtime/ErrorCollector;, sig=null, start=L3, end=L2> | |
<localVar:index=4 , name=$spock_valueRecorder , desc=Lorg/spockframework/runtime/ValueRecorder;, sig=null, start=L4, end=L2> | |
<localVar:index=5 , name=throwable , desc=Ljava/lang/Throwable;, sig=null, start=L5, end=L6> | |
<localVar:index=7 , name=throwable , desc=Ljava/lang/Throwable;, sig=null, start=L7, end=L8> | |
<localVar:index=10 , name=throwable , desc=Ljava/lang/Throwable;, sig=null, start=L9, end=L10> | |
TryCatch: L11 to L12 handled by L12: java/lang/Throwable | |
TryCatch: L11 to L12 handled by L13: Type is null. | |
TryCatch: L12 to L6 handled by L13: Type is null. | |
TryCatch: L14 to L15 handled by L15: java/lang/Throwable | |
TryCatch: L14 to L15 handled by L16: Type is null. | |
TryCatch: L15 to L8 handled by L16: Type is null. | |
TryCatch: L17 to L18 handled by L19: java/lang/Throwable | |
TryCatch: L20 to L19 handled by L19: java/lang/Throwable | |
TryCatch: L17 to L18 handled by L21: Type is null. | |
TryCatch: L20 to L19 handled by L21: Type is null. | |
TryCatch: L19 to L22 handled by L21: Type is null. | |
TryCatch: L23 to L10 handled by L21: Type is null. | |
TryCatch: L11 to L24 handled by L25: Type is null. | |
TryCatch: L26 to L27 handled by L25: Type is null. | |
TryCatch: L28 to L29 handled by L25: Type is null. | |
L1 { | |
invokestatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 $getCallSiteArray(()[Lorg/codehaus/groovy/runtime/callsite/CallSite;); | |
astore2 | |
aload2 | |
ldc 0 (java.lang.Integer) | |
aaload | |
ldc Lorg/spockframework/runtime/ErrorCollector; (org.objectweb.asm.Type) | |
iconst_1 | |
invokestatic java/lang/Boolean valueOf((Z)Ljava/lang/Boolean;); | |
invokeinterface org/codehaus/groovy/runtime/callsite/CallSite callConstructor((Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;); | |
ldc Lorg/spockframework/runtime/ErrorCollector; (org.objectweb.asm.Type) | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter castToType((Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;); | |
checkcast org/spockframework/runtime/ErrorCollector | |
astore3 | |
} | |
L3 { | |
aload3 | |
pop | |
aload2 | |
ldc 1 (java.lang.Integer) | |
aaload | |
ldc Lorg/spockframework/runtime/ValueRecorder; (org.objectweb.asm.Type) | |
invokeinterface org/codehaus/groovy/runtime/callsite/CallSite callConstructor((Ljava/lang/Object;)Ljava/lang/Object;); | |
ldc Lorg/spockframework/runtime/ValueRecorder; (org.objectweb.asm.Type) | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter castToType((Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;); | |
checkcast org/spockframework/runtime/ValueRecorder | |
astore4 | |
} | |
L4 { | |
aload4 | |
pop | |
} | |
L11 { | |
aload3 | |
aload4 | |
invokevirtual org/spockframework/runtime/ValueRecorder reset(()Lorg/spockframework/runtime/ValueRecorder;); | |
ldc "1 == 2" (java.lang.String) | |
bipush 92 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
bipush 7 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
aconst_null | |
aload4 | |
aload4 | |
iconst_2 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
aload4 | |
aload4 | |
iconst_0 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
iconst_1 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
aload4 | |
aload4 | |
iconst_1 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
iconst_2 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter compareEqual((Ljava/lang/Object;Ljava/lang/Object;)Z); | |
invokestatic java/lang/Boolean valueOf((Z)Ljava/lang/Boolean;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
invokestatic org/spockframework/runtime/SpockRuntime verifyCondition((Lorg/spockframework/runtime/ErrorCollector;Lorg/spockframework/runtime/ValueRecorder;Ljava/lang/String;IILjava/lang/Object;Ljava/lang/Object;)V); | |
aconst_null | |
pop | |
goto L30 | |
} | |
L12 { | |
astore5 | |
} | |
L5 { | |
aload3 | |
aload4 | |
ldc "1 == 2" (java.lang.String) | |
bipush 92 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
bipush 7 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
aconst_null | |
aload5 | |
invokestatic org/spockframework/runtime/SpockRuntime conditionFailedWithException((Lorg/spockframework/runtime/ErrorCollector;Lorg/spockframework/runtime/ValueRecorder;Ljava/lang/String;IILjava/lang/Object;Ljava/lang/Throwable;)V); | |
aconst_null | |
pop | |
nop | |
} | |
L6 { | |
goto L30 | |
} | |
L30 { | |
nop | |
goto L14 | |
} | |
L13 { | |
astore6 | |
aload6 | |
athrow | |
} | |
L14 { | |
aload3 | |
aload4 | |
invokevirtual org/spockframework/runtime/ValueRecorder reset(()Lorg/spockframework/runtime/ValueRecorder;); | |
ldc "3 == 4" (java.lang.String) | |
bipush 93 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
bipush 7 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
aconst_null | |
aload4 | |
aload4 | |
iconst_2 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
aload4 | |
aload4 | |
iconst_0 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
iconst_3 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
aload4 | |
aload4 | |
iconst_1 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
iconst_4 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter compareEqual((Ljava/lang/Object;Ljava/lang/Object;)Z); | |
invokestatic java/lang/Boolean valueOf((Z)Ljava/lang/Boolean;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
invokestatic org/spockframework/runtime/SpockRuntime verifyCondition((Lorg/spockframework/runtime/ErrorCollector;Lorg/spockframework/runtime/ValueRecorder;Ljava/lang/String;IILjava/lang/Object;Ljava/lang/Object;)V); | |
aconst_null | |
pop | |
goto L31 | |
} | |
L15 { | |
astore7 | |
} | |
L7 { | |
aload3 | |
aload4 | |
ldc "3 == 4" (java.lang.String) | |
bipush 93 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
bipush 7 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
aconst_null | |
aload7 | |
invokestatic org/spockframework/runtime/SpockRuntime conditionFailedWithException((Lorg/spockframework/runtime/ErrorCollector;Lorg/spockframework/runtime/ValueRecorder;Ljava/lang/String;IILjava/lang/Object;Ljava/lang/Throwable;)V); | |
aconst_null | |
pop | |
nop | |
} | |
L8 { | |
goto L31 | |
} | |
L31 { | |
nop | |
goto L17 | |
} | |
L16 { | |
astore8 | |
aload8 | |
athrow | |
} | |
L17 { | |
aload3 | |
aload4 | |
invokevirtual org/spockframework/runtime/ValueRecorder reset(()Lorg/spockframework/runtime/ValueRecorder;); | |
ldc "5 == 6" (java.lang.String) | |
bipush 94 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
bipush 7 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
aconst_null | |
aload4 | |
aload4 | |
iconst_2 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
aload4 | |
aload4 | |
iconst_0 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
iconst_5 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
aload4 | |
aload4 | |
iconst_1 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
bipush 6 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter compareEqual((Ljava/lang/Object;Ljava/lang/Object;)Z); | |
invokestatic java/lang/Boolean valueOf((Z)Ljava/lang/Boolean;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
invokestatic org/spockframework/runtime/SpockRuntime verifyCondition((Lorg/spockframework/runtime/ErrorCollector;Lorg/spockframework/runtime/ValueRecorder;Ljava/lang/String;IILjava/lang/Object;Ljava/lang/Object;)V); | |
aconst_null | |
astore9 | |
nop | |
} | |
L18 { | |
nop | |
} | |
L20 { | |
nop | |
} | |
L24 { | |
aload3 | |
invokevirtual org/spockframework/runtime/ErrorCollector validateCollectedErrors(()V); | |
aconst_null | |
pop | |
nop | |
} | |
L26 { | |
aload9 | |
areturn | |
goto L32 | |
} | |
L19 { | |
astore10 | |
} | |
L9 { | |
aload3 | |
aload4 | |
ldc "5 == 6" (java.lang.String) | |
bipush 94 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
bipush 7 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
aconst_null | |
aload10 | |
invokestatic org/spockframework/runtime/SpockRuntime conditionFailedWithException((Lorg/spockframework/runtime/ErrorCollector;Lorg/spockframework/runtime/ValueRecorder;Ljava/lang/String;IILjava/lang/Object;Ljava/lang/Throwable;)V); | |
aconst_null | |
astore11 | |
nop | |
} | |
L22 { | |
nop | |
} | |
L23 { | |
nop | |
} | |
L27 { | |
aload3 | |
invokevirtual org/spockframework/runtime/ErrorCollector validateCollectedErrors(()V); | |
aconst_null | |
pop | |
nop | |
} | |
L28 { | |
aload11 | |
areturn | |
nop | |
} | |
L10 { | |
goto L32 | |
} | |
L32 { | |
nop | |
goto L33 | |
} | |
L21 { | |
astore12 | |
aload12 | |
athrow | |
} | |
L33 { | |
goto L29 | |
} | |
L29 { | |
aload3 | |
invokevirtual org/spockframework/runtime/ErrorCollector validateCollectedErrors(()V); | |
aconst_null | |
pop | |
nop | |
goto L2 | |
} | |
L25 { | |
astore13 | |
aload3 | |
invokevirtual org/spockframework/runtime/ErrorCollector validateCollectedErrors(()V); | |
aconst_null | |
pop | |
aload13 | |
athrow | |
} | |
L2 { | |
aconst_null | |
areturn | |
} | |
} | |
public doCall() { //()Ljava/lang/Object; | |
<localVar:index=0 , name=this , desc=Lorg/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1;, sig=null, start=L1, end=L2> | |
L1 { | |
invokestatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 $getCallSiteArray(()[Lorg/codehaus/groovy/runtime/callsite/CallSite;); | |
astore1 | |
aload0 // reference to self | |
aconst_null | |
invokevirtual org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 doCall((Ljava/lang/Object;)Ljava/lang/Object;); | |
areturn | |
} | |
L2 { | |
aconst_null | |
areturn | |
} | |
} | |
protected $getStaticMetaClass() { //()Lgroovy/lang/MetaClass; | |
aload0 // reference to self | |
invokevirtual java/lang/Object getClass(()Ljava/lang/Class;); | |
ldc Lorg/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1; (org.objectweb.asm.Type) | |
if_acmpeq L1 | |
aload0 // reference to self | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter initMetaClass((Ljava/lang/Object;)Lgroovy/lang/MetaClass;); | |
areturn | |
L1 { | |
getstatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1.$staticClassInfo:org.codehaus.groovy.reflection.ClassInfo | |
astore1 | |
aload1 | |
ifnonnull L2 | |
aload0 // reference to self | |
invokevirtual java/lang/Object getClass(()Ljava/lang/Class;); | |
invokestatic org/codehaus/groovy/reflection/ClassInfo getClassInfo((Ljava/lang/Class;)Lorg/codehaus/groovy/reflection/ClassInfo;); | |
dup | |
astore1 | |
putstatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1.$staticClassInfo:org.codehaus.groovy.reflection.ClassInfo | |
} | |
L2 { | |
aload1 | |
invokevirtual org/codehaus/groovy/reflection/ClassInfo getMetaClass(()Lgroovy/lang/MetaClass;); | |
areturn | |
} | |
} | |
private static $createCallSiteArray_1(java.lang.String[] arg0) { //([Ljava/lang/String;)V | |
aload0 | |
ldc 0 (java.lang.Integer) | |
ldc "<$constructor$>" (java.lang.String) | |
aastore | |
aload0 | |
ldc 1 (java.lang.Integer) | |
ldc "<$constructor$>" (java.lang.String) | |
aastore | |
return | |
} | |
private static $createCallSiteArray() { //()Lorg/codehaus/groovy/runtime/callsite/CallSiteArray; | |
ldc 2 (java.lang.Integer) | |
anewarray java/lang/String | |
astore0 | |
aload0 | |
invokestatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 $createCallSiteArray_1(([Ljava/lang/String;)V); | |
new org/codehaus/groovy/runtime/callsite/CallSiteArray | |
dup | |
ldc Lorg/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1; (org.objectweb.asm.Type) | |
aload0 | |
invokespecial org/codehaus/groovy/runtime/callsite/CallSiteArray <init>((Ljava/lang/Class;[Ljava/lang/String;)V); | |
areturn | |
} | |
private static $getCallSiteArray() { //()[Lorg/codehaus/groovy/runtime/callsite/CallSite; | |
getstatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1.$callSiteArray:java.lang.ref.SoftReference | |
ifnull L1 | |
getstatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1.$callSiteArray:java.lang.ref.SoftReference | |
invokevirtual java/lang/ref/SoftReference get(()Ljava/lang/Object;); | |
checkcast org/codehaus/groovy/runtime/callsite/CallSiteArray | |
dup | |
astore0 | |
ifnonnull L2 | |
L1 { | |
invokestatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 $createCallSiteArray(()Lorg/codehaus/groovy/runtime/callsite/CallSiteArray;); | |
astore0 | |
new java/lang/ref/SoftReference | |
dup | |
aload0 | |
invokespecial java/lang/ref/SoftReference <init>((Ljava/lang/Object;)V); | |
putstatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1.$callSiteArray:java.lang.ref.SoftReference | |
} | |
L2 { | |
aload0 | |
getfield org/codehaus/groovy/runtime/callsite/CallSiteArray.array:org.codehaus.groovy.runtime.callsite.CallSite[] | |
areturn | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 extends groovy/lang/Closure implements org/codehaus/groovy/runtime/GeneratedClosure { | |
private synthetic static org.codehaus.groovy.reflection.ClassInfo $staticClassInfo; | |
public synthetic static transient boolean __$stMC; | |
private synthetic static java.lang.ref.SoftReference $callSiteArray; | |
public VerifyTest$__spock_feature_0_0_closure1(java.lang.Object arg0, java.lang.Object arg1) { // <init> //(Ljava/lang/Object;Ljava/lang/Object;)V | |
<localVar:index=0 , name=this , desc=Lorg/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1;, sig=null, start=L1, end=L2> | |
<localVar:index=1 , name=_outerInstance , desc=Ljava/lang/Object;, sig=null, start=L1, end=L2> | |
<localVar:index=2 , name=_thisObject , desc=Ljava/lang/Object;, sig=null, start=L1, end=L2> | |
L1 { | |
invokestatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 $getCallSiteArray(()[Lorg/codehaus/groovy/runtime/callsite/CallSite;); | |
astore3 | |
aload0 // reference to self | |
aload1 // reference to arg0 | |
aload2 | |
invokespecial groovy/lang/Closure <init>((Ljava/lang/Object;Ljava/lang/Object;)V); | |
} | |
L2 { | |
return | |
} | |
} | |
public doCall(java.lang.Object arg0) { //(Ljava/lang/Object;)Ljava/lang/Object; | |
<localVar:index=0 , name=this , desc=Lorg/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1;, sig=null, start=L1, end=L2> | |
<localVar:index=1 , name=it , desc=Ljava/lang/Object;, sig=null, start=L1, end=L2> | |
<localVar:index=3 , name=$spock_errorCollector , desc=Lorg/spockframework/runtime/ErrorCollector;, sig=null, start=L3, end=L2> | |
<localVar:index=4 , name=$spock_valueRecorder , desc=Lorg/spockframework/runtime/ValueRecorder;, sig=null, start=L4, end=L2> | |
<localVar:index=5 , name=throwable , desc=Ljava/lang/Throwable;, sig=null, start=L5, end=L6> | |
<localVar:index=7 , name=throwable , desc=Ljava/lang/Throwable;, sig=null, start=L7, end=L8> | |
<localVar:index=10 , name=throwable , desc=Ljava/lang/Throwable;, sig=null, start=L9, end=L10> | |
TryCatch: L11 to L12 handled by L12: java/lang/Throwable | |
TryCatch: L11 to L12 handled by L13: Type is null. | |
TryCatch: L12 to L6 handled by L13: Type is null. | |
TryCatch: L14 to L15 handled by L15: java/lang/Throwable | |
TryCatch: L14 to L15 handled by L16: Type is null. | |
TryCatch: L15 to L8 handled by L16: Type is null. | |
TryCatch: L17 to L18 handled by L19: java/lang/Throwable | |
TryCatch: L20 to L19 handled by L19: java/lang/Throwable | |
TryCatch: L17 to L18 handled by L21: Type is null. | |
TryCatch: L20 to L19 handled by L21: Type is null. | |
TryCatch: L19 to L22 handled by L21: Type is null. | |
TryCatch: L23 to L10 handled by L21: Type is null. | |
TryCatch: L11 to L24 handled by L25: Type is null. | |
TryCatch: L26 to L27 handled by L25: Type is null. | |
TryCatch: L28 to L29 handled by L25: Type is null. | |
L1 { | |
invokestatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 $getCallSiteArray(()[Lorg/codehaus/groovy/runtime/callsite/CallSite;); | |
astore2 | |
aload2 | |
ldc 0 (java.lang.Integer) | |
aaload | |
ldc Lorg/spockframework/runtime/ErrorCollector; (org.objectweb.asm.Type) | |
iconst_1 | |
invokestatic java/lang/Boolean valueOf((Z)Ljava/lang/Boolean;); | |
invokeinterface org/codehaus/groovy/runtime/callsite/CallSite callConstructor((Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;); | |
ldc Lorg/spockframework/runtime/ErrorCollector; (org.objectweb.asm.Type) | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter castToType((Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;); | |
checkcast org/spockframework/runtime/ErrorCollector | |
astore3 | |
} | |
L3 { | |
aload3 | |
pop | |
aload2 | |
ldc 1 (java.lang.Integer) | |
aaload | |
ldc Lorg/spockframework/runtime/ValueRecorder; (org.objectweb.asm.Type) | |
invokeinterface org/codehaus/groovy/runtime/callsite/CallSite callConstructor((Ljava/lang/Object;)Ljava/lang/Object;); | |
ldc Lorg/spockframework/runtime/ValueRecorder; (org.objectweb.asm.Type) | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter castToType((Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;); | |
checkcast org/spockframework/runtime/ValueRecorder | |
astore4 | |
} | |
L4 { | |
aload4 | |
pop | |
} | |
L11 { | |
aload3 | |
aload4 | |
invokevirtual org/spockframework/runtime/ValueRecorder reset(()Lorg/spockframework/runtime/ValueRecorder;); | |
ldc "1 == 2" (java.lang.String) | |
bipush 92 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
bipush 7 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
aconst_null | |
aload4 | |
aload4 | |
iconst_2 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
aload4 | |
aload4 | |
iconst_0 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
iconst_1 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
aload4 | |
aload4 | |
iconst_1 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
iconst_2 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter compareEqual((Ljava/lang/Object;Ljava/lang/Object;)Z); | |
invokestatic java/lang/Boolean valueOf((Z)Ljava/lang/Boolean;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
invokestatic org/spockframework/runtime/SpockRuntime verifyCondition((Lorg/spockframework/runtime/ErrorCollector;Lorg/spockframework/runtime/ValueRecorder;Ljava/lang/String;IILjava/lang/Object;Ljava/lang/Object;)V); | |
aconst_null | |
pop | |
goto L30 | |
} | |
L12 { | |
astore5 | |
} | |
L5 { | |
aload3 | |
aload4 | |
ldc "1 == 2" (java.lang.String) | |
bipush 92 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
bipush 7 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
aconst_null | |
aload5 | |
invokestatic org/spockframework/runtime/SpockRuntime conditionFailedWithException((Lorg/spockframework/runtime/ErrorCollector;Lorg/spockframework/runtime/ValueRecorder;Ljava/lang/String;IILjava/lang/Object;Ljava/lang/Throwable;)V); | |
aconst_null | |
pop | |
nop | |
} | |
L6 { | |
goto L30 | |
} | |
L30 { | |
nop | |
goto L14 | |
} | |
L13 { | |
astore6 | |
aload6 | |
athrow | |
} | |
L14 { | |
aload3 | |
aload4 | |
invokevirtual org/spockframework/runtime/ValueRecorder reset(()Lorg/spockframework/runtime/ValueRecorder;); | |
ldc "3 == 4" (java.lang.String) | |
bipush 93 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
bipush 7 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
aconst_null | |
aload4 | |
aload4 | |
iconst_2 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
aload4 | |
aload4 | |
iconst_0 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
iconst_3 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
aload4 | |
aload4 | |
iconst_1 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
iconst_4 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter compareEqual((Ljava/lang/Object;Ljava/lang/Object;)Z); | |
invokestatic java/lang/Boolean valueOf((Z)Ljava/lang/Boolean;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
invokestatic org/spockframework/runtime/SpockRuntime verifyCondition((Lorg/spockframework/runtime/ErrorCollector;Lorg/spockframework/runtime/ValueRecorder;Ljava/lang/String;IILjava/lang/Object;Ljava/lang/Object;)V); | |
aconst_null | |
pop | |
goto L31 | |
} | |
L15 { | |
astore7 | |
} | |
L7 { | |
aload3 | |
aload4 | |
ldc "3 == 4" (java.lang.String) | |
bipush 93 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
bipush 7 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
aconst_null | |
aload7 | |
invokestatic org/spockframework/runtime/SpockRuntime conditionFailedWithException((Lorg/spockframework/runtime/ErrorCollector;Lorg/spockframework/runtime/ValueRecorder;Ljava/lang/String;IILjava/lang/Object;Ljava/lang/Throwable;)V); | |
aconst_null | |
pop | |
nop | |
} | |
L8 { | |
goto L31 | |
} | |
L31 { | |
nop | |
goto L17 | |
} | |
L16 { | |
astore8 | |
aload8 | |
athrow | |
} | |
L17 { | |
aload3 | |
aload4 | |
invokevirtual org/spockframework/runtime/ValueRecorder reset(()Lorg/spockframework/runtime/ValueRecorder;); | |
ldc "5 == 6" (java.lang.String) | |
bipush 94 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
bipush 7 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
aconst_null | |
aload4 | |
aload4 | |
iconst_2 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
aload4 | |
aload4 | |
iconst_0 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
iconst_5 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
aload4 | |
aload4 | |
iconst_1 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
invokevirtual org/spockframework/runtime/ValueRecorder startRecordingValue((I)I); | |
bipush 6 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter compareEqual((Ljava/lang/Object;Ljava/lang/Object;)Z); | |
invokestatic java/lang/Boolean valueOf((Z)Ljava/lang/Boolean;); | |
invokevirtual org/spockframework/runtime/ValueRecorder record((ILjava/lang/Object;)Ljava/lang/Object;); | |
invokestatic org/spockframework/runtime/SpockRuntime verifyCondition((Lorg/spockframework/runtime/ErrorCollector;Lorg/spockframework/runtime/ValueRecorder;Ljava/lang/String;IILjava/lang/Object;Ljava/lang/Object;)V); | |
aconst_null | |
astore9 | |
nop | |
} | |
L18 { | |
nop | |
} | |
L20 { | |
nop | |
} | |
L24 { | |
aload3 | |
invokevirtual org/spockframework/runtime/ErrorCollector validateCollectedErrors(()V); | |
aconst_null | |
pop | |
nop | |
} | |
L26 { | |
aload9 | |
areturn | |
goto L32 | |
} | |
L19 { | |
astore10 | |
} | |
L9 { | |
aload3 | |
aload4 | |
ldc "5 == 6" (java.lang.String) | |
bipush 94 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
bipush 7 | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokevirtual java/lang/Integer intValue(()I); | |
aconst_null | |
aload10 | |
invokestatic org/spockframework/runtime/SpockRuntime conditionFailedWithException((Lorg/spockframework/runtime/ErrorCollector;Lorg/spockframework/runtime/ValueRecorder;Ljava/lang/String;IILjava/lang/Object;Ljava/lang/Throwable;)V); | |
aconst_null | |
astore11 | |
nop | |
} | |
L22 { | |
nop | |
} | |
L23 { | |
nop | |
} | |
L27 { | |
aload3 | |
invokevirtual org/spockframework/runtime/ErrorCollector validateCollectedErrors(()V); | |
aconst_null | |
pop | |
nop | |
} | |
L28 { | |
aload11 | |
areturn | |
nop | |
} | |
L10 { | |
goto L32 | |
} | |
L32 { | |
nop | |
goto L33 | |
} | |
L21 { | |
astore12 | |
aload12 | |
athrow | |
} | |
L33 { | |
goto L29 | |
} | |
L29 { | |
aload3 | |
invokevirtual org/spockframework/runtime/ErrorCollector validateCollectedErrors(()V); | |
aconst_null | |
pop | |
nop | |
goto L2 | |
} | |
L25 { | |
astore13 | |
aload3 | |
invokevirtual org/spockframework/runtime/ErrorCollector validateCollectedErrors(()V); | |
aconst_null | |
pop | |
aload13 | |
athrow | |
} | |
L2 { | |
aconst_null | |
areturn | |
} | |
} | |
public doCall() { //()Ljava/lang/Object; | |
<localVar:index=0 , name=this , desc=Lorg/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1;, sig=null, start=L1, end=L2> | |
L1 { | |
invokestatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 $getCallSiteArray(()[Lorg/codehaus/groovy/runtime/callsite/CallSite;); | |
astore1 | |
aload0 // reference to self | |
aconst_null | |
invokevirtual org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 doCall((Ljava/lang/Object;)Ljava/lang/Object;); | |
areturn | |
} | |
L2 { | |
aconst_null | |
areturn | |
} | |
} | |
protected $getStaticMetaClass() { //()Lgroovy/lang/MetaClass; | |
aload0 // reference to self | |
invokevirtual java/lang/Object getClass(()Ljava/lang/Class;); | |
ldc Lorg/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1; (org.objectweb.asm.Type) | |
if_acmpeq L1 | |
aload0 // reference to self | |
invokestatic org/codehaus/groovy/runtime/ScriptBytecodeAdapter initMetaClass((Ljava/lang/Object;)Lgroovy/lang/MetaClass;); | |
areturn | |
L1 { | |
getstatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1.$staticClassInfo:org.codehaus.groovy.reflection.ClassInfo | |
astore1 | |
aload1 | |
ifnonnull L2 | |
aload0 // reference to self | |
invokevirtual java/lang/Object getClass(()Ljava/lang/Class;); | |
invokestatic org/codehaus/groovy/reflection/ClassInfo getClassInfo((Ljava/lang/Class;)Lorg/codehaus/groovy/reflection/ClassInfo;); | |
dup | |
astore1 | |
putstatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1.$staticClassInfo:org.codehaus.groovy.reflection.ClassInfo | |
} | |
L2 { | |
aload1 | |
invokevirtual org/codehaus/groovy/reflection/ClassInfo getMetaClass(()Lgroovy/lang/MetaClass;); | |
areturn | |
} | |
} | |
private static $createCallSiteArray_1(java.lang.String[] arg0) { //([Ljava/lang/String;)V | |
aload0 | |
ldc 0 (java.lang.Integer) | |
ldc "<$constructor$>" (java.lang.String) | |
aastore | |
aload0 | |
ldc 1 (java.lang.Integer) | |
ldc "<$constructor$>" (java.lang.String) | |
aastore | |
return | |
} | |
private static $createCallSiteArray() { //()Lorg/codehaus/groovy/runtime/callsite/CallSiteArray; | |
ldc 2 (java.lang.Integer) | |
anewarray java/lang/String | |
astore0 | |
aload0 | |
invokestatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 $createCallSiteArray_1(([Ljava/lang/String;)V); | |
new org/codehaus/groovy/runtime/callsite/CallSiteArray | |
dup | |
ldc Lorg/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1; (org.objectweb.asm.Type) | |
aload0 | |
invokespecial org/codehaus/groovy/runtime/callsite/CallSiteArray <init>((Ljava/lang/Class;[Ljava/lang/String;)V); | |
areturn | |
} | |
private static $getCallSiteArray() { //()[Lorg/codehaus/groovy/runtime/callsite/CallSite; | |
getstatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1.$callSiteArray:java.lang.ref.SoftReference | |
ifnull L1 | |
getstatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1.$callSiteArray:java.lang.ref.SoftReference | |
invokevirtual java/lang/ref/SoftReference get(()Ljava/lang/Object;); | |
checkcast org/codehaus/groovy/runtime/callsite/CallSiteArray | |
dup | |
astore0 | |
ifnonnull L2 | |
L1 { | |
invokestatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1 $createCallSiteArray(()Lorg/codehaus/groovy/runtime/callsite/CallSiteArray;); | |
astore0 | |
new java/lang/ref/SoftReference | |
dup | |
aload0 | |
invokespecial java/lang/ref/SoftReference <init>((Ljava/lang/Object;)V); | |
putstatic org/spockframework/verifyall/VerifyTest$__spock_feature_0_0_closure1.$callSiteArray:java.lang.ref.SoftReference | |
} | |
L2 { | |
aload0 | |
getfield org/codehaus/groovy/runtime/callsite/CallSiteArray.array:org.codehaus.groovy.runtime.callsite.CallSite[] | |
areturn | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.spockframework.verifyall; | |
import spock.lang.*; | |
import org.codehaus.groovy.reflection.*; | |
import groovy.lang.*; | |
import java.lang.ref.*; | |
import org.codehaus.groovy.runtime.*; | |
import org.spockframework.runtime.model.*; | |
import org.codehaus.groovy.runtime.callsite.*; | |
import org.spockframework.lang.*; | |
@SpecMetadata(filename = "VerifyAllSpecification.groovy", line = 88) | |
public class VerifyTest extends Specification implements GroovyObject | |
{ | |
private static /* synthetic */ SoftReference $callSiteArray; | |
public VerifyTest() { | |
$getCallSiteArray(); | |
} | |
@FeatureMetadata(line = 89, name = "test3", ordinal = 0, blocks = { @BlockMetadata(kind = BlockKind.EXPECT, texts = {}) }, parameterNames = {}) | |
public void $spock_feature_0_0() { | |
final CallSite[] $getCallSiteArray = $getCallSiteArray(); | |
$getCallSiteArray[0].callCurrent((GroovyObject)this, (Object)new VerifyTest.__spock_feature_0_0_closure1((Object)this, (Object)this)); | |
$getCallSiteArray[1].call($getCallSiteArray[2].call((Object)((SpecInternals)this).getSpecificationContext())); | |
} | |
private static /* synthetic */ CallSiteArray $createCallSiteArray() { | |
final String[] array = new String[3]; | |
$createCallSiteArray_1(array); | |
return new CallSiteArray((Class)VerifyTest.class, array); | |
} | |
private static /* synthetic */ CallSite[] $getCallSiteArray() { | |
CallSiteArray $createCallSiteArray; | |
if (VerifyTest.$callSiteArray == null || ($createCallSiteArray = VerifyTest.$callSiteArray.get()) == null) { | |
$createCallSiteArray = $createCallSiteArray(); | |
VerifyTest.$callSiteArray = new SoftReference($createCallSiteArray); | |
} | |
return $createCallSiteArray.array; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.spockframework.verifyall; | |
import org.codehaus.groovy.reflection.*; | |
import java.lang.ref.*; | |
import org.codehaus.groovy.runtime.*; | |
import org.spockframework.runtime.*; | |
import groovy.lang.*; | |
import org.codehaus.groovy.runtime.callsite.*; | |
public class __spock_feature_0_0_closure1 extends Closure implements GeneratedClosure | |
{ | |
public __spock_feature_0_0_closure1(final Object _outerInstance, final Object _thisObject) { | |
$getCallSiteArray(); | |
super(_outerInstance, _thisObject); | |
} | |
public Object doCall(final Object it) { | |
final CallSite[] $getCallSiteArray = $getCallSiteArray(); | |
final ErrorCollector $spock_errorCollector = (ErrorCollector)ScriptBytecodeAdapter.castToType($getCallSiteArray[0].callConstructor((Object)ErrorCollector.class, (Object)true), (Class)ErrorCollector.class); | |
final ValueRecorder $spock_valueRecorder = (ValueRecorder)ScriptBytecodeAdapter.castToType($getCallSiteArray[1].callConstructor((Object)ValueRecorder.class), (Class)ValueRecorder.class); | |
try { | |
try { | |
SpockRuntime.verifyCondition($spock_errorCollector, $spock_valueRecorder.reset(), "1 == 2", (int)Integer.valueOf(92), (int)Integer.valueOf(7), (Object)null, $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue((int)Integer.valueOf(2)), (Object)ScriptBytecodeAdapter.compareEqual($spock_valueRecorder.record($spock_valueRecorder.startRecordingValue((int)Integer.valueOf(0)), (Object)1), $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue((int)Integer.valueOf(1)), (Object)2)))); | |
} | |
catch (Throwable throwable) { | |
SpockRuntime.conditionFailedWithException($spock_errorCollector, $spock_valueRecorder, "1 == 2", (int)Integer.valueOf(92), (int)Integer.valueOf(7), (Object)null, throwable); | |
} | |
try { | |
SpockRuntime.verifyCondition($spock_errorCollector, $spock_valueRecorder.reset(), "3 == 4", (int)Integer.valueOf(93), (int)Integer.valueOf(7), (Object)null, $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue((int)Integer.valueOf(2)), (Object)ScriptBytecodeAdapter.compareEqual($spock_valueRecorder.record($spock_valueRecorder.startRecordingValue((int)Integer.valueOf(0)), (Object)3), $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue((int)Integer.valueOf(1)), (Object)4)))); | |
} | |
catch (Throwable throwable2) { | |
SpockRuntime.conditionFailedWithException($spock_errorCollector, $spock_valueRecorder, "3 == 4", (int)Integer.valueOf(93), (int)Integer.valueOf(7), (Object)null, throwable2); | |
} | |
Object o = null; | |
try { | |
SpockRuntime.verifyCondition($spock_errorCollector, $spock_valueRecorder.reset(), "5 == 6", (int)Integer.valueOf(94), (int)Integer.valueOf(7), (Object)null, $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue((int)Integer.valueOf(2)), (Object)ScriptBytecodeAdapter.compareEqual($spock_valueRecorder.record($spock_valueRecorder.startRecordingValue((int)Integer.valueOf(0)), (Object)5), $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue((int)Integer.valueOf(1)), (Object)6)))); | |
o = null; | |
try { | |
final ErrorCollector errorCollector = $spock_errorCollector; | |
errorCollector.validateCollectedErrors(); | |
return o; | |
} | |
catch (Throwable throwable3) { | |
SpockRuntime.conditionFailedWithException($spock_errorCollector, $spock_valueRecorder, "5 == 6", (int)Integer.valueOf(94), (int)Integer.valueOf(7), (Object)null, throwable3); | |
final Object o3 = null; | |
$spock_errorCollector.validateCollectedErrors(); | |
return o3; | |
} | |
} | |
catch (Throwable t) {} | |
try { | |
final ErrorCollector errorCollector = $spock_errorCollector; | |
errorCollector.validateCollectedErrors(); | |
return o; | |
} | |
finally {} | |
$spock_errorCollector.validateCollectedErrors(); | |
} | |
finally { | |
$spock_errorCollector.validateCollectedErrors(); | |
} | |
return null; | |
} | |
public Object doCall() { | |
$getCallSiteArray(); | |
return this.doCall(null); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment