Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
38,700
void () { new A(<caret>this){}; }
main2
38,701
void () { new A().f<caret>(() -> {}); }
foo
38,702
void (A a) { Object x = a.<caret>bar(); String s = a.bar(); }
foo
38,703
void () { }
run
38,704
void () { new A().f<caret>(Test::foo); }
foo
38,705
void () { new A(<caret>this){}; }
main2
38,706
void () { new A(<caret>this){}; }
main2
38,707
void () { A.<caret>f(this); }
run
38,708
void () { new A<caret>(this); }
main2
38,709
void (A a) { String s = a.get<caret>Bar() }
method
38,710
void () { String s = new A().set<caret>Bar(1) }
method
38,711
void (A a) { a.is<caret>Bar() }
method
38,712
void (A a) { a.set<caret>Bar(1) }
method
38,713
void (A a) { a.is<caret>Bar() }
method
38,714
void () { String s = new A().set<caret>Bar(1) }
method
38,715
void () { new A().is<caret>Bar(1) }
method
38,716
void (A a) { String s = a.get<caret>Bar() }
method
38,717
void (A a) { String s = a.get<caret>bBar() }
method
38,718
void () { new A().is<caret>Bar() }
method
38,719
void (A a) { String s = a.get<caret>bar() }
method
38,720
void () { new A().set<caret>Bar() }
method
38,721
void () { String s = new A().set<caret>Bar(1) }
method
38,722
void () { String s = new A().set<caret>Bar(1) }
method
38,723
void (A a) { a.set<caret>Bar(()->{}) }
method
38,724
void () { String s = new Before().<caret>bar }
method
38,725
void () { String s = new A().<caret>bar }
method
38,726
void () { Object x = new A().<caret>fld; fld = ""; }
foo
38,727
void () { A a = new A() Object x = a.<caret>fld; String s = a.fld; }
foo
38,728
ClassB1 () { return null; }
getB
38,729
ClassB () { return null; }
getB
38,730
VariableInfo[] (TagData tagData) { return new VariableInfo[] { new VariableInfo("testVar", tagData.getAttributeString("class"), true, VariableInfo.AT_BEGIN) }; }
getVariableInfo
38,731
VariableInfo[] (TagData tagData) { return new VariableInfo[] { new VariableInfo("testVar", tagData.getAttributeString("class"), true, VariableInfo.AT_BEGIN) }; }
getVariableInfo
38,732
void (java.lang.Integer it) { print(it); }
doCall
38,733
void () { doCall(null); }
doCall
38,734
void (java.lang.Object it) {print("foo}
run
38,735
void () { this.run(null); }
run
38,736
void (java.lang.Object a) {print("foo}
run
38,737
void () { this.run(null); }
run
38,738
function () { // note trailing space on the next line echo 'xyz';\s }
xyz
38,739
void (java.lang.Integer i) {org.codehaus.groovy.runtime.DefaultGroovyMethods.print(this, i);}
call
38,740
void (java.lang.Integer i, java.lang.String s) {org.codehaus.groovy.runtime.DefaultGroovyMethods.print(this, s);}
call
38,741
void (java.lang.String[] args) { new closureInUse(new groovy.lang.Binding(args)).run(); }
main
38,742
void (java.lang.Object it) { IntCat.call(2); IntCat.call(2, "a"); IntCat.call(2); IntCat.call(2, "2"); }
doCall
38,743
void () { doCall(null); }
doCall
38,744
void (foo.A a) {}
abc
38,745
void () { abc(foo.A.Const); }
cde
38,746
void (java.lang.String[] args) { new resolveMethodInsideClosure(new groovy.lang.Binding(args)).run(); }
main
38,747
void (java.lang.Object foo) { this.foo = foo; }
setFoo
38,748
void (java.lang.String[] args) { new anonymous2(new groovy.lang.Binding(args)).run(); }
main
38,749
void () { invokeMethod("println", new java.lang.Object[]{getFoo()}); }
run
38,750
void (java.lang.Object prop) { A.prop = prop; }
setProp
38,751
void (java.lang.String[] args) { new staticPropAssignment(new groovy.lang.Binding(args)).run(); }
main
38,752
<Value>Value (Value prop) { A.setProp(prop); return prop; }
setProp
38,753
void (java.lang.String[] args) { new p.useAnno(new groovy.lang.Binding(args)).run(); }
main
38,754
void () { setProperty("bar", 2); org.codehaus.groovy.runtime.DefaultGroovyMethods.print(this, setProperty0(this, "bar", 3)); java.lang.String s = "a"; s.bar = 4; org.codehaus.groovy.runtime.DefaultGroovyMethods.print(this, s.bar = 5); org.codehaus.groovy.runtime.DefaultGroovyMethods.print(this, getProperty("bar")); inv...
foo
38,755
<Value>Value (A propOwner, java.lang.String s, Value o) { propOwner.setProperty(s, o); return o; }
setProperty0
38,756
void (final int x) { org.codehaus.groovy.runtime.DefaultGroovyMethods.times(2, new groovy.lang.Closure<java.lang.Integer>(this, this) { public java.lang.Integer doCall(java.lang.Integer it) {return x;} public java.lang.Integer doCall() { return doCall(null); } }); }
foo
38,757
void (java.lang.String[] args) { new refInClosureInScript(new groovy.lang.Binding(args)).run(); }
main
38,758
void (java.lang.Integer it) { foo.set(foo.get() + 1); foo.set(foo.get() + 2); foo.set(foo.get() - 1); foo.set(4); print(foo.get()); }
doCall
38,759
void () { doCall(null); }
doCall
38,760
void (java.lang.String[] args) { new grScript(new groovy.lang.Binding(args)).run(); }
main
38,761
void (java.lang.String[] args) { new args(new groovy.lang.Binding(args)).run(); }
main
38,762
void (java.lang.String... args) { }
foo
38,763
void (java.lang.String s, int x) { }
foo
38,764
void (int x) { foo("a", x); }
foo
38,765
void (groovy.lang.Closure<java.lang.Integer> foo) { this.foo = foo; }
setFoo
38,766
void (java.lang.Integer it) { i1.set(2); int i = 3; }
doCall
38,767
void () { doCall(null); }
doCall
38,768
void (java.lang.String s, java.lang.Integer x, java.lang.Object value) { }
putAt
38,769
void (java.lang.String[] args) { new arrayAccess(new groovy.lang.Binding(args)).run(); }
main
38,770
<Value>Value (java.lang.Object propOwner, java.lang.String property, Value newValue) { org.codehaus.groovy.runtime.DefaultGroovyMethods.putAt(propOwner, property, newValue); return newValue; }
putAt1
38,771
void () { foox(); }
foo
38,772
void () {}
foox
38,773
void (java.util.Map args, java.lang.String a, java.lang.String... b) {}
foo
38,774
void (java.lang.String a, java.lang.String... b) { foo(new java.util.LinkedHashMap<java.lang.Object, java.lang.Object>(), a, b); }
foo
38,775
void () { abc(null); }
abr
38,776
void (java.lang.Object a) { this.a = a; }
setA
38,777
void (java.lang.Object b) { this.b = b; }
setB
38,778
X (X x) {return new X();}
plus
38,779
void (java.lang.String[] args) { new casts(new groovy.lang.Binding(args)).run(); }
main
38,780
void (java.util.Date d) {}
foo
38,781
void () { _1abc_def___qe(); }
main
38,782
void () {}
_1abc_def___qe
38,783
void (java.lang.Object prop) { this.prop = prop; }
setProp
38,784
void (java.lang.String[] args) { new propAssignment(new groovy.lang.Binding(args)).run(); }
main
38,785
<Value>Value (A propOwner, Value prop) { propOwner.setProp(prop); return prop; }
setProp
38,786
void (java.lang.Integer it) { i1.set(2); int i = 3; }
doCall
38,787
void () { doCall(null); }
doCall
38,788
void (java.util.List l) { if (l instanceof java.lang.String){ if (l instanceof MyList){ org.codehaus.groovy.runtime.DefaultGroovyMethods.print(this, l); java.lang.String v = ((MyList)l).getValue(); } } }
foo
38,789
int (java.lang.String virtualHash, java.util.Map<java.lang.String, java.lang.String> commitDetails) { commits.put(virtualHash, commitDetails); return ((int)(commitDetails)); }
register
38,790
void (java.lang.Object p) {}
foo
38,791
void () { foo(null); }
bar
38,792
void () { final groovy.lang.Reference<java.lang.Integer> ab = new groovy.lang.Reference<java.lang.Integer>(4); org.codehaus.groovy.runtime.DefaultGroovyMethods.each(this, new groovy.lang.Closure<X>(this, this) { public X doCall(java.lang.Object it) { return org.codehaus.groovy.runtime.DefaultGroovyMethods.each(X.this, ...
foo
38,793
X (java.lang.Object it) { return org.codehaus.groovy.runtime.DefaultGroovyMethods.each(X.this, new groovy.lang.Closure<java.lang.Integer>(X.this, X.this) { public java.lang.Integer doCall(java.lang.Object it) { return setGroovyRef(ab, 2); } public java.lang.Integer doCall() { return doCall(null); } }); }
doCall
38,794
X () { return doCall(null); }
doCall
38,795
void () { field++; field--; --field; ++field; field += 1; field -= 1; int var = 0; var++; var--; ++var; --var; var += 1; var -= 1; }
foo
38,796
void (java.lang.String[] args) { new return2(new groovy.lang.Binding(args)).run(); }
main
38,797
boolean () { java.lang.Integer a = 5; org.codehaus.groovy.runtime.DefaultGroovyMethods.times(a, new groovy.lang.Closure<java.lang.Integer>(this, this) { public java.lang.Integer doCall(java.lang.Integer it) { if (it == 2)return 5; } public java.lang.Integer doCall() { return doCall(null); } }); }
foo
38,798
void () { org.codehaus.groovy.runtime.DefaultGroovyMethods.print(this, "foo"); }
foo1
38,799
void () { org.codehaus.groovy.runtime.DefaultGroovyMethods.print(this, "foo"); }
foo2