text
stringlengths
30
1.67M
<s> package org . eclim . plugin . jdt . command . webxml ; import java . util . List ; import java . util . Map ; import org . eclim . Eclim ; import org . eclim . plugin . jdt . Jdt ; import org . junit . Test ; import static org . junit . Assert . * ; public class ValidateCommandTest { private static final String TE...
<s> package org . eclim . plugin . jdt . command . doc ; import java . util . List ; import org . eclim . Eclim ; import org . eclim . plugin . jdt . Jdt ; import org . junit . Test ; import static org . junit . Assert . * ; public class DocSearchCommandTest { private static final String TEST_FILE = "<STR_LIT>" ; @ Tes...
<s> package org . eclim . plugin . jdt . command . doc ; import java . util . regex . Pattern ; import org . eclim . Eclim ; import org . eclim . plugin . jdt . Jdt ; import org . junit . Test ; import static org . junit . Assert . * ; public class CommentCommandTest { private static final String TEST_FILE = "<STR_LIT>...
<s> package org . eclim . plugin . jdt . command . doc ; import java . util . List ; import java . util . Map ; import org . eclim . Eclim ; import org . eclim . plugin . jdt . Jdt ; import org . junit . Test ; import static org . junit . Assert . * ; public class GetElementDocCommandTest { private static final String ...
<s> package org . eclim . plugin . jdt . command . hierarchy ; import java . util . List ; import java . util . Map ; import org . eclim . Eclim ; import org . eclim . plugin . jdt . Jdt ; import org . junit . Test ; import static org . junit . Assert . * ; public class HierarchyCommandTest { private static final Strin...
<s> package org . eclim . plugin . jdt ; public class Jdt { public static final String TEST_PROJECT = "<STR_LIT>" ; } </s>
<s> package org . eclim . plugin . ant ; public class Ant { public static final String TEST_PROJECT = "<STR_LIT>" ; } </s>
<s> package org . eclim . plugin . ant . command . complete ; import java . util . List ; import java . util . Map ; import org . eclim . Eclim ; import org . eclim . plugin . ant . Ant ; import org . junit . Test ; import static org . junit . Assert . * ; public class CodeCompleteCommandTest { private static final Str...
<s> package org . eclim . plugin . ant . command . validate ; import java . util . List ; import java . util . Map ; import org . eclim . Eclim ; import org . eclim . plugin . ant . Ant ; import org . junit . Test ; import static org . junit . Assert . * ; public class ValidateCommandTest { private static final String ...
<s> package org . eclim . test ; import java . util . ArrayList ; public class TestLinked { public void test ( ) { ArrayList list = new ArrayList ( ) ; list . ; } public void testAnother ( ) { ArrayList list = new ArrayList ( ) ; list . a ( ) ; } } </s>
<s> package com . eclim . test ; public class TestCom { } </s>
<s> package net . eclim . test ; public class TestNet { public static final String FOO = "<STR_LIT:foo>" ; public static final String BAR = "<STR_LIT:foo>" ; } </s>
<s> package org . eclim . test . correct ; public class TestCorrectVUnit { private ArrayList list ; } </s>
<s> package org . test ; public class TestCorrectPackage { } </s>
<s> package org . eclim . test . correct ; public class TestCorrect { private ArrayList list ; } </s>
<s> package org . eclim . test . format ; public class TestFormatVUnit { public void main ( String [ ] args ) throws Exception { System . out . println ( "<STR_LIT>" ) ; if ( true ) { System . out . println ( "<STR_LIT>" ) ; } } } </s>
<s> package org . eclim . test . src ; public class TestCheckstyle { public void test ( ) throws TestException { } public void test ( String arg1 , String arg2 ) { ArrayList list = new ArrayList ( ) ; } } </s>
<s> package org . eclim . test . src ; public class TestCheckstyleVUnit { public void test ( ) throws Exception { } public void test ( String arg1 , String arg2 ) { } } </s>
<s> package org . eclim . test . src ; import java . util . ArrayList ; import java . util . List ; public class TestSrc { public void test ( ) { List list = new ArrayList ( ) ; list . a ( ) ; } } </s>
<s> package org . eclim . test . src ; public class TestException extends RuntimeException { } </s>
<s> package org . eclim . test . src ; public class TestPrototype { public final void test ( ) { } public String testAnother ( String blah ) throws Exception { return "<STR_LIT>" : } } </s>
<s> package org . eclim . test . src ; public class TestPrototypeVUnit { public final void test ( ) { } public String testAnother ( String blah ) throws Exception { return "<STR_LIT>" : } } </s>
<s> package org . eclim . test . format ; public class TestFormat { public void main ( String [ ] args ) throws Exception { System . out . println ( "<STR_LIT>" ) ; if ( true ) { System . out . println ( "<STR_LIT>" ) ; } } } </s>
<s> package org . eclim . test . src ; import java . util . ArrayList ; import java . util . List ; public class TestSrcVUnit { public void test ( ) { List list = new ArrayList ( ) ; list . a ( ) ; } } </s>
<s> package org . eclim . test . include ; public class TestImportVUnit { private String string private List list = new ArrayList ( ) ; private Pattern pattern ; } </s>
<s> package org . eclim . test . include ; import java . util . ArrayList ; import static net . eclim . test . TestNet . FOO ; import javax . swing . JComponent ; import static net . eclim . test . TestNet . BAR ; import java . util . HashSet ; import java . util . Set ; public class TestImportOrganizeVUnit { private L...
<s> package org . eclim . test . include ; import static java . lang . Math . PI ; import java . util . Map ; import java . util . HashMap ; public class TestImportOrganize { private List list ; private ArrayList alist ; private FooBar bar ; private Pattern pattern ; private Map map ; private Entry entry ; } </s>
<s> package org . eclim . test . include ; public class TestImport { private List list = new ArrayList ( ) ; private Pattern pattern ; private File file ; } </s>
<s> package org . eclim . test . search ; import java . util . ArrayList ; import java . util . List ; public class TestSearch { private List list = new ArrayList ( ) ; public void test ( ) { list . add ( "<STR_LIT>" ) ; } } </s>
<s> package org . eclim . test . search ; import java . util . ArrayList ; import java . util . List ; public class TestSearchVUnit { private List list = new ArrayList ( ) ; public void test ( ) { list . add ( "<STR_LIT>" ) ; } } </s>
<s> package org . eclim . test . refactoring . move . p3 ; public class TestMove { } </s>
<s> package org . eclim . test . refactoring . move . p1 ; public class TestMove { } </s>
<s> package org . eclim . test . refactoring . move . p1 ; public class UsesMove { private TestMove move ; } </s>
<s> package org . eclim . test . refactoring . rename . n1 . n2 ; import org . eclim . test . refactoring . rename . n1 . TestN1 ; import static org . eclim . test . refactoring . rename . n1 . TestN1 . FOO ; public class TestN2 { public static final void test ( String [ ] args ) { System . out . println ( FOO ) ; Test...
<s> package org . eclim . test . refactoring . rename . n1 ; public class TestN1 { public static final String FOO = "<STR_LIT:value>" ; public void testMethod ( ) { } } </s>
<s> package org . eclim . test . refactoring . rename . vn1 . vn2 ; import org . eclim . test . refactoring . rename . vn1 . TestN1VUnit ; import static org . eclim . test . refactoring . rename . vn1 . TestN1VUnit . FOO ; public class TestN2VUnit { public static final void test ( String [ ] args ) { System . out . pri...
<s> package org . eclim . test . refactoring . rename . vn1 ; public class TestN1VUnit { public static final String FOO = "<STR_LIT:value>" ; public void testMethod ( ) { } } </s>
<s> package org . eclim . test . impl ; public enum TestConstructorEnum { ONE ( <NUM_LIT:1> ) , TWO ( <NUM_LIT:2> ) , THREE ( <NUM_LIT:3> ) ; private final int number ; } </s>
<s> package org . eclim . test . impl ; public class TestConstructorVUnit { private int id ; private String name ; } </s>
<s> package org . eclim . test . impl ; import java . util . ArrayList ; import java . util . List ; public class TestDelegate { private List < Double > list = new ArrayList < Double > ( ) ; } </s>
<s> package org . eclim . test . impl ; public class TestBean { private String name ; private boolean valid ; private int [ ] ids ; } </s>
<s> package org . eclim . test . impl ; import java . util . Comparator ; import java . util . HashMap ; public class TestImpl extends HashMap < Integer , String > implements Comparator < String > { } </s>
<s> package org . eclim . test . impl ; import java . util . Comparator ; import java . util . Set ; public class TestConstructor extends TestConstructorSuper { private Set < String > names ; private Comparator c = new Comparator ( ) { } ; public class TestInner { private String subName ; } } </s>
<s> package org . eclim . test . impl ; import java . util . ArrayList ; import java . util . List ; public class TestDelegateVUnit { private List < Double > list = new ArrayList < Double > ( ) ; } </s>
<s> package org . eclim . test . impl ; public class TestConstructorSuper { private int id ; private String name ; } </s>
<s> package org . eclim . test . impl ; public class TestSubImplVUnit extends TestImpl { } </s>
<s> package org . eclim . test . impl ; public class TestSubImpl extends TestImpl { } </s>
<s> package org . eclim . test . impl ; import java . util . Comparator ; import java . util . HashMap ; public class TestImplVUnit extends HashMap < Integer , String > implements Comparator < String > { } </s>
<s> package org . eclim . test . impl ; import java . util . Date ; public class TestBeanVUnit { private String name ; private String description ; private Date date ; private boolean valid ; private boolean enabled ; private int [ ] ids ; private class SomeClass { } } </s>
<s> package org . eclim . test ; public class TestMain { public static final void main ( String [ ] args ) { System . out . println ( "<STR_LIT>" ) ; if ( args . length > <NUM_LIT:0> ) { System . out . println ( "<STR_LIT>" ) ; for ( String arg : args ) { System . out . println ( arg ) ; } System . out . println ( "<ST...
<s> package org . eclim . test . hierarchy ; import java . awt . Component ; import java . beans . PropertyChangeListener ; import org . eclipse . core . internal . resources . Container ; public class TestHierarchyVUnit extends Component implements Comparable , PropertyChangeListener { private class TestNested extends...
<s> package org . eclim . test . hierarchy ; import java . awt . Component ; import java . beans . PropertyChangeListener ; import org . eclipse . core . internal . resources . Container ; public class TestHierarchy extends Component implements Comparable , PropertyChangeListener { private class TestNested extends Cont...
<s> package org . eclim . test . doc ; public class TestCommentVUnit { public String test ( int _id , String _name ) throws java . io . IOException { return "<STR_LIT>" ; } public boolean equals ( Object _other ) { return false ; } } </s>
<s> package org . eclim . test . doc ; public class TestDocSearchVUnit { private List list ; } </s>
<s> package org . eclim . test . doc ; public class TestDocSearch { private List list ; } </s>
<s> package org . eclim . test . doc . javadoc ; public class TestJavadoc { public static final void main ( String [ ] args ) { } } </s>
<s> package org . eclim . test . doc . javadoc ; public class TestJavadocVUnit { public static final void main ( String [ ] args ) { } } </s>
<s> package org . eclim . test . doc ; import java . util . Map ; public class TestPreview { private List list ; private Map map ; public static final void main ( String [ ] args ) { TestPreview p = new TestPreview ( args ) ; p . test ( ) ; } public TestPreview ( String [ ] args ) { } public String test ( ) { map . put...
<s> package org . eclim . test . doc ; public class TestComment { public String test ( int _id , String _name ) throws java . io . IOException { return "<STR_LIT>" ; } public boolean equals ( Object _other ) { return false ; } } </s>
<s> package org . eclim . test . logging ; public class TestLoggingVUnit { public static void main ( String [ ] args ) { } } </s>
<s> package org . eclim . test . complete ; import java . util . ArrayList ; import java . util . List ; public class TestCompletion { public void test ( ) { List list = new ArrayList ( ) ; list . } public void testAnother ( ) { List list = new ArrayList ( ) ; list . a ( ) ; } public void testMissingImport ( ) { List l...
<s> package org . eclim . test . complete ; public class TestUnicode { public void test ( ) { System . out . pr ( ) ; } public static final void main ( String [ ] _args ) { System . out . pr ( "<STR_LIT:test>" ) ; } } </s>
<s> package org . eclim . test . complete ; import java . util . ArrayList ; public class TestCompletionVUnit { public void testAnother ( ) { List list = new ArrayList ( ) ; list . a ( ) ; } public void test ( ) { List list = new ArrayList ( ) ; list . ; } } </s>
<s> package org . eclim . test . junit ; import java . util . Comparator ; public class SomeClassVUnit extends SomeSuperClass implements Comparator < String > { public void aMethod ( ) { } public void aMethod ( String name ) { } public void anotherMethod ( int id ) { } } </s>
<s> package org . eclim . test . junit ; public class Testme { public void me ( ) { } } </s>
<s> package org . eclim . test . junit . run ; public class Foo { public String foo ( ) { return "<STR_LIT>" ; } public String foo ( String name ) { return "<STR_LIT>" + name ; } public int bar ( ) { return <NUM_LIT> ; } } </s>
<s> package org . eclim . test . junit . run ; import static org . junit . Assert . * ; import org . junit . Test ; public class FooTest { @ Test public void foo ( ) { Foo foo = new Foo ( ) ; assertEquals ( "<STR_LIT>" , foo . foo ( "<STR_LIT:test>" ) ) ; } @ Test public void fooString ( ) { Foo foo = new Foo ( ) ; ass...
<s> package org . eclim . test . junit . run ; public class Bar { public String bar ( ) { return "<STR_LIT>" ; } } </s>
<s> package org . eclim . test . junit . run ; import static org . junit . Assert . * ; import org . junit . Test ; public class BarTest { @ Test public void bar ( ) { Bar bar = new Bar ( ) ; assertEquals ( "<STR_LIT>" , bar . bar ( ) ) ; } } </s>
<s> package org . eclim . test . junit ; public class SomeSuperClass { public void aSuperMethod ( ) { } } </s>
<s> package org . eclim . test . junit ; import java . util . Comparator ; public class SomeClass extends SomeSuperClass implements Comparator < String > { public void aMethod ( ) { } public void aMethod ( String name ) { } public void anotherMethod ( int id ) { } } </s>
<s> package org . eclim . test . junit ; public class SomeClassTest { } </s>
<s> package org . eclim . test . junit ; public class SomeClassVUnitTest { } </s>
<s> package org . eclim . test . junit . tests ; public class Testme { } </s>
<s> package org . eclim . plugin . dltkruby ; import org . eclim . Services ; import org . eclim . plugin . AbstractPluginResources ; import org . eclim . plugin . core . project . ProjectManagement ; import org . eclim . plugin . core . project . ProjectNatureFactory ; import org . eclim . plugin . dltk . preference ....
<s> package org . eclim . plugin . dltkruby . project ; import org . eclim . command . CommandLine ; import org . eclim . plugin . dltk . project . DltkProjectManager ; import org . eclim . plugin . dltk . util . DltkUtils ; import org . eclipse . core . resources . IFile ; import org . eclipse . core . resources . IPr...
<s> package org . eclim . plugin . dltkruby . command . launching ; import org . eclim . annotation . Command ; import org . eclim . command . CommandLine ; import org . eclim . logging . Logger ; import org . eclim . plugin . dltk . preference . DltkInterpreterTypeManager ; import org . eclim . util . CommandExecutor ...
<s> package org . eclim . plugin . dltkruby . command . complete ; import java . util . regex . Matcher ; import java . util . regex . Pattern ; import org . eclim . annotation . Command ; import org . eclim . plugin . dltk . command . complete . AbstractCodeCompleteCommand ; import org . eclim . util . StringUtils ; i...
<s> package org . eclim . plugin . dltkruby . command . src ; import org . eclim . annotation . Command ; import org . eclim . plugin . dltk . command . src . AbstractSrcUpdateCommand ; import org . eclipse . dltk . ruby . core . RubyNature ; @ Command ( name = "<STR_LIT>" , options = "<STR_LIT>" + "<STR_LIT>" + "<STR_...
<s> package org . eclim . plugin . dltkruby . command . search ; import org . eclim . annotation . Command ; import org . eclim . plugin . core . project . ProjectNatureFactory ; @ Command ( name = "<STR_LIT>" , options = "<STR_LIT>" + "<STR_LIT>" + "<STR_LIT>" + "<STR_LIT>" + "<STR_LIT>" + "<STR_LIT>" + "<STR_LIT>" + ...
<s> package org . eclim . plugin . dltkruby ; public class DltkRuby { public static final String TEST_PROJECT = "<STR_LIT>" ; } </s>
<s> package org . eclim . plugin . dltkruby . command . complete ; import java . util . List ; import java . util . Map ; import org . eclim . Eclim ; import org . eclim . plugin . dltkruby . DltkRuby ; import org . junit . Test ; import static org . junit . Assert . * ; public class CodeCompleteCommandTest { private s...
<s> package org . eclim . plugin . dltkruby . command . src ; import java . util . List ; import java . util . Map ; import org . eclim . Eclim ; import org . eclim . plugin . dltkruby . DltkRuby ; import org . junit . Test ; import static org . junit . Assert . * ; public class SrcUpdateCommandTest { private static fi...
<s> package org . eclim . plugin . dltkruby . command . search ; import java . util . List ; import java . util . Map ; import org . eclim . Eclim ; import org . eclim . plugin . dltkruby . DltkRuby ; import org . junit . Test ; import static org . junit . Assert . * ; public class SearchCommandTest { private static fi...
<s> package org . eclim . plugin . adt ; import java . io . File ; import org . eclim . Services ; import org . eclim . logging . Logger ; import org . eclim . plugin . AbstractPluginResources ; import org . eclim . plugin . adt . preference . OptionHandler ; import org . eclim . plugin . adt . project . AndroidProject...
<s> package org . eclim . plugin . adt . command . sdk ; import java . util . ArrayList ; import java . util . HashMap ; import org . eclim . annotation . Command ; import org . eclim . command . CommandLine ; import org . eclim . plugin . core . command . AbstractCommand ; import com . android . ide . eclipse . adt . ...
<s> package org . eclim . plugin . adt . command . sdk ; import java . lang . reflect . Field ; import java . text . MessageFormat ; import java . util . HashMap ; import org . eclim . annotation . Command ; import org . eclim . command . CommandLine ; import org . eclim . logging . Logger ; import org . eclim . plugin...
<s> package org . eclim . plugin . adt . preference ; import java . io . File ; import java . util . HashMap ; import java . util . Map ; import org . eclipse . core . resources . IProject ; import com . android . ide . eclipse . adt . AdtConstants ; import com . android . ide . eclipse . adt . internal . preferences ....
<s> package org . eclim . plugin . adt . project ; import java . lang . reflect . Method ; import java . util . HashMap ; import java . util . List ; import java . util . Map ; import org . apache . commons . cli . GnuParser ; import org . apache . commons . cli . OptionBuilder ; import org . eclim . command . CommandL...
<s> package org . eclim . plugin . adt . project ; import java . io . File ; import java . util . List ; import java . util . Map ; import org . eclim . Eclim ; import org . junit . Test ; import static org . junit . Assert . * ; public class AndroidProjectManagerTest { @ Test @ SuppressWarnings ( "<STR_LIT:unchecked>"...
<s> package org . eclim . plugin . adt . command ; import java . util . List ; import java . util . Map ; import org . apache . commons . lang . StringUtils ; import org . eclim . Eclim ; import org . junit . Test ; import static org . junit . Assert . * ; public class ListTargetsCommandTest { @ Test @ SuppressWarnings...
<s> package org . eclim . plugin . adt . command ; import java . util . Map ; import org . eclim . Eclim ; import org . junit . Test ; import static org . junit . Assert . * ; public class ReloadCommandTest { @ Test @ SuppressWarnings ( "<STR_LIT:unchecked>" ) public void reload ( ) { Map < String , String > result = (...
<s> package org . vimplugin . listeners ; import org . vimplugin . VimEvent ; import org . vimplugin . VimException ; import org . vimplugin . VimPlugin ; import org . vimplugin . VimServer ; import org . vimplugin . editors . VimEditor ; public class BufferEnter implements IVimListener { public void handleEvent ( fina...
<s> package org . vimplugin . listeners ; import org . eclipse . core . runtime . IPath ; import org . eclipse . core . runtime . Path ; import org . vimplugin . VimConnection ; import org . vimplugin . VimEvent ; import org . vimplugin . VimException ; import org . vimplugin . VimPlugin ; import org . vimplugin . VimS...
<s> package org . vimplugin . listeners ; import org . vimplugin . VimEvent ; import org . vimplugin . VimException ; import org . vimplugin . VimPlugin ; import org . vimplugin . VimServer ; import org . vimplugin . editors . VimEditor ; public class FileOpened implements IVimListener { public void handleEvent ( VimEv...
<s> package org . vimplugin . listeners ; import org . vimplugin . VimConnection ; import org . vimplugin . VimEvent ; import org . vimplugin . VimException ; public class ServerStarted implements IVimListener { public void handleEvent ( VimEvent ve ) throws VimException { String event = ve . getEvent ( ) ; if ( event ...
<s> package org . vimplugin . listeners ; import org . vimplugin . VimConnection ; import org . vimplugin . VimEvent ; import org . vimplugin . VimException ; import org . vimplugin . VimPlugin ; import org . vimplugin . VimServer ; import org . vimplugin . editors . VimEditor ; public class FileModified implements IVi...
<s> package org . vimplugin . listeners ; import java . io . IOException ; import org . vimplugin . VimEvent ; import org . vimplugin . VimException ; import org . vimplugin . VimPlugin ; import org . vimplugin . VimServer ; import org . vimplugin . editors . VimEditor ; public class ServerDisconnect implements IVimLis...
<s> package org . vimplugin . listeners ; import org . vimplugin . VimEvent ; import org . vimplugin . VimException ; import org . vimplugin . VimPlugin ; import org . vimplugin . editors . VimEditor ; public class TextRemoved implements IVimListener { public void handleEvent ( VimEvent ve ) throws VimException { Strin...
<s> package org . vimplugin . listeners ; import org . vimplugin . VimEvent ; import org . vimplugin . VimException ; import org . vimplugin . VimPlugin ; import org . vimplugin . editors . VimEditor ; public class TextInsert implements IVimListener { public void handleEvent ( VimEvent ve ) throws VimException { String...