text stringlengths 30 1.67M |
|---|
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import org . eclipse . jdt . core . compiler . CategorizedProblem ; import org . eclipse . jdt . core . compiler . CharOperation ; import org . eclipse . jdt . core . tests . util . AbstractCompilerTest ; import org . ecl... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . lang . reflect . InvocationTargetException ; import junit . framework . TestCase ; public class SingleCompletionTest extends AbstractCompletionTest { public SingleCompletionTest ( String testName ) { super ( testName ) ; } private void r... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import java . util . Map ; import org . eclipse . jdt . core . tests . util . AbstractCompilerTest ; import org . eclipse . jdt . core . tests . util . Util ; import org . eclipse . jdt . internal . codeassist . complete ... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . ArrayList ; import java . util . List ; import org . eclipse . jdt . core . tests . junit . extension . TestCase ; import org . eclipse . jdt . core . tests . util . AbstractCompilerTest ; import org . eclipse . jdt . internal . c... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Map ; import junit . framework . Test ; import org . eclipse . jdt . internal . compiler . impl . CompilerOptions ; public class AnnotationCompletionParserTest extends AbstractCompletionTest { public AnnotationCompletionParserTest... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class InnerTypeCompletionTest extends AbstractCompletionTest { public InnerTypeCompletionTest ( String testName ) { super ( testName ) ; } public static Test suite ( ) { return buildAllCompliancesTestSuite ( In... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class CompletionRecoveryTest extends AbstractCompletionTest { public CompletionRecoveryTest ( String testName ) { super ( testName ) ; } static { } public static Test suite ( ) { return buildAllCompliancesTestS... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Map ; import junit . framework . Test ; import org . eclipse . jdt . internal . compiler . impl . CompilerOptions ; public class GenericsCompletionParserTest extends AbstractCompletionTest { public GenericsCompletionParserTest ( S... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . ArrayList ; import java . util . List ; import org . eclipse . jdt . core . tests . junit . extension . TestCase ; import org . eclipse . jdt . core . tests . util . AbstractCompilerTest ; import org . eclipse . jdt . internal . c... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import java . util . Map ; import junit . framework . Test ; import org . eclipse . jdt . core . tests . util . AbstractCompilerTest ; import org . eclipse . jdt . core . tests . util . Util ; import org . eclipse . jdt .... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class MethodInvocationCompletionTest extends AbstractCompletionTest { public MethodInvocationCompletionTest ( String testName ) { super ( testName ) ; } public static Test suite ( ) { return buildAllCompliances... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class CompletionParserTest2 extends AbstractCompletionTest { public CompletionParserTest2 ( String testName ) { super ( testName ) ; } public static Test suite ( ) { return buildAllCompliancesTestSuite ( Comple... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Hashtable ; import java . util . Map ; import org . eclipse . jdt . core . tests . compiler . regression . AbstractRegressionTest ; import org . eclipse . jdt . internal . compiler . impl . CompilerOptions ; public class ParserTes... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; import org . eclipse . jdt . internal . codeassist . complete . InvalidCursorLocation ; public class DietCompletionTest extends AbstractCompletionTest { public DietCompletionTest ( String testName ) { super ( testName... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; public class SourceImport { int declarationSourceStart ; int declarationSourceEnd ; char [ ] name ; boolean onDemand ; int modifiers ; char [ ] source ; public SourceImport ( int declarationSourceStart , int declarationSourceEnd , char [ ] name , bool... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import org . eclipse . jdt . internal . compiler . classfmt . ClassFileConstants ; public final class SourceType { private int modifiers ; private int declarationStart ; private int declarationEnd ; private char [ ] fileName ; private SourcePackage pa... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import org . eclipse . jdt . internal . compiler . classfmt . ClassFileConstants ; public class SourceInitializer extends SourceField { public SourceInitializer ( int declarationStart , int modifiers ) { super ( declarationStart , modifiers , null , n... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; public class EnumSelectionTest extends AbstractSelectionTest { public EnumSelectionTest ( String testName ) { super ( testName ) ; } public void test0001 ( ) { String str = "<STR_LIT>" + "<STR_LIT>" + "<STR_LIT>" + "<STR_LIT>" + "<STR_LIT>" + "<STR_LI... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import org . eclipse . jdt . internal . codeassist . select . SelectionParser ; import org . eclipse . jdt . internal . codeassist . select . SelectionScanner ; import org . eclipse . jdt . internal . compiler . Compilati... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import org . eclipse . jdt . internal . compiler . classfmt . ClassFileConstants ; import org . eclipse . jdt . internal . compiler . env . ISourceMethod ; public class SourceMethod implements ISourceMethod { private int modifiers ; private int declar... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; public class GenericsSelectionTest extends AbstractSelectionTest { public GenericsSelectionTest ( String testName ) { super ( testName ) ; } public void test0001 ( ) { String str = "<STR_LIT>" + "<STR_LIT>" + "<STR_LIT>" ; String selection = "<STR_LIT... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class AllocationExpressionCompletionTest extends AbstractCompletionTest { public AllocationExpressionCompletionTest ( String testName ) { super ( testName ) ; } public static Test suite ( ) { return buildAllCom... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class FieldAccessCompletionTest extends AbstractCompletionTest { public FieldAccessCompletionTest ( String testName ) { super ( testName ) ; } public static Test suite ( ) { return buildAllCompliancesTestSuite ... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; public class AnnotationSelectionTest extends AbstractSelectionTest { public AnnotationSelectionTest ( String testName ) { super ( testName ) ; } public void test0001 ( ) { String str = "<STR_LIT>" + "<STR_LIT>" ; String selection = "<STR_LIT>" ; Strin... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class LabelStatementCompletionTest extends AbstractCompletionTest { public LabelStatementCompletionTest ( String testName ) { super ( testName ) ; } public static Test suite ( ) { return buildAllCompliancesTest... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import junit . framework . Test ; import org . eclipse . jdt . core . tests . util . AbstractCompilerTest ; import org . eclipse . jdt . core . tests . util . Util ; import org . eclipse . jdt . internal . codeassist . co... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class CompletionParserTestKeyword extends AbstractCompletionTest { public CompletionParserTestKeyword ( String testName ) { super ( testName ) ; } public static Test suite ( ) { return buildAllCompliancesTestSu... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class NameReferenceCompletionTest extends AbstractCompletionTest { public NameReferenceCompletionTest ( String testName ) { super ( testName ) ; } public static Test suite ( ) { return buildAllCompliancesTestSu... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; public class ExplicitConstructorInvocationSelectionTest extends AbstractSelectionTest { public ExplicitConstructorInvocationSelectionTest ( String testName ) { super ( testName ) ; } public void testNameSuper ( ) { this . runTestCheckMethodParse ( "<S... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class ReferenceTypeCompletionTest extends AbstractCompletionTest { public ReferenceTypeCompletionTest ( String testName ) { super ( testName ) ; } public static Test suite ( ) { return buildAllCompliancesTestSu... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import org . eclipse . jdt . internal . codeassist . complete . CompletionParser ; import org . eclipse . jdt . internal . codeassist . complete . CompletionScanner ; import org . eclipse . jdt . internal . compiler . Com... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import junit . framework . Test ; import org . eclipse . jdt . core . tests . util . AbstractCompilerTest ; import org . eclipse . jdt . core . tests . util . Util ; import org . eclipse . jdt . internal . compiler . Comp... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class SelectionTest extends AbstractSelectionTest { static { } public static Test suite ( ) { return buildAllCompliancesTestSuite ( SelectionTest . class ) ; } public SelectionTest ( String testName ) { super (... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import org . eclipse . jdt . core . compiler . CategorizedProblem ; import org . eclipse . jdt . internal . compiler . ISourceElementRequestor ; import org . eclipse . jdt . internal . compiler . ast . Expression ; import org . eclipse . jdt . interna... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class ExplicitConstructorInvocationCompletionTest extends AbstractCompletionTest { public ExplicitConstructorInvocationCompletionTest ( String testName ) { super ( testName ) ; } public static Test suite ( ) { ... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import org . eclipse . jdt . core . compiler . CategorizedProblem ; import org . eclipse . jdt . core . tests . util . AbstractCompilerTest ; import org . eclipse . jdt . core . tests . util . Util ; import org . eclipse ... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import java . util . Map ; import java . util . StringTokenizer ; import junit . framework . Test ; import org . eclipse . jdt . internal . codeassist . complete . CompletionJavadoc ; import org . eclipse . jdt . internal... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import junit . framework . Test ; import org . eclipse . jdt . core . compiler . CategorizedProblem ; import org . eclipse . jdt . core . compiler . CharOperation ; import org . eclipse . jdt . core . tests . util . Abstr... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . io . PrintWriter ; import java . io . StringWriter ; import java . util . Locale ; import org . eclipse . jdt . core . compiler . CategorizedProblem ; import org . eclipse . jdt . core . tests . util . AbstractCompilerTest ; import org .... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import java . util . Map ; import org . eclipse . jdt . core . tests . util . Util ; import org . eclipse . jdt . internal . codeassist . select . SelectionJavadoc ; import org . eclipse . jdt . internal . codeassist . se... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import org . eclipse . jdt . internal . compiler . classfmt . ClassFileConstants ; import org . eclipse . jdt . internal . compiler . env . ISourceField ; public class SourceField implements ISourceField { protected int modifiers ; protected char [ ] ... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import java . util . Map ; import org . eclipse . jdt . core . tests . util . AbstractCompilerTest ; import org . eclipse . jdt . core . tests . util . Util ; import org . eclipse . jdt . internal . codeassist . complete ... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; public class ClassLiteralAccessCompletionTest extends AbstractCompletionTest { public ClassLiteralAccessCompletionTest ( String testName ) { super ( testName ) ; } public static Test suite ( ) { return buildAllComplia... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import org . eclipse . jdt . core . compiler . CharOperation ; import org . eclipse . jdt . internal . codeassist . select . SelectionParser ; import org . eclipse . jdt . internal . codeassist . select . SelectionScanner... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Map ; import junit . framework . Test ; import org . eclipse . jdt . internal . compiler . impl . CompilerOptions ; public class EnumCompletionParserTest extends AbstractCompletionTest { public EnumCompletionParserTest ( String te... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import java . util . Locale ; import java . util . Map ; import junit . framework . Test ; import org . eclipse . jdt . core . tests . util . AbstractCompilerTest ; import org . eclipse . jdt . core . tests . util . Util ; import org . eclipse . jdt .... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; import org . eclipse . jdt . core . tests . compiler . regression . AbstractRegressionTest ; import org . eclipse . jdt . internal . compiler . classfmt . ClassFileConstants ; public class ComplianceDiagnoseTest exten... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; public class SourcePackage { int declarationSourceStart ; int declarationSourceEnd ; char [ ] name ; char [ ] source ; public SourcePackage ( int declarationSourceStart , int declarationSourceEnd , char [ ] name , char [ ] source ) { this . declaratio... |
<s> package org . eclipse . jdt . core . tests . compiler . parser ; import junit . framework . Test ; import org . eclipse . jdt . internal . codeassist . complete . * ; public class CompletionParserTest extends AbstractCompletionTest { public CompletionParserTest ( String testName ) { super ( testName ) ; } static { ... |
<s> package org . eclipse . jdt . core . tests . util ; import java . io . File ; import java . lang . reflect . Constructor ; import java . lang . reflect . InvocationTargetException ; import java . util . ArrayList ; import java . util . HashMap ; import java . util . List ; import java . util . Map ; import junit . ... |
<s> package org . eclipse . jdt . core . tests . util ; import java . lang . reflect . * ; import java . io . * ; import java . net . * ; import java . util . * ; public class VerifyTests { int portNumber ; Socket socket ; public class VerifyClassLoader extends ClassLoader { private String [ ] fPathItems ; private Stri... |
<s> package org . eclipse . jdt . core . tests . util ; import org . eclipse . jdt . core . compiler . batch . BatchCompiler ; import org . eclipse . jdt . core . tests . runtime . * ; import java . io . * ; import java . net . * ; public class TestVerifier { public String failureReason ; boolean reuseVM = true ; Strin... |
<s> package org . eclipse . jdt . core . tests . util ; import java . io . * ; import java . net . ServerSocket ; import java . util . * ; import java . util . zip . * ; import org . eclipse . core . resources . IContainer ; import org . eclipse . core . resources . IResource ; import org . eclipse . core . runtime . C... |
<s> package org . eclipse . jdt . core . tests . util ; import java . net . URL ; import org . eclipse . core . runtime . Platform ; public class GroovyUtils { static public final int GROOVY_LEVEL ; static { int groovyLevel = <NUM_LIT:20> ; URL groovyJar = Platform . getBundle ( "<STR_LIT>" ) . getEntry ( "<STR_LIT>" )... |
<s> package org . eclipse . jdt . core . tests . util ; import java . util . Enumeration ; import org . eclipse . jdt . internal . compiler . impl . CompilerOptions ; import junit . framework . TestResult ; import junit . framework . TestSuite ; public class CompilerTestSetup extends TestSuite { long complianceLevel ; ... |
<s> package org . eclipse . jdt . core . tests . junit . extension ; import junit . framework . Test ; import junit . framework . TestFailure ; public interface TestListener extends junit . framework . TestListener { public void addError ( Test test , TestFailure testFailure ) ; public void addFailure ( Test test , Tes... |
<s> package org . eclipse . jdt . core . tests . junit . extension ; import java . util . * ; import junit . framework . * ; public class TestResult extends junit . framework . TestResult { TestCase currentTest ; public TestResult ( ) { super ( ) ; } public synchronized void addError ( Test test , Throwable t ) { TestF... |
<s> package org . eclipse . jdt . core . tests . junit . extension ; public interface StopableTestCase { public void stop ( ) ; } </s> |
<s> package org . eclipse . jdt . core . tests . junit . extension ; import java . io . File ; import java . io . FileNotFoundException ; import java . io . FileOutputStream ; import java . io . PrintStream ; import java . lang . reflect . Constructor ; import java . lang . reflect . Method ; import java . text . DateF... |
<s> package org . eclipse . jdt . core . tests . junit . extension ; import java . lang . reflect . Method ; import java . lang . reflect . Modifier ; import java . util . Vector ; import junit . framework . Test ; import junit . framework . TestCase ; import junit . framework . TestSuite ; public class PerformanceTest... |
<s> package org . eclipse . jdt . core . tests . runtime ; import java . io . File ; import java . util . Vector ; public class SideCarJ9VMLauncher extends StandardVMLauncher { public String [ ] getCommandLine ( ) { Vector commandLine = new Vector ( ) ; commandLine . addElement ( this . vmPath + ( this . vmPath . endsW... |
<s> package org . eclipse . jdt . core . tests . runtime ; import java . io . * ; import java . util . * ; import org . eclipse . jdt . core . tests . util . Util ; public abstract class LocalVMLauncher implements RuntimeConstants { public static final boolean TARGET_HAS_FILE_SYSTEM = true ; public static final String ... |
<s> package org . eclipse . jdt . core . tests . runtime ; import java . io . * ; import java . util . Vector ; import java . util . Enumeration ; public class StandardVMLauncher extends LocalVMLauncher implements RuntimeConstants { String batchFileName ; public StandardVMLauncher ( ) { super ( ) ; } protected String b... |
<s> package org . eclipse . jdt . core . tests . runtime ; import java . io . * ; public class VMInputStream extends InputStream { InputStream input ; Process process ; public VMInputStream ( Process process , InputStream input ) { this . process = process ; this . input = input ; } public int available ( ) throws IOEx... |
<s> package org . eclipse . jdt . core . tests . runtime ; abstract public class AbstractReader { protected String name ; protected Thread readerThread ; protected boolean isStopping = false ; public AbstractReader ( String name ) { this . name = name ; } abstract protected void readerLoop ( ) ; public void start ( ) {... |
<s> package org . eclipse . jdt . core . tests . runtime ; class J9VirtualMachine extends LocalVirtualMachine { private Process proxyProcess ; private AbstractReader proxyConsoleReader ; private String proxyOutputFile ; public J9VirtualMachine ( Process vmProcess , int debugPort , String evalTargetPath , Process proxyP... |
<s> package org . eclipse . jdt . core . tests . runtime ; public class TargetException extends Exception { private static final long serialVersionUID = <NUM_LIT:1L> ; public TargetException ( ) { super ( ) ; } public TargetException ( String s ) { super ( s ) ; } } </s> |
<s> package org . eclipse . jdt . core . tests . runtime ; import java . io . InputStream ; public class NullConsoleReader extends AbstractReader { private InputStream input ; public NullConsoleReader ( String name , InputStream input ) { super ( name ) ; this . input = input ; } protected void readerLoop ( ) { java . ... |
<s> package org . eclipse . jdt . core . tests . runtime ; import java . io . File ; import java . util . Vector ; public class DRLVMLauncher extends StandardVMLauncher { public String [ ] getCommandLine ( ) { Vector commandLine = new Vector ( ) ; String vmLocation = this . vmPath + ( this . vmPath . endsWith ( File . ... |
<s> package org . eclipse . jdt . core . tests . runtime ; import java . io . * ; class ProxyConsoleReader extends AbstractReader { private InputStream input ; private OutputStream output ; public ProxyConsoleReader ( String name , InputStream input , String fileName ) { super ( name ) ; this . input = input ; if ( fil... |
<s> package org . eclipse . jdt . core . tests . runtime ; public interface RuntimeConstants { public static final String SUPPORT_ZIP_FILE_NAME = "<STR_LIT>" ; public static final String CODE_SNIPPET_RUNNER_CLASS_NAME = "<STR_LIT>" ; public static final String RUN_CODE_SNIPPET_METHOD = "<STR_LIT>" ; public static final... |
<s> package org . eclipse . jdt . core . tests . runtime ; import java . io . File ; import java . util . Vector ; public class SideCarVMLauncher extends StandardVMLauncher { public String [ ] getCommandLine ( ) { Vector commandLine = new Vector ( ) ; commandLine . addElement ( this . vmPath + ( this . vmPath . endsWit... |
<s> package org . eclipse . jdt . core . tests . runtime ; import java . io . File ; import java . util . Vector ; public class MacVMLauncher extends StandardVMLauncher { public String [ ] getCommandLine ( ) { Vector commandLine = new Vector ( ) ; commandLine . addElement ( this . vmPath + ( this . vmPath . endsWith ( ... |
<s> package org . eclipse . jdt . core . tests . runtime ; import org . eclipse . jdt . internal . compiler . ClassFile ; import org . eclipse . jdt . internal . compiler . util . Util ; import java . io . * ; import java . net . * ; public class TargetInterface { static final boolean DEBUG = false ; String codeSnippet... |
<s> package org . eclipse . jdt . core . tests . runtime ; import java . io . * ; import java . util . Vector ; import java . util . Enumeration ; public class JRockitVMLauncher extends LocalVMLauncher implements RuntimeConstants { String batchFileName ; public JRockitVMLauncher ( ) { super ( ) ; } protected String bui... |
<s> package org . eclipse . jdt . core . tests . runtime ; import java . io . * ; import java . util . Vector ; import org . eclipse . jdt . core . tests . util . Util ; public class J9VMLauncher extends LocalVMLauncher implements RuntimeConstants { int internalDebugPort = - <NUM_LIT:1> ; String proxyOutFile ; String s... |
<s> package org . eclipse . jdt . core . tests . runtime ; import java . io . * ; import org . eclipse . jdt . core . tests . util . Util ; public class LocalVirtualMachine { protected Process process ; protected int debugPort ; protected String evalTargetPath ; public LocalVirtualMachine ( ) { this . process = null ; ... |
<s> package org . eclipse . jdt . groovy . core . tests . basic ; import java . io . File ; import java . io . IOException ; import java . net . URL ; import java . util . HashMap ; import java . util . Iterator ; import java . util . List ; import java . util . Map ; import junit . framework . Test ; import org . code... |
<s> package org . eclipse . jdt . groovy . core . tests . basic ; import java . io . IOException ; import java . net . URL ; import junit . framework . Test ; import org . codehaus . groovy . ast . ClassNode ; import org . codehaus . groovy . ast . ModuleNode ; import org . codehaus . jdt . groovy . internal . compiler... |
<s> public class JavaMain { public static void main ( String ... args ) { new GroovyHello ( ) . sayHello ( ) ; new JavaHello ( ) . sayHello ( ) ; } } </s> |
<s> public class JavaHello implements Helloable { public void sayHello ( ) { System . out . println ( "<STR_LIT>" ) ; } } </s> |
<s> import org . junit . Test ; import org . junit . Assert ; public class JavaTest { @ Test public void testMethod ( ) { JavaMain . main ( new String [ ] { } ) ; Assert . assertTrue ( true ) ; } } </s> |
<s> public class JavaHello implements Helloable { public void sayHello ( ) { System . out . println ( "<STR_LIT>" ) ; } } </s> |
<s> public class JavaMain { public static void main ( String ... args ) { new GroovyHello ( ) . sayHello ( ) ; new JavaHello ( ) . sayHello ( ) ; } } </s> |
<s> import org . junit . Test ; import org . junit . Assert ; public class JavaTest { @ Test public void testMethod ( ) { JavaMain . main ( new String [ ] { } ) ; Assert . assertTrue ( true ) ; } } </s> |
<s> package com . test ; import lombok . Data ; public @ Data class LombokDataClass { private final int a ; private final int b ; } </s> |
<s> import org . junit . Test ; import org . junit . Assert ; public class JavaTest { @ Test public void testMethod ( ) { JavaMain . main ( new String [ ] { } ) ; Assert . assertTrue ( true ) ; } @ Test public void testMethod2 ( ) { } } </s> |
<s> public class JavaMain { public static void main ( String ... args ) { new GroovyHello ( ) . sayHello ( ) ; new JavaHello ( ) . sayHello ( ) ; } } </s> |
<s> public class JavaHello implements Helloable { public void sayHello ( ) { System . out . println ( "<STR_LIT>" ) ; } } </s> |
<s> import org . junit . Test ; import org . junit . Assert ; public class JavaTest { @ Test public void testMethod ( ) { JavaMain . main ( new String [ ] { } ) ; Assert . assertTrue ( true ) ; } } </s> |
<s> public class JavaHello implements Helloable { public void sayHello ( ) { System . out . println ( "<STR_LIT>" ) ; } } </s> |
<s> public class JavaMain { public static void main ( String ... args ) { new GroovyHello ( ) . sayHello ( ) ; new JavaHello ( ) . sayHello ( ) ; } } </s> |
<s> import org . junit . Test ; import org . junit . Assert ; public class JavaTest { @ Test public void testMethod ( ) { JavaMain . main ( null ) ; Assert . assertTrue ( true ) ; } } </s> |
<s> interface Helloable { void sayHello ( ) ; } </s> |
<s> class JavaHello implements Helloable { public void sayHello ( ) { System . out . println ( "<STR_LIT>" ) ; } } </s> |
<s> public class JavaMain { public static void main ( String [ ] args ) { new JavaHello ( ) . sayHello ( ) ; } } </s> |
<s> import org . junit . Test ; import org . junit . Assert ; public class JavaTest { @ Test public void testMethod ( ) { JavaMain . main ( new String [ ] { } ) ; Assert . assertTrue ( true ) ; } } </s> |
<s> public class JavaHello implements Helloable { public void sayHello ( ) { System . out . println ( "<STR_LIT>" ) ; } } </s> |
<s> public class JavaMain { public static void main ( String ... args ) { new GroovyHello ( ) . sayHello ( ) ; new JavaHello ( ) . sayHello ( ) ; } } </s> |
<s> package org . codehaus . groovy . m2eclipse ; import org . eclipse . core . runtime . Plugin ; import org . osgi . framework . BundleContext ; public class Activator extends Plugin { public static final String PLUGIN_ID = "<STR_LIT>" ; private static Activator plugin ; public Activator ( ) { } public void start ( B... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.