id
int32
0
12.9k
code
sequencelengths
2
264k
7,600
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "ik", ";", "import", "cuke4duke", ".", "PyString", ";", "import", "cuke4duke", ".", "Table", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "AbstractStepDefinition", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "StepArgument", ";", "import", "ioke", ".", "lang", ".", "IokeObject", ";", "import", "ioke", ".", "lang", ".", "Message", ";", "import", "ioke", ".", "lang", ".", "Runtime", ";", "import", "ioke", ".", "lang", ".", "exceptions", ".", "ControlFlow", ";", "import", "java", ".", "util", ".", "ArrayList", ";", "import", "java", ".", "util", ".", "List", ";", "public", "class", "IkStepDefinition", "extends", "AbstractStepDefinition", "{", "private", "final", "Runtime", "ioke", ";", "private", "final", "IokeObject", "iokeStepDefObject", ";", "private", "String", "regexpSource", ";", "private", "final", "IkLanguage", "lang", ";", "public", "IkStepDefinition", "(", "IkLanguage", "ikLanguage", ",", "Runtime", "ioke", ",", "IokeObject", "iokeStepDefObject", ")", "throws", "Throwable", "{", "super", "(", "ikLanguage", ")", ";", "this", ".", "ioke", "=", "ioke", ";", "this", ".", "iokeStepDefObject", "=", "iokeStepDefObject", ";", "this", ".", "lang", "=", "ikLanguage", ";", "register", "(", ")", ";", "}", "public", "Object", "invokeWithArgs", "(", "Object", "[", "]", "args", ")", "throws", "Throwable", "{", "IokeObject", "msg", "=", "ioke", ".", "newMessage", "(", "\"invoke\"", ")", ";", "Message", "invoke", "=", "(", "Message", ")", "IokeObject", ".", "data", "(", "msg", ")", ";", "List", "<", "Runtime", ".", "RescueInfo", ">", "pendingRescues", "=", "new", "ArrayList", "<", "Runtime", ".", "RescueInfo", ">", "(", ")", ";", "IokeObject", "rr", "=", "IokeObject", ".", "as", "(", "(", "(", "Message", ")", "IokeObject", ".", "data", "(", "ioke", ".", "mimic", ")", ")", ".", "sendTo", "(", "ioke", ".", "mimic", ",", "ioke", ".", "ground", ",", "ioke", ".", "rescue", ")", ",", "ioke", ".", "ground", ")", ";", "List", "<", "Object", ">", "conds", "=", "new", "ArrayList", "<", "Object", ">", "(", ")", ";", "conds", ".", "add", "(", "lang", ".", "pendingCondition", ")", ";", "pendingRescues", ".", "add", "(", "new", "Runtime", ".", "RescueInfo", "(", "rr", ",", "conds", ",", "pendingRescues", ",", "ioke", ".", "getBindIndex", "(", ")", ")", ")", ";", "ioke", ".", "registerRescues", "(", "pendingRescues", ")", ";", "List", "<", "Runtime", ".", "RescueInfo", ">", "failureRescues", "=", "new", "ArrayList", "<", "Runtime", ".", "RescueInfo", ">", "(", ")", ";", "IokeObject", "rr2", "=", "IokeObject", ".", "as", "(", "(", "(", "Message", ")", "IokeObject", ".", "data", "(", "ioke", ".", "mimic", ")", ")", ".", "sendTo", "(", "ioke", ".", "mimic", ",", "ioke", ".", "ground", ",", "ioke", ".", "rescue", ")", ",", "ioke", ".", "ground", ")", ";", "List", "<", "Object", ">", "failureConds", "=", "new", "ArrayList", "<", "Object", ">", "(", ")", ";", "failureConds", ".", "add", "(", "lang", ".", "failedExpectationCondition", ")", ";", "failureRescues", ".", "add", "(", "new", "Runtime", ".", "RescueInfo", "(", "rr2", ",", "failureConds", ",", "failureRescues", ",", "ioke", ".", "getBindIndex", "(", ")", ")", ")", ";", "ioke", ".", "registerRescues", "(", "failureRescues", ")", ";", "try", "{", "return", "invoke", ".", "sendTo", "(", "msg", ",", "iokeStepDefObject", ",", "iokeStepDefObject", ",", "multilineArg", "(", "args", ")", ")", ";", "}", "catch", "(", "ControlFlow", ".", "Rescue", "e", ")", "{", "if", "(", "e", ".", "getRescue", "(", ")", ".", "token", "==", "pendingRescues", ")", "{", "throw", "lang", ".", "cucumberPending", "(", "\"TODO\"", ")", ";", "}", "else", "if", "(", "e", ".", "getRescue", "(", ")", ".", "token", "==", "failureRescues", ")", "{", "throw", "lang", ".", "error", "(", "\"\"", ",", "(", "(", "Message", ")", "IokeObject", ".", "data", "(", "ioke", ".", "reportMessage", ")", ")", ".", "sendTo", "(", "ioke", ".", "reportMessage", ",", "ioke", ".", "ground", ",", "e", ".", "getCondition", "(", ")", ")", ".", "toString", "(", ")", ")", ";", "}", "else", "{", "throw", "e", ";", "}", "}", "finally", "{", "ioke", ".", "unregisterRescues", "(", "failureRescues", ")", ";", "ioke", ".", "unregisterRescues", "(", "pendingRescues", ")", ";", "}", "}", "public", "String", "regexp_source", "(", ")", "throws", "Throwable", "{", "if", "(", "regexpSource", "==", "null", ")", "findRegexpSource", "(", ")", ";", "return", "regexpSource", ";", "}", "public", "String", "file_colon_line", "(", ")", "throws", "Throwable", "{", "return", "regexp_source", "(", ")", ";", "}", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "List", "<", "StepArgument", ">", "arguments_from", "(", "String", "stepName", ")", "throws", "Throwable", "{", "IokeObject", "msg", "=", "ioke", ".", "newMessage", "(", "\"\"", ")", ";", "Message", "arguments_from", "=", "(", "Message", ")", "IokeObject", ".", "data", "(", "msg", ")", ";", "Object", "args", "=", "arguments_from", ".", "sendTo", "(", "msg", ",", "iokeStepDefObject", ",", "iokeStepDefObject", ",", "stepName", ")", ";", "if", "(", "args", "instanceof", "List", "<", "?", ">", ")", "{", "return", "(", "List", "<", "StepArgument", ">", ")", "args", ";", "}", "else", "{", "return", "null", ";", "}", "}", "private", "void", "findRegexpSource", "(", ")", "throws", "ControlFlow", "{", "IokeObject", "msg", "=", "ioke", ".", "newMessage", "(", "\"\"", ")", ";", "Message", "regexp_source", "=", "(", "Message", ")", "IokeObject", ".", "data", "(", "msg", ")", ";", "regexpSource", "=", "regexp_source", ".", "sendTo", "(", "msg", ",", "iokeStepDefObject", ",", "iokeStepDefObject", ")", ".", "toString", "(", ")", ";", "}", "private", "Object", "multilineArg", "(", "Object", "[", "]", "args", ")", "{", "Object", "multilineArg", ";", "if", "(", "args", ".", "length", ">", "0", ")", "{", "if", "(", "args", "[", "args", ".", "length", "-", "1", "]", "instanceof", "PyString", ")", "{", "multilineArg", "=", "ioke", ".", "newText", "(", "(", "(", "PyString", ")", "args", "[", "args", ".", "length", "-", "1", "]", ")", ".", "to_s", "(", ")", ")", ";", "}", "else", "if", "(", "args", "[", "args", ".", "length", "-", "1", "]", "instanceof", "Table", ")", "{", "multilineArg", "=", "args", "[", "args", ".", "length", "-", "1", "]", ";", "}", "else", "{", "multilineArg", "=", "ioke", ".", "nil", ";", "}", "}", "else", "{", "multilineArg", "=", "ioke", ".", "nil", ";", "}", "return", "multilineArg", ";", "}", "}", "</s>" ]
7,601
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "ik", ";", "import", "cuke4duke", ".", "Scenario", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "AbstractProgrammingLanguage", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "LanguageMixin", ";", "import", "cuke4duke", ".", "spi", ".", "ExceptionFactory", ";", "import", "ioke", ".", "lang", ".", "IokeObject", ";", "import", "ioke", ".", "lang", ".", "Runtime", ";", "import", "ioke", ".", "lang", ".", "exceptions", ".", "ControlFlow", ";", "import", "java", ".", "util", ".", "Locale", ";", "public", "class", "IkLanguage", "extends", "AbstractProgrammingLanguage", "{", "private", "final", "Runtime", "ioke", ";", "final", "IokeObject", "pendingCondition", ";", "final", "IokeObject", "failedExpectationCondition", ";", "public", "IkLanguage", "(", "LanguageMixin", "languageMixin", ",", "ExceptionFactory", "exceptionFactory", ")", "throws", "Exception", ",", "ControlFlow", "{", "super", "(", "languageMixin", ",", "exceptionFactory", ")", ";", "ioke", "=", "new", "Runtime", "(", ")", ";", "ioke", ".", "init", "(", ")", ";", "ioke", ".", "ground", ".", "setCell", "(", "\"\"", ",", "this", ")", ";", "ioke", ".", "evaluateString", "(", "\"\"", ")", ";", "clearHooksAndStepDefinitions", "(", ")", ";", "pendingCondition", "=", "IokeObject", ".", "as", "(", "IokeObject", ".", "getCellChain", "(", "ioke", ".", "condition", ",", "ioke", ".", "message", ",", "ioke", ".", "ground", ",", "\"Pending\"", ")", ",", "ioke", ".", "ground", ")", ";", "failedExpectationCondition", "=", "IokeObject", ".", "as", "(", "IokeObject", ".", "getCellChain", "(", "ioke", ".", "condition", ",", "ioke", ".", "message", ",", "ioke", ".", "ground", ",", "\"ISpec\"", ",", "\"\"", ")", ",", "ioke", ".", "ground", ")", ";", "}", "public", "void", "addIokeStepDefinition", "(", "Object", "iokeStepDefObject", ")", "throws", "Throwable", "{", "addStepDefinition", "(", "new", "IkStepDefinition", "(", "this", ",", "ioke", ",", "(", "IokeObject", ")", "iokeStepDefObject", ")", ")", ";", "}", "public", "void", "load_code_file", "(", "String", "ikFile", ")", "throws", "Throwable", "{", "this", ".", "ioke", ".", "evaluateString", "(", "\"use(\\\"\"", "+", "ikFile", "+", "\"\\\")\"", ")", ";", "}", "protected", "void", "begin_scenario", "(", "Scenario", "scenario", ")", "throws", "Throwable", "{", "}", "public", "void", "end_scenario", "(", ")", "throws", "Throwable", "{", "}", "@", "Override", "protected", "Object", "customTransform", "(", "Object", "arg", ",", "Class", "<", "?", ">", "parameterType", ",", "Locale", "locale", ")", "{", "return", "null", ";", "}", "}", "</s>" ]
7,602
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "jvmclass", ";", "public", "class", "CantTransform", "extends", "RuntimeException", "{", "public", "CantTransform", "(", "Object", "arg", ",", "Class", "<", "?", ">", "parameterType", ")", "{", "super", "(", "\"\"", "+", "arg", "+", "\"", "(\"", "+", "arg", ".", "getClass", "(", ")", "+", "\")", "to", "\"", "+", "parameterType", "+", "\"\"", ")", ";", "}", "}", "</s>" ]
7,603
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "jvmclass", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "LanguageMixin", ";", "public", "interface", "ClassLanguageMixin", "extends", "LanguageMixin", "{", "void", "activate", "(", "ClassAnalyzer", "analyzer", ")", ";", "}", "</s>" ]
7,604
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "jvmclass", ";", "import", "cuke4duke", ".", "StepMother", ";", "import", "org", ".", "picocontainer", ".", "MutablePicoContainer", ";", "import", "org", ".", "picocontainer", ".", "PicoBuilder", ";", "import", "java", ".", "util", ".", "ArrayList", ";", "import", "java", ".", "util", ".", "List", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Modifier", ";", "public", "class", "PicoFactory", "implements", "ObjectFactory", "{", "private", "MutablePicoContainer", "pico", ";", "private", "final", "List", "<", "Class", "<", "?", ">", ">", "classes", "=", "new", "ArrayList", "<", "Class", "<", "?", ">", ">", "(", ")", ";", "private", "final", "List", "<", "Object", ">", "instances", "=", "new", "ArrayList", "<", "Object", ">", "(", ")", ";", "public", "void", "createObjects", "(", ")", "{", "pico", "=", "new", "PicoBuilder", "(", ")", ".", "withCaching", "(", ")", ".", "build", "(", ")", ";", "for", "(", "Class", "<", "?", ">", "clazz", ":", "classes", ")", "{", "pico", ".", "addComponent", "(", "clazz", ")", ";", "}", "for", "(", "Object", "instance", ":", "instances", ")", "{", "pico", ".", "addComponent", "(", "instance", ")", ";", "}", "pico", ".", "start", "(", ")", ";", "}", "public", "void", "disposeObjects", "(", ")", "{", "pico", ".", "stop", "(", ")", ";", "pico", ".", "dispose", "(", ")", ";", "}", "public", "boolean", "canHandle", "(", "Class", "<", "?", ">", "clazz", ")", "{", "return", "true", ";", "}", "public", "void", "addClass", "(", "Class", "<", "?", ">", "clazz", ")", "{", "classes", ".", "add", "(", "clazz", ")", ";", "}", "public", "void", "addStepMother", "(", "StepMother", "instance", ")", "{", "instances", ".", "add", "(", "instance", ")", ";", "}", "public", "<", "T", ">", "T", "getComponent", "(", "Class", "<", "T", ">", "type", ")", "{", "return", "pico", ".", "getComponent", "(", "type", ")", ";", "}", "public", "List", "<", "Class", "<", "?", ">", ">", "getClasses", "(", ")", "{", "return", "classes", ";", "}", "}", "</s>" ]
7,605
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "jvmclass", ";", "import", "com", ".", "google", ".", "inject", ".", "*", ";", "import", "cuke4duke", ".", "StepMother", ";", "import", "java", ".", "util", ".", "ArrayList", ";", "import", "java", ".", "util", ".", "HashMap", ";", "import", "java", ".", "util", ".", "List", ";", "import", "java", ".", "util", ".", "Map", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Modifier", ";", "public", "class", "GuiceFactory", "implements", "ObjectFactory", "{", "private", "static", "final", "String", "CONFIG_GUICE_MODULE", "=", "\"\"", ";", "private", "final", "List", "<", "Module", ">", "modules", "=", "new", "ArrayList", "<", "Module", ">", "(", ")", ";", "private", "final", "List", "<", "Class", "<", "?", ">", ">", "classes", "=", "new", "ArrayList", "<", "Class", "<", "?", ">", ">", "(", ")", ";", "private", "final", "Map", "<", "Class", "<", "?", ">", ",", "Object", ">", "instances", "=", "new", "HashMap", "<", "Class", "<", "?", ">", ",", "Object", ">", "(", ")", ";", "public", "GuiceFactory", "(", ")", "throws", "Throwable", "{", "this", "(", "System", ".", "getProperty", "(", "CONFIG_GUICE_MODULE", ",", "null", ")", ")", ";", "}", "public", "GuiceFactory", "(", "String", "moduleClassName", ")", "throws", "Throwable", "{", "modules", ".", "add", "(", "(", "Module", ")", "Class", ".", "forName", "(", "moduleClassName", ")", ".", "newInstance", "(", ")", ")", ";", "}", "public", "boolean", "canHandle", "(", "Class", "<", "?", ">", "clazz", ")", "{", "return", "Modifier", ".", "isStatic", "(", "clazz", ".", "getModifiers", "(", ")", ")", "||", "clazz", ".", "getEnclosingClass", "(", ")", "==", "null", ";", "}", "public", "void", "addClass", "(", "Class", "<", "?", ">", "clazz", ")", "{", "classes", ".", "add", "(", "clazz", ")", ";", "}", "public", "void", "addStepMother", "(", "StepMother", "stepMother", ")", "{", "modules", ".", "add", "(", "new", "StepMotherModule", "(", "stepMother", ")", ")", ";", "}", "public", "void", "createObjects", "(", ")", "{", "Injector", "injector", "=", "Guice", ".", "createInjector", "(", "modules", ")", ";", "for", "(", "Class", "<", "?", ">", "clazz", ":", "classes", ")", "{", "try", "{", "instances", ".", "put", "(", "clazz", ",", "injector", ".", "getInstance", "(", "clazz", ")", ")", ";", "}", "catch", "(", "ConfigurationException", "e", ")", "{", "System", ".", "err", ".", "println", "(", "\"\"", "+", "clazz", ".", "getCanonicalName", "(", ")", "+", "\":n\"", "+", "e", ".", "getLocalizedMessage", "(", ")", ")", ";", "}", "}", "}", "public", "void", "disposeObjects", "(", ")", "{", "instances", ".", "clear", "(", ")", ";", "}", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "<", "T", ">", "T", "getComponent", "(", "Class", "<", "T", ">", "clazz", ")", "{", "return", "(", "T", ")", "instances", ".", "get", "(", "clazz", ")", ";", "}", "public", "List", "<", "Class", "<", "?", ">", ">", "getClasses", "(", ")", "{", "return", "classes", ";", "}", "class", "StepMotherModule", "extends", "AbstractModule", "{", "private", "Provider", "<", "?", "extends", "StepMother", ">", "stepMotherProvider", ";", "public", "StepMotherModule", "(", "StepMother", "stepMother", ")", "{", "stepMotherProvider", "=", "new", "StepMotherProvider", "(", "stepMother", ")", ";", "}", "@", "Override", "protected", "void", "configure", "(", ")", "{", "bind", "(", "StepMother", ".", "class", ")", ".", "toProvider", "(", "stepMotherProvider", ")", ";", "}", "}", "class", "StepMotherProvider", "implements", "Provider", "<", "StepMother", ">", "{", "private", "StepMother", "stepMother", ";", "public", "StepMotherProvider", "(", "StepMother", "stepMother", ")", "{", "this", ".", "stepMother", "=", "stepMother", ";", "}", "public", "StepMother", "get", "(", ")", "{", "return", "stepMother", ";", "}", "}", "}", "</s>" ]
7,606
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "jvmclass", ";", "import", "cuke4duke", ".", "Scenario", ";", "import", "cuke4duke", ".", "StepMother", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "AbstractProgrammingLanguage", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "Transformable", ";", "import", "cuke4duke", ".", "spi", ".", "ExceptionFactory", ";", "import", "cuke4duke", ".", "spi", ".", "jruby", ".", "JRuby", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Constructor", ";", "import", "java", ".", "lang", ".", "reflect", ".", "InvocationTargetException", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Method", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Modifier", ";", "import", "java", ".", "util", ".", "HashMap", ";", "import", "java", ".", "util", ".", "List", ";", "import", "java", ".", "util", ".", "Locale", ";", "import", "java", ".", "util", ".", "Map", ";", "public", "class", "ClassLanguage", "extends", "AbstractProgrammingLanguage", "{", "private", "final", "ObjectFactory", "objectFactory", ";", "private", "final", "List", "<", "ClassAnalyzer", ">", "analyzers", ";", "private", "final", "Map", "<", "Class", "<", "?", ">", ",", "Transformable", ">", "transformers", "=", "new", "HashMap", "<", "Class", "<", "?", ">", ",", "Transformable", ">", "(", ")", ";", "public", "ClassLanguage", "(", "ClassLanguageMixin", "languageMixin", ",", "ExceptionFactory", "exceptionFactory", ",", "StepMother", "stepMother", ",", "List", "<", "ClassAnalyzer", ">", "analyzers", ")", "throws", "Throwable", "{", "this", "(", "languageMixin", ",", "exceptionFactory", ",", "stepMother", ",", "analyzers", ",", "createObjectFactory", "(", ")", ")", ";", "}", "public", "ClassLanguage", "(", "ClassLanguageMixin", "languageMixin", ",", "ExceptionFactory", "exceptionFactory", ",", "StepMother", "stepMother", ",", "List", "<", "ClassAnalyzer", ">", "analyzers", ",", "ObjectFactory", "objectFactory", ")", "throws", "Throwable", "{", "super", "(", "languageMixin", ",", "exceptionFactory", ")", ";", "this", ".", "analyzers", "=", "analyzers", ";", "this", ".", "objectFactory", "=", "objectFactory", ";", "objectFactory", ".", "addStepMother", "(", "stepMother", ")", ";", "for", "(", "ClassAnalyzer", "analyzer", ":", "analyzers", ")", "{", "for", "(", "Class", "<", "?", ">", "clazz", ":", "analyzer", ".", "alwaysLoad", "(", ")", ")", "{", "if", "(", "objectFactory", ".", "canHandle", "(", "clazz", ")", ")", "{", "objectFactory", ".", "addClass", "(", "clazz", ")", ";", "}", "}", "}", "}", "public", "void", "addTransform", "(", "Class", "<", "?", ">", "returnType", ",", "Transformable", "javaTransform", ")", "{", "transformers", ".", "put", "(", "returnType", ",", "javaTransform", ")", ";", "}", "@", "Override", "protected", "Object", "customTransform", "(", "Object", "arg", ",", "Class", "<", "?", ">", "parameterType", ",", "Locale", "locale", ")", "throws", "Throwable", "{", "Transformable", "transformer", "=", "transformers", ".", "get", "(", "parameterType", ")", ";", "return", "transformer", "==", "null", "?", "null", ":", "transformer", ".", "transform", "(", "arg", ",", "locale", ")", ";", "}", "@", "Override", "public", "void", "load_code_file", "(", "String", "classFile", ")", "throws", "Throwable", "{", "Class", "<", "?", ">", "clazz", "=", "loadClass", "(", "classFile", ")", ";", "addClass", "(", "clazz", ")", ";", "}", "public", "void", "addClass", "(", "Class", "<", "?", ">", "clazz", ")", "{", "if", "(", "!", "Modifier", ".", "isAbstract", "(", "clazz", ".", "getModifiers", "(", ")", ")", "&&", "objectFactory", ".", "canHandle", "(", "clazz", ")", ")", "{", "objectFactory", ".", "addClass", "(", "clazz", ")", ";", "}", "}", "@", "Override", "public", "void", "begin_scenario", "(", "Scenario", "scenario", ")", "throws", "Throwable", "{", "clearHooksAndStepDefinitions", "(", ")", ";", "objectFactory", ".", "createObjects", "(", ")", ";", "for", "(", "ClassAnalyzer", "analyzer", ":", "analyzers", ")", "{", "analyzer", ".", "populateStepDefinitionsAndHooks", "(", "objectFactory", ",", "this", ")", ";", "}", "}", "@", "Override", "public", "void", "end_scenario", "(", ")", "throws", "Throwable", "{", "objectFactory", ".", "disposeObjects", "(", ")", ";", "}", "private", "Class", "<", "?", ">", "loadClass", "(", "String", "classFile", ")", "throws", "ClassNotFoundException", "{", "String", "withoutExt", "=", "classFile", ".", "substring", "(", "0", ",", "classFile", ".", "length", "(", ")", "-", "\".class\"", ".", "length", "(", ")", ")", ";", "String", "[", "]", "pathElements", "=", "withoutExt", ".", "split", "(", "\"\\\\/\"", ")", ";", "String", "className", "=", "null", ";", "for", "(", "int", "i", "=", "pathElements", ".", "length", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "className", "==", "null", ")", "{", "className", "=", "pathElements", "[", "i", "]", ";", "}", "else", "{", "className", "=", "pathElements", "[", "i", "]", "+", "\".\"", "+", "className", ";", "}", "try", "{", "return", "JRuby", ".", "getRuntime", "(", ")", ".", "getJRubyClassLoader", "(", ")", ".", "loadClass", "(", "className", ")", ";", "}", "catch", "(", "ClassNotFoundException", "ignore", ")", "{", "}", "}", "throw", "new", "ClassNotFoundException", "(", "\"\"", "+", "classFile", ")", ";", "}", "private", "static", "ObjectFactory", "createObjectFactory", "(", ")", "throws", "Throwable", "{", "String", "objectFactoryClassName", "=", "System", ".", "getProperty", "(", "\"\"", ",", "\"\"", ")", ";", "Class", "<", "?", ">", "ofc", "=", "JRuby", ".", "getRuntime", "(", ")", ".", "getJRubyClassLoader", "(", ")", ".", "loadClass", "(", "objectFactoryClassName", ")", ";", "Constructor", "<", "?", ">", "ctor", "=", "ofc", ".", "getConstructor", "(", ")", ";", "try", "{", "return", "(", "ObjectFactory", ")", "ctor", ".", "newInstance", "(", ")", ";", "}", "catch", "(", "InvocationTargetException", "e", ")", "{", "throw", "e", ".", "getTargetException", "(", ")", ";", "}", "}", "public", "Object", "invokeHook", "(", "Method", "method", ",", "Scenario", "scenario", ")", "throws", "Throwable", "{", "Object", "[", "]", "args", "=", "new", "Object", "[", "0", "]", ";", "if", "(", "method", ".", "getParameterTypes", "(", ")", ".", "length", "==", "1", ")", "{", "args", "=", "new", "Object", "[", "]", "{", "scenario", "}", ";", "}", "else", "if", "(", "method", ".", "getParameterTypes", "(", ")", ".", "length", ">", "1", ")", "{", "throw", "cucumberArityMismatchError", "(", "\"\"", "+", "method", ")", ";", "}", "return", "invoke", "(", "method", ",", "args", ",", "Locale", ".", "getDefault", "(", ")", ")", ";", "}", "public", "Object", "invoke", "(", "Method", "method", ",", "Object", "[", "]", "args", ",", "Locale", "locale", ")", "throws", "Throwable", "{", "Object", "target", "=", "objectFactory", ".", "getComponent", "(", "method", ".", "getDeclaringClass", "(", ")", ")", ";", "Object", "[", "]", "transformedArgs", "=", "transform", "(", "args", ",", "method", ".", "getParameterTypes", "(", ")", ",", "locale", ")", ";", "return", "methodInvoker", ".", "invoke", "(", "method", ",", "target", ",", "transformedArgs", ")", ";", "}", "public", "List", "<", "Class", "<", "?", ">", ">", "getClasses", "(", ")", "{", "return", "objectFactory", ".", "getClasses", "(", ")", ";", "}", "}", "</s>" ]
7,607
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "jvmclass", ";", "import", "cuke4duke", ".", "StepMother", ";", "import", "org", ".", "springframework", ".", "beans", ".", "factory", ".", "FactoryBean", ";", "import", "org", ".", "springframework", ".", "beans", ".", "factory", ".", "InitializingBean", ";", "import", "org", ".", "springframework", ".", "context", ".", "support", ".", "AbstractApplicationContext", ";", "import", "org", ".", "springframework", ".", "context", ".", "support", ".", "ClassPathXmlApplicationContext", ";", "import", "org", ".", "springframework", ".", "context", ".", "support", ".", "StaticApplicationContext", ";", "import", "java", ".", "util", ".", "ArrayList", ";", "import", "java", ".", "util", ".", "List", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Modifier", ";", "public", "class", "SpringFactory", "implements", "ObjectFactory", "{", "private", "final", "List", "<", "Class", "<", "?", ">", ">", "classes", "=", "new", "ArrayList", "<", "Class", "<", "?", ">", ">", "(", ")", ";", "private", "AbstractApplicationContext", "appContext", ";", "private", "static", "ThreadLocal", "<", "StepMother", ">", "mother", "=", "new", "ThreadLocal", "<", "StepMother", ">", "(", ")", ";", "public", "void", "createObjects", "(", ")", "{", "appContext", ".", "refresh", "(", ")", ";", "}", "public", "void", "disposeObjects", "(", ")", "{", "}", "public", "boolean", "canHandle", "(", "Class", "<", "?", ">", "clazz", ")", "{", "return", "true", ";", "}", "public", "void", "addClass", "(", "Class", "<", "?", ">", "clazz", ")", "{", "classes", ".", "add", "(", "clazz", ")", ";", "}", "public", "void", "addStepMother", "(", "StepMother", "instance", ")", "{", "if", "(", "appContext", "==", "null", ")", "{", "mother", ".", "set", "(", "instance", ")", ";", "StaticApplicationContext", "parent", "=", "new", "StaticApplicationContext", "(", ")", ";", "parent", ".", "registerSingleton", "(", "\"stepMother\"", ",", "StepMotherFactory", ".", "class", ")", ";", "parent", ".", "refresh", "(", ")", ";", "String", "springXml", "=", "System", ".", "getProperty", "(", "\"\"", ",", "\"cucumber.xml\"", ")", ";", "appContext", "=", "new", "ClassPathXmlApplicationContext", "(", "new", "String", "[", "]", "{", "springXml", "}", ",", "parent", ")", ";", "if", "(", "mother", ".", "get", "(", ")", "!=", "null", ")", "{", "throw", "new", "IllegalStateException", "(", "\"\"", ")", ";", "}", "}", "}", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "<", "T", ">", "T", "getComponent", "(", "Class", "<", "T", ">", "type", ")", "{", "List", "beans", "=", "new", "ArrayList", "(", "appContext", ".", "getBeansOfType", "(", "type", ")", ".", "values", "(", ")", ")", ";", "if", "(", "beans", ".", "size", "(", ")", "==", "1", ")", "{", "return", "(", "T", ")", "beans", ".", "get", "(", "0", ")", ";", "}", "else", "{", "throw", "new", "RuntimeException", "(", "\"Found", "\"", "+", "beans", ".", "size", "(", ")", "+", "\"\"", "+", "type", "+", "\"\"", ")", ";", "}", "}", "public", "List", "<", "Class", "<", "?", ">", ">", "getClasses", "(", ")", "{", "return", "classes", ";", "}", "static", "class", "StepMotherFactory", "implements", "FactoryBean", ",", "InitializingBean", "{", "private", "StepMother", "mother", ";", "public", "void", "afterPropertiesSet", "(", ")", "throws", "Exception", "{", "this", ".", "mother", "=", "SpringFactory", ".", "mother", ".", "get", "(", ")", ";", "SpringFactory", ".", "mother", ".", "set", "(", "null", ")", ";", "}", "public", "Object", "getObject", "(", ")", "throws", "Exception", "{", "return", "mother", ";", "}", "public", "Class", "<", "StepMother", ">", "getObjectType", "(", ")", "{", "return", "StepMother", ".", "class", ";", "}", "public", "boolean", "isSingleton", "(", ")", "{", "return", "true", ";", "}", "}", "}", "</s>" ]
7,608
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "jvmclass", ";", "public", "interface", "ClassAnalyzer", "{", "void", "populateStepDefinitionsAndHooks", "(", "ObjectFactory", "objectFactory", ",", "ClassLanguage", "classLanguage", ")", "throws", "Throwable", ";", "Class", "<", "?", ">", "[", "]", "alwaysLoad", "(", ")", ";", "}", "</s>" ]
7,609
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "jvmclass", ";", "import", "java", ".", "math", ".", "BigDecimal", ";", "import", "java", ".", "math", ".", "BigInteger", ";", "import", "java", ".", "text", ".", "NumberFormat", ";", "import", "java", ".", "text", ".", "ParseException", ";", "import", "java", ".", "util", ".", "Locale", ";", "public", "class", "DefaultJvmTransforms", "{", "public", "static", "Object", "transformStringToObject", "(", "String", "argument", ",", "Locale", "locale", ")", "{", "return", "argument", ";", "}", "public", "static", "int", "transformStringToInt", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "NumberFormat", ".", "getInstance", "(", "locale", ")", ".", "parse", "(", "argument", ")", ".", "intValue", "(", ")", ";", "}", "public", "static", "Integer", "transformStringToInteger", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "transformStringToInt", "(", "argument", ",", "locale", ")", ";", "}", "public", "static", "long", "transformStringToLongPrimitive", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "NumberFormat", ".", "getInstance", "(", "locale", ")", ".", "parse", "(", "argument", ")", ".", "longValue", "(", ")", ";", "}", "public", "static", "Long", "transformStringToLong", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "transformStringToLongPrimitive", "(", "argument", ",", "locale", ")", ";", "}", "public", "static", "double", "transformStringToDoublePrimitive", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "NumberFormat", ".", "getInstance", "(", "locale", ")", ".", "parse", "(", "argument", ")", ".", "doubleValue", "(", ")", ";", "}", "public", "static", "Double", "transformStringToDouble", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "transformStringToDoublePrimitive", "(", "argument", ",", "locale", ")", ";", "}", "public", "static", "float", "transformStringToFloatPrimitive", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "NumberFormat", ".", "getInstance", "(", "locale", ")", ".", "parse", "(", "argument", ")", ".", "floatValue", "(", ")", ";", "}", "public", "static", "Float", "transformStringToFloat", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "transformStringToFloatPrimitive", "(", "argument", ",", "locale", ")", ";", "}", "public", "static", "short", "transformStringToShortPrimitive", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "NumberFormat", ".", "getInstance", "(", "locale", ")", ".", "parse", "(", "argument", ")", ".", "shortValue", "(", ")", ";", "}", "public", "static", "Short", "transformStringToShort", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "transformStringToShortPrimitive", "(", "argument", ",", "locale", ")", ";", "}", "public", "static", "byte", "transformStringToBytePrimitive", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "NumberFormat", ".", "getInstance", "(", "locale", ")", ".", "parse", "(", "argument", ")", ".", "byteValue", "(", ")", ";", "}", "public", "static", "Byte", "transformStringToByte", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "transformStringToBytePrimitive", "(", "argument", ",", "locale", ")", ";", "}", "public", "static", "char", "transformStringToChar", "(", "String", "argument", ",", "Locale", "locale", ")", "{", "return", "argument", ".", "charAt", "(", "0", ")", ";", "}", "public", "static", "Character", "transformStringToCharacters", "(", "String", "argument", ",", "Locale", "locale", ")", "{", "return", "argument", ".", "charAt", "(", "0", ")", ";", "}", "public", "static", "BigDecimal", "transformStringToBigDecimal", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "BigDecimal", ".", "valueOf", "(", "transformStringToDoublePrimitive", "(", "argument", ",", "locale", ")", ")", ";", "}", "public", "static", "BigInteger", "transformStringToBigInteger", "(", "String", "argument", ",", "Locale", "locale", ")", "throws", "ParseException", "{", "return", "BigInteger", ".", "valueOf", "(", "transformStringToLongPrimitive", "(", "argument", ",", "locale", ")", ")", ";", "}", "public", "static", "boolean", "transformStringToBooleanPrimitive", "(", "String", "argument", ",", "Locale", "locale", ")", "{", "return", "Boolean", ".", "valueOf", "(", "argument", ")", ";", "}", "public", "static", "Boolean", "transformStringToBoolean", "(", "String", "argument", ",", "Locale", "locale", ")", "{", "return", "Boolean", ".", "valueOf", "(", "argument", ")", ";", "}", "}", "</s>" ]
7,610
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "jvmclass", ";", "import", "cuke4duke", ".", "StepMother", ";", "import", "java", ".", "util", ".", "List", ";", "public", "interface", "ObjectFactory", "{", "void", "createObjects", "(", ")", ";", "void", "disposeObjects", "(", ")", ";", "boolean", "canHandle", "(", "Class", "<", "?", ">", "clazz", ")", ";", "void", "addClass", "(", "Class", "<", "?", ">", "clazz", ")", ";", "void", "addStepMother", "(", "StepMother", "mother", ")", ";", "<", "T", ">", "T", "getComponent", "(", "Class", "<", "T", ">", "type", ")", ";", "List", "<", "Class", "<", "?", ">", ">", "getClasses", "(", ")", ";", "}", "</s>" ]
7,611
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "java", ";", "import", "cuke4duke", ".", "annotation", ".", "After", ";", "import", "cuke4duke", ".", "annotation", ".", "Before", ";", "import", "cuke4duke", ".", "annotation", ".", "Order", ";", "import", "cuke4duke", ".", "annotation", ".", "Transform", ";", "import", "cuke4duke", ".", "internal", ".", "Utils", ";", "import", "cuke4duke", ".", "internal", ".", "java", ".", "annotation", ".", "StepDef", ";", "import", "cuke4duke", ".", "internal", ".", "jvmclass", ".", "ClassAnalyzer", ";", "import", "cuke4duke", ".", "internal", ".", "jvmclass", ".", "ClassLanguage", ";", "import", "cuke4duke", ".", "internal", ".", "jvmclass", ".", "ObjectFactory", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Annotation", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Method", ";", "import", "java", ".", "util", ".", "*", ";", "import", "java", ".", "util", ".", "regex", ".", "Pattern", ";", "public", "class", "JavaAnalyzer", "implements", "ClassAnalyzer", "{", "private", "final", "MethodFormat", "methodFormat", ";", "private", "static", "final", "String", "[", "]", "NO_TAGS", "=", "new", "String", "[", "0", "]", ";", "public", "JavaAnalyzer", "(", ")", "{", "this", ".", "methodFormat", "=", "new", "MethodFormat", "(", "System", ".", "getProperty", "(", "\"\"", ",", "\"%c.%m(%a)\"", ")", ")", ";", "}", "public", "void", "populateStepDefinitionsAndHooks", "(", "ObjectFactory", "objectFactory", ",", "ClassLanguage", "classLanguage", ")", "throws", "Throwable", "{", "for", "(", "Method", "method", ":", "getOrderedMethods", "(", "classLanguage", ")", ")", "{", "registerBeforeMaybe", "(", "method", ",", "classLanguage", ")", ";", "registerAfterMaybe", "(", "method", ",", "classLanguage", ")", ";", "registerStepDefinitionsFromAnnotations", "(", "method", ",", "classLanguage", ")", ";", "registerTransformMaybe", "(", "method", ",", "classLanguage", ")", ";", "}", "}", "private", "void", "registerTransformMaybe", "(", "Method", "method", ",", "ClassLanguage", "classLanguage", ")", "{", "if", "(", "method", ".", "isAnnotationPresent", "(", "Transform", ".", "class", ")", ")", "{", "classLanguage", ".", "addTransform", "(", "method", ".", "getReturnType", "(", ")", ",", "new", "JavaTransform", "(", "classLanguage", ",", "method", ")", ")", ";", "}", "}", "public", "Class", "<", "?", ">", "[", "]", "alwaysLoad", "(", ")", "{", "return", "new", "Class", "<", "?", ">", "[", "0", "]", ";", "}", "private", "List", "<", "Method", ">", "getOrderedMethods", "(", "ClassLanguage", "classLanguage", ")", "{", "Set", "<", "Method", ">", "methods", "=", "new", "HashSet", "<", "Method", ">", "(", ")", ";", "for", "(", "Class", "<", "?", ">", "clazz", ":", "classLanguage", ".", "getClasses", "(", ")", ")", "{", "methods", ".", "addAll", "(", "Arrays", ".", "asList", "(", "clazz", ".", "getMethods", "(", ")", ")", ")", ";", "}", "List", "<", "Method", ">", "sortedMethods", "=", "new", "ArrayList", "<", "Method", ">", "(", "methods", ")", ";", "Collections", ".", "sort", "(", "sortedMethods", ",", "new", "Comparator", "<", "Method", ">", "(", ")", "{", "public", "int", "compare", "(", "Method", "m1", ",", "Method", "m2", ")", "{", "return", "order", "(", "m1", ")", "-", "order", "(", "m2", ")", ";", "}", "private", "int", "order", "(", "Method", "m", ")", "{", "Order", "order", "=", "m", ".", "getAnnotation", "(", "Order", ".", "class", ")", ";", "return", "(", "order", "==", "null", ")", "?", "Integer", ".", "MAX_VALUE", ":", "order", ".", "value", "(", ")", ";", "}", "}", ")", ";", "return", "sortedMethods", ";", "}", "private", "void", "registerBeforeMaybe", "(", "Method", "method", ",", "ClassLanguage", "classLanguage", ")", "{", "if", "(", "method", ".", "isAnnotationPresent", "(", "Before", ".", "class", ")", ")", "{", "String", "[", "]", "tagExpressions", "=", "method", ".", "getAnnotation", "(", "Before", ".", "class", ")", ".", "value", "(", ")", ";", "if", "(", "\"\"", ".", "equals", "(", "tagExpressions", "[", "0", "]", ")", ")", "{", "tagExpressions", "=", "NO_TAGS", ";", "}", "classLanguage", ".", "addBeforeHook", "(", "new", "JavaHook", "(", "classLanguage", ",", "method", ",", "Arrays", ".", "asList", "(", "tagExpressions", ")", ")", ")", ";", "}", "}", "private", "void", "registerAfterMaybe", "(", "Method", "method", ",", "ClassLanguage", "classLanguage", ")", "{", "if", "(", "method", ".", "isAnnotationPresent", "(", "After", ".", "class", ")", ")", "{", "String", "[", "]", "tagExpressions", "=", "method", ".", "getAnnotation", "(", "After", ".", "class", ")", ".", "value", "(", ")", ";", "if", "(", "\"\"", ".", "equals", "(", "tagExpressions", "[", "0", "]", ")", ")", "{", "tagExpressions", "=", "NO_TAGS", ";", "}", "classLanguage", ".", "addAfterHook", "(", "new", "JavaHook", "(", "classLanguage", ",", "method", ",", "Arrays", ".", "asList", "(", "tagExpressions", ")", ")", ")", ";", "}", "}", "private", "void", "registerStepDefinitionsFromAnnotations", "(", "Method", "method", ",", "ClassLanguage", "classLanguage", ")", "throws", "Throwable", "{", "for", "(", "Annotation", "annotation", ":", "method", ".", "getAnnotations", "(", ")", ")", "{", "if", "(", "annotation", ".", "annotationType", "(", ")", ".", "isAnnotationPresent", "(", "StepDef", ".", "class", ")", ")", "{", "Locale", "locale", "=", "Utils", ".", "localeFor", "(", "annotation", ".", "annotationType", "(", ")", ".", "getAnnotation", "(", "StepDef", ".", "class", ")", ".", "value", "(", ")", ")", ";", "Method", "regexpMethod", "=", "annotation", ".", "getClass", "(", ")", ".", "getMethod", "(", "\"value\"", ")", ";", "String", "regexpString", "=", "(", "String", ")", "regexpMethod", ".", "invoke", "(", "annotation", ")", ";", "if", "(", "regexpString", "!=", "null", ")", "{", "Pattern", "regexp", "=", "Pattern", ".", "compile", "(", "regexpString", ")", ";", "classLanguage", ".", "addStepDefinition", "(", "new", "JavaStepDefinition", "(", "classLanguage", ",", "method", ",", "regexp", ",", "methodFormat", ",", "locale", ")", ")", ";", "}", "}", "}", "}", "}", "</s>" ]
7,612
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "java", ";", "import", "cuke4duke", ".", "Scenario", ";", "import", "cuke4duke", ".", "internal", ".", "jvmclass", ".", "ClassLanguage", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "AbstractHook", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Method", ";", "import", "java", ".", "util", ".", "List", ";", "public", "class", "JavaHook", "extends", "AbstractHook", "{", "private", "final", "ClassLanguage", "classLanguage", ";", "private", "final", "Method", "method", ";", "public", "JavaHook", "(", "ClassLanguage", "classLanguage", ",", "Method", "method", ",", "List", "<", "String", ">", "tagExpressions", ")", "{", "super", "(", "tagExpressions", ")", ";", "this", ".", "classLanguage", "=", "classLanguage", ";", "this", ".", "method", "=", "method", ";", "}", "public", "void", "invoke", "(", "String", "location", ",", "Scenario", "scenario", ")", "throws", "Throwable", "{", "classLanguage", ".", "invokeHook", "(", "method", ",", "scenario", ")", ";", "}", "public", "Method", "getMethod", "(", ")", "{", "return", "method", ";", "}", "}", "</s>" ]
7,613
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "java", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Method", ";", "import", "java", ".", "text", ".", "MessageFormat", ";", "import", "java", ".", "util", ".", "regex", ".", "Matcher", ";", "import", "java", ".", "util", ".", "regex", ".", "Pattern", ";", "public", "class", "MethodFormat", "{", "private", "static", "final", "Pattern", "METHOD_PATTERN", "=", "Pattern", ".", "compile", "(", "\"\"", ")", ";", "private", "static", "final", "String", "PACKAGE_PATTERN", "=", "\"[^,]*\\\\.\"", ";", "private", "final", "MessageFormat", "format", ";", "public", "MethodFormat", "(", "String", "format", ")", "{", "String", "pattern", "=", "format", ".", "replaceAll", "(", "\"%M\"", ",", "\"{0}\"", ")", ".", "replaceAll", "(", "\"%r\"", ",", "\"{1}\"", ")", ".", "replaceAll", "(", "\"%qc\"", ",", "\"{2}\"", ")", ".", "replaceAll", "(", "\"%m\"", ",", "\"{3}\"", ")", ".", "replaceAll", "(", "\"%qa\"", ",", "\"{4}\"", ")", ".", "replaceAll", "(", "\"%qe\"", ",", "\"{5}\"", ")", ".", "replaceAll", "(", "\"%c\"", ",", "\"{6}\"", ")", ".", "replaceAll", "(", "\"%a\"", ",", "\"{7}\"", ")", ".", "replaceAll", "(", "\"%e\"", ",", "\"{8}\"", ")", ";", "this", ".", "format", "=", "new", "MessageFormat", "(", "pattern", ")", ";", "}", "public", "String", "format", "(", "Method", "method", ")", "{", "String", "signature", "=", "method", ".", "toGenericString", "(", ")", ";", "Matcher", "matcher", "=", "METHOD_PATTERN", ".", "matcher", "(", "signature", ")", ";", "if", "(", "matcher", ".", "find", "(", ")", ")", "{", "String", "M", "=", "matcher", ".", "group", "(", "1", ")", ";", "String", "r", "=", "matcher", ".", "group", "(", "2", ")", ";", "String", "qc", "=", "matcher", ".", "group", "(", "3", ")", ";", "String", "m", "=", "matcher", ".", "group", "(", "4", ")", ";", "String", "qa", "=", "matcher", ".", "group", "(", "5", ")", ";", "String", "qe", "=", "matcher", ".", "group", "(", "6", ")", ";", "String", "c", "=", "qc", ".", "replaceAll", "(", "PACKAGE_PATTERN", ",", "\"\"", ")", ";", "String", "a", "=", "qa", ".", "replaceAll", "(", "PACKAGE_PATTERN", ",", "\"\"", ")", ";", "String", "e", "=", "qe", ".", "replaceAll", "(", "PACKAGE_PATTERN", ",", "\"\"", ")", ";", "return", "format", ".", "format", "(", "new", "Object", "[", "]", "{", "M", ",", "r", ",", "qc", ",", "m", ",", "qa", ",", "qe", ",", "c", ",", "a", ",", "e", "}", ")", ";", "}", "else", "{", "throw", "new", "RuntimeException", "(", "\"\"", "+", "signature", ")", ";", "}", "}", "}", "</s>" ]
7,614
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "java", ";", "import", "cuke4duke", ".", "internal", ".", "jvmclass", ".", "ClassLanguage", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "Transformable", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Method", ";", "import", "java", ".", "util", ".", "Locale", ";", "public", "class", "JavaTransform", "implements", "Transformable", "{", "private", "final", "ClassLanguage", "classLanguage", ";", "private", "final", "Method", "method", ";", "public", "JavaTransform", "(", "ClassLanguage", "classLanguage", ",", "Method", "method", ")", "{", "this", ".", "classLanguage", "=", "classLanguage", ";", "this", ".", "method", "=", "method", ";", "}", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "<", "T", ">", "T", "transform", "(", "Object", "arg", ",", "Locale", "locale", ")", "throws", "Throwable", "{", "return", "(", "T", ")", "classLanguage", ".", "invoke", "(", "method", ",", "new", "Object", "[", "]", "{", "arg", "}", ",", "locale", ")", ";", "}", "}", "</s>" ]
7,615
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "java", ";", "import", "cuke4duke", ".", "annotation", ".", "Pending", ";", "import", "cuke4duke", ".", "spi", ".", "ExceptionFactory", ";", "import", "java", ".", "lang", ".", "reflect", ".", "InvocationTargetException", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Method", ";", "public", "class", "MethodInvoker", "{", "private", "final", "ExceptionFactory", "exceptionFactory", ";", "public", "MethodInvoker", "(", "ExceptionFactory", "exceptionFactory", ")", "{", "this", ".", "exceptionFactory", "=", "exceptionFactory", ";", "}", "public", "Object", "invoke", "(", "Method", "method", ",", "Object", "target", ",", "Object", "[", "]", "javaArgs", ")", "throws", "Throwable", "{", "try", "{", "if", "(", "method", ".", "isAnnotationPresent", "(", "Pending", ".", "class", ")", ")", "{", "throw", "exceptionFactory", ".", "cucumberPending", "(", "method", ".", "getAnnotation", "(", "Pending", ".", "class", ")", ".", "value", "(", ")", ")", ";", "}", "else", "{", "return", "method", ".", "invoke", "(", "target", ",", "javaArgs", ")", ";", "}", "}", "catch", "(", "IllegalArgumentException", "e", ")", "{", "String", "m", "=", "\"\"", "+", "method", ".", "toGenericString", "(", ")", "+", "\"", "with", "\"", "+", "cuke4duke", ".", "internal", ".", "Utils", ".", "join", "(", "javaArgs", ",", "\",\"", ")", ";", "throw", "exceptionFactory", ".", "cucumberArityMismatchError", "(", "m", ")", ";", "}", "catch", "(", "InvocationTargetException", "e", ")", "{", "throw", "e", ".", "getTargetException", "(", ")", ";", "}", "}", "}", "</s>" ]
7,616
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "java", ";", "import", "cuke4duke", ".", "internal", ".", "jvmclass", ".", "ClassLanguage", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "AbstractStepDefinition", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "JdkPatternArgumentMatcher", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "StepArgument", ";", "import", "java", ".", "io", ".", "UnsupportedEncodingException", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Method", ";", "import", "java", ".", "util", ".", "List", ";", "import", "java", ".", "util", ".", "Locale", ";", "import", "java", ".", "util", ".", "regex", ".", "Pattern", ";", "public", "class", "JavaStepDefinition", "extends", "AbstractStepDefinition", "{", "private", "final", "ClassLanguage", "classLanguage", ";", "private", "final", "Method", "method", ";", "private", "final", "Pattern", "regexp", ";", "private", "final", "MethodFormat", "methodFormat", ";", "private", "final", "Locale", "locale", ";", "public", "JavaStepDefinition", "(", "ClassLanguage", "programmingLanguage", ",", "Method", "method", ",", "Pattern", "regexp", ",", "MethodFormat", "methodFormat", ",", "Locale", "locale", ")", "throws", "Throwable", "{", "super", "(", "programmingLanguage", ")", ";", "this", ".", "classLanguage", "=", "programmingLanguage", ";", "this", ".", "method", "=", "method", ";", "this", ".", "regexp", "=", "regexp", ";", "this", ".", "methodFormat", "=", "methodFormat", ";", "this", ".", "locale", "=", "locale", ";", "register", "(", ")", ";", "}", "public", "String", "regexp_source", "(", ")", "{", "return", "regexp", ".", "pattern", "(", ")", ";", "}", "public", "List", "<", "StepArgument", ">", "arguments_from", "(", "String", "stepName", ")", "throws", "UnsupportedEncodingException", "{", "return", "JdkPatternArgumentMatcher", ".", "argumentsFrom", "(", "regexp", ",", "stepName", ")", ";", "}", "public", "String", "file_colon_line", "(", ")", "{", "return", "methodFormat", ".", "format", "(", "method", ")", ";", "}", "public", "Object", "invokeWithArgs", "(", "Object", "[", "]", "args", ")", "throws", "Throwable", "{", "return", "classLanguage", ".", "invoke", "(", "method", ",", "args", ",", "locale", ")", ";", "}", "}", "</s>" ]
7,617
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "java", ".", "annotation", ";", "import", "java", ".", "lang", ".", "annotation", ".", "ElementType", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Retention", ";", "import", "java", ".", "lang", ".", "annotation", ".", "RetentionPolicy", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Target", ";", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "ANNOTATION_TYPE", ")", "public", "@", "interface", "StepDef", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "</s>" ]
7,618
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "language", ";", "import", "cuke4duke", ".", "spi", ".", "jruby", ".", "StepMatch", ";", "import", "java", ".", "util", ".", "List", ";", "public", "interface", "LanguageMixin", "{", "void", "add_hook", "(", "String", "phase", ",", "Hook", "hook", ")", ";", "void", "clear_hooks", "(", ")", ";", "StepMatch", "create_step_match", "(", "StepDefinition", "step_definition", ",", "String", "step_name", ",", "String", "formatted_step_name", ",", "List", "<", "StepArgument", ">", "step_arguments", ")", ";", "void", "available_step_definition", "(", "String", "regexp_source", ",", "String", "file_colon_line", ")", ";", "void", "invoked_step_definition", "(", "String", "regexp_source", ",", "String", "file_colon_line", ")", ";", "}", "</s>" ]
7,619
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "language", ";", "import", "cuke4duke", ".", "Scenario", ";", "import", "java", ".", "util", ".", "List", ";", "public", "interface", "Hook", "{", "public", "List", "<", "String", ">", "getTagExpressions", "(", ")", ";", "void", "invoke", "(", "String", "location", ",", "Scenario", "scenario", ")", "throws", "Throwable", ";", "}", "</s>" ]
7,620
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "language", ";", "import", "java", ".", "util", ".", "List", ";", "public", "abstract", "class", "AbstractStepDefinition", "implements", "StepDefinition", "{", "private", "final", "AbstractProgrammingLanguage", "programmingLanguage", ";", "public", "AbstractStepDefinition", "(", "AbstractProgrammingLanguage", "programmingLanguage", ")", "{", "this", ".", "programmingLanguage", "=", "programmingLanguage", ";", "}", "protected", "void", "register", "(", ")", "throws", "Throwable", "{", "programmingLanguage", ".", "availableStepDefinition", "(", "regexp_source", "(", ")", ",", "file_colon_line", "(", ")", ")", ";", "}", "public", "final", "void", "invoke", "(", "List", "<", "Object", ">", "arguments", ")", "throws", "Throwable", "{", "programmingLanguage", ".", "invoked", "(", "regexp_source", "(", ")", ",", "file_colon_line", "(", ")", ")", ";", "invokeWithArgs", "(", "arguments", ".", "toArray", "(", ")", ")", ";", "}", "public", "abstract", "Object", "invokeWithArgs", "(", "Object", "[", "]", "args", ")", "throws", "Throwable", ";", "}", "</s>" ]
7,621
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "language", ";", "import", "cuke4duke", ".", "PyString", ";", "import", "cuke4duke", ".", "Scenario", ";", "import", "cuke4duke", ".", "internal", ".", "java", ".", "MethodInvoker", ";", "import", "cuke4duke", ".", "internal", ".", "jvmclass", ".", "CantTransform", ";", "import", "cuke4duke", ".", "internal", ".", "jvmclass", ".", "DefaultJvmTransforms", ";", "import", "cuke4duke", ".", "spi", ".", "ExceptionFactory", ";", "import", "cuke4duke", ".", "spi", ".", "jruby", ".", "StepMatch", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Method", ";", "import", "java", ".", "util", ".", "*", ";", "public", "abstract", "class", "AbstractProgrammingLanguage", "implements", "ProgrammingLanguage", "{", "protected", "final", "LanguageMixin", "languageMixin", ";", "protected", "final", "MethodInvoker", "methodInvoker", ";", "private", "final", "ExceptionFactory", "exceptionFactory", ";", "private", "final", "Map", "<", "Class", "<", "?", ">", ",", "Method", ">", "transformMethods", "=", "new", "HashMap", "<", "Class", "<", "?", ">", ",", "Method", ">", "(", ")", ";", "private", "List", "<", "StepDefinition", ">", "stepDefinitions", ";", "public", "AbstractProgrammingLanguage", "(", "LanguageMixin", "languageMixin", ",", "ExceptionFactory", "exceptionFactory", ")", "{", "this", ".", "languageMixin", "=", "languageMixin", ";", "this", ".", "exceptionFactory", "=", "exceptionFactory", ";", "this", ".", "methodInvoker", "=", "new", "MethodInvoker", "(", "this", ".", "exceptionFactory", ")", ";", "for", "(", "Method", "method", ":", "DefaultJvmTransforms", ".", "class", ".", "getDeclaredMethods", "(", ")", ")", "{", "transformMethods", ".", "put", "(", "method", ".", "getReturnType", "(", ")", ",", "method", ")", ";", "}", "}", "final", "public", "List", "<", "StepMatch", ">", "step_matches", "(", "String", "step_name", ",", "String", "formatted_step_name", ")", "throws", "Throwable", "{", "return", "step_match_list", "(", "step_name", ",", "formatted_step_name", ")", ";", "}", "public", "abstract", "void", "load_code_file", "(", "String", "file", ")", "throws", "Throwable", ";", "public", "final", "List", "<", "StepMatch", ">", "step_match_list", "(", "String", "step_name", ",", "String", "formatted_step_name", ")", "throws", "Throwable", "{", "List", "<", "StepMatch", ">", "matches", "=", "new", "ArrayList", "<", "StepMatch", ">", "(", ")", ";", "for", "(", "StepDefinition", "stepDefinition", ":", "stepDefinitions", ")", "{", "List", "<", "StepArgument", ">", "arguments", "=", "stepDefinition", ".", "arguments_from", "(", "step_name", ")", ";", "if", "(", "arguments", "!=", "null", ")", "{", "matches", ".", "add", "(", "languageMixin", ".", "create_step_match", "(", "stepDefinition", ",", "step_name", ",", "formatted_step_name", ",", "arguments", ")", ")", ";", "}", "}", "return", "matches", ";", "}", "protected", "void", "clearHooksAndStepDefinitions", "(", ")", "{", "languageMixin", ".", "clear_hooks", "(", ")", ";", "stepDefinitions", "=", "new", "ArrayList", "<", "StepDefinition", ">", "(", ")", ";", "}", "public", "void", "addBeforeHook", "(", "Hook", "before", ")", "{", "languageMixin", ".", "add_hook", "(", "\"before\"", ",", "before", ")", ";", "}", "public", "void", "addStepDefinition", "(", "StepDefinition", "stepDefinition", ")", "{", "stepDefinitions", ".", "add", "(", "stepDefinition", ")", ";", "}", "public", "List", "<", "StepDefinition", ">", "getStepDefinitions", "(", ")", "{", "return", "stepDefinitions", ";", "}", "public", "void", "addAfterHook", "(", "Hook", "after", ")", "{", "languageMixin", ".", "add_hook", "(", "\"after\"", ",", "after", ")", ";", "}", "protected", "abstract", "void", "begin_scenario", "(", "Scenario", "scenario", ")", "throws", "Throwable", ";", "public", "abstract", "void", "end_scenario", "(", ")", "throws", "Throwable", ";", "public", "void", "availableStepDefinition", "(", "String", "regexp_source", ",", "String", "file_colon_line", ")", "{", "languageMixin", ".", "available_step_definition", "(", "regexp_source", ",", "file_colon_line", ")", ";", "}", "public", "void", "invoked", "(", "String", "regexp_source", ",", "String", "file_colon_line", ")", "{", "languageMixin", ".", "invoked_step_definition", "(", "regexp_source", ",", "file_colon_line", ")", ";", "}", "protected", "Object", "[", "]", "transform", "(", "Object", "[", "]", "args", ",", "Class", "<", "?", ">", "[", "]", "parameterTypes", ",", "Locale", "locale", ")", "throws", "Throwable", "{", "Object", "[", "]", "transformed", "=", "new", "Object", "[", "args", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "transformed", ".", "length", ";", "i", "++", ")", "{", "transformed", "[", "i", "]", "=", "transformOne", "(", "args", "[", "i", "]", ",", "parameterTypes", "[", "i", "]", ",", "locale", ")", ";", "}", "return", "transformed", ";", "}", "public", "Object", "transformOne", "(", "Object", "arg", ",", "Class", "<", "?", ">", "parameterType", ",", "Locale", "locale", ")", "throws", "Throwable", "{", "if", "(", "PyString", ".", "class", ".", "isAssignableFrom", "(", "arg", ".", "getClass", "(", ")", ")", ")", "{", "arg", "=", "(", "(", "PyString", ")", "arg", ")", ".", "to_s", "(", ")", ";", "}", "if", "(", "parameterType", ".", "isAssignableFrom", "(", "arg", ".", "getClass", "(", ")", ")", ")", "{", "return", "arg", ";", "}", "Object", "customTransform", "=", "customTransform", "(", "arg", ",", "parameterType", ",", "null", ")", ";", "if", "(", "customTransform", "!=", "null", ")", "{", "return", "customTransform", ";", "}", "else", "{", "return", "defaultTransform", "(", "arg", ",", "parameterType", ",", "locale", ")", ";", "}", "}", "private", "Object", "defaultTransform", "(", "Object", "arg", ",", "Class", "<", "?", ">", "parameterType", ",", "Locale", "locale", ")", "throws", "Throwable", "{", "Method", "transformMethod", "=", "transformMethods", ".", "get", "(", "parameterType", ")", ";", "if", "(", "transformMethod", "==", "null", ")", "{", "throw", "new", "CantTransform", "(", "arg", ",", "parameterType", ")", ";", "}", "return", "methodInvoker", ".", "invoke", "(", "transformMethod", ",", "null", ",", "new", "Object", "[", "]", "{", "arg", ",", "locale", "}", ")", ";", "}", "protected", "abstract", "Object", "customTransform", "(", "Object", "arg", ",", "Class", "<", "?", ">", "parameterType", ",", "Locale", "locale", ")", "throws", "Throwable", ";", "public", "Exception", "cucumberArityMismatchError", "(", "String", "message", ")", "{", "return", "exceptionFactory", ".", "cucumberArityMismatchError", "(", "message", ")", ";", "}", "public", "Exception", "cucumberPending", "(", "String", "message", ")", "{", "return", "exceptionFactory", ".", "cucumberPending", "(", "message", ")", ";", "}", "public", "Exception", "error", "(", "String", "type", ",", "String", "message", ")", "{", "return", "exceptionFactory", ".", "error", "(", "type", ",", "message", ")", ";", "}", "}", "</s>" ]
7,622
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "language", ";", "import", "java", ".", "util", ".", "Locale", ";", "public", "interface", "Transformable", "{", "public", "<", "T", ">", "T", "transform", "(", "Object", "argument", ",", "Locale", "locale", ")", "throws", "Throwable", ";", "}", "</s>" ]
7,623
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "language", ";", "import", "java", ".", "io", ".", "UnsupportedEncodingException", ";", "import", "java", ".", "util", ".", "ArrayList", ";", "import", "java", ".", "util", ".", "List", ";", "import", "java", ".", "util", ".", "regex", ".", "Matcher", ";", "import", "java", ".", "util", ".", "regex", ".", "Pattern", ";", "public", "class", "JdkPatternArgumentMatcher", "{", "public", "static", "List", "<", "StepArgument", ">", "argumentsFrom", "(", "Pattern", "regexp", ",", "String", "stepName", ")", "throws", "UnsupportedEncodingException", "{", "Matcher", "matcher", "=", "regexp", ".", "matcher", "(", "stepName", ")", ";", "if", "(", "matcher", ".", "matches", "(", ")", ")", "{", "List", "<", "StepArgument", ">", "arguments", "=", "new", "ArrayList", "<", "StepArgument", ">", "(", ")", ";", "for", "(", "int", "i", "=", "1", ";", "i", "<=", "matcher", ".", "groupCount", "(", ")", ";", "i", "++", ")", "{", "arguments", ".", "add", "(", "new", "StepArgument", "(", "matcher", ".", "group", "(", "i", ")", ",", "matcher", ".", "start", "(", "i", ")", ",", "stepName", ")", ")", ";", "}", "return", "arguments", ";", "}", "else", "{", "return", "null", ";", "}", "}", "}", "</s>" ]
7,624
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "language", ";", "import", "java", ".", "util", ".", "List", ";", "public", "abstract", "class", "AbstractHook", "implements", "Hook", "{", "private", "final", "List", "<", "String", ">", "tagExpressions", ";", "public", "AbstractHook", "(", "List", "<", "String", ">", "tagExpressions", ")", "{", "this", ".", "tagExpressions", "=", "tagExpressions", ";", "}", "public", "final", "List", "<", "String", ">", "getTagExpressions", "(", ")", "{", "return", "tagExpressions", ";", "}", "}", "</s>" ]
7,625
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "language", ";", "import", "java", ".", "util", ".", "List", ";", "public", "interface", "StepDefinition", "{", "String", "regexp_source", "(", ")", "throws", "Throwable", ";", "String", "file_colon_line", "(", ")", "throws", "Throwable", ";", "List", "<", "StepArgument", ">", "arguments_from", "(", "String", "stepName", ")", "throws", "Throwable", ";", "void", "invoke", "(", "List", "<", "Object", ">", "arguments", ")", "throws", "Throwable", ";", "}", "</s>" ]
7,626
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "language", ";", "import", "java", ".", "io", ".", "UnsupportedEncodingException", ";", "public", "class", "StepArgument", "{", "private", "final", "String", "val", ";", "private", "final", "int", "byteOffset", ";", "public", "StepArgument", "(", "String", "val", ",", "int", "charOffset", ",", "String", "stepName", ")", "throws", "UnsupportedEncodingException", "{", "this", ".", "byteOffset", "=", "stepName", ".", "substring", "(", "0", ",", "charOffset", ")", ".", "getBytes", "(", "\"UTF-8\"", ")", ".", "length", ";", "this", ".", "val", "=", "val", ";", "}", "public", "String", "getVal", "(", ")", "{", "return", "val", ";", "}", "public", "int", "getByteOffset", "(", ")", "{", "return", "byteOffset", ";", "}", "}", "</s>" ]
7,627
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "language", ";", "import", "cuke4duke", ".", "spi", ".", "jruby", ".", "StepMatch", ";", "import", "java", ".", "util", ".", "List", ";", "public", "interface", "ProgrammingLanguage", "{", "void", "load_code_file", "(", "String", "file", ")", "throws", "Throwable", ";", "List", "<", "StepMatch", ">", "step_matches", "(", "String", "step_name", ",", "String", "formatted_step_name", ")", "throws", "Throwable", ";", "Exception", "cucumberPending", "(", "String", "message", ")", ";", "Exception", "cucumberArityMismatchError", "(", "String", "message", ")", ";", "Exception", "error", "(", "String", "type", ",", "String", "message", ")", ";", "}", "</s>" ]
7,628
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "groovy", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "AbstractStepDefinition", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "JdkPatternArgumentMatcher", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "StepArgument", ";", "import", "groovy", ".", "lang", ".", "Closure", ";", "import", "java", ".", "io", ".", "UnsupportedEncodingException", ";", "import", "java", ".", "util", ".", "List", ";", "import", "java", ".", "util", ".", "Locale", ";", "import", "java", ".", "util", ".", "regex", ".", "Pattern", ";", "public", "class", "GroovyStepDefinition", "extends", "AbstractStepDefinition", "{", "private", "final", "GroovyLanguage", "groovyLanguage", ";", "private", "final", "Pattern", "regexp", ";", "private", "final", "Closure", "body", ";", "public", "GroovyStepDefinition", "(", "GroovyLanguage", "groovyLanguage", ",", "Pattern", "regexp", ",", "Closure", "body", ")", "throws", "Throwable", "{", "super", "(", "groovyLanguage", ")", ";", "this", ".", "groovyLanguage", "=", "groovyLanguage", ";", "this", ".", "regexp", "=", "regexp", ";", "this", ".", "body", "=", "body", ";", "register", "(", ")", ";", "}", "public", "String", "regexp_source", "(", ")", "{", "return", "regexp", ".", "pattern", "(", ")", ";", "}", "public", "String", "file_colon_line", "(", ")", "{", "return", "body", ".", "toString", "(", ")", ";", "}", "public", "Object", "invokeWithArgs", "(", "Object", "[", "]", "args", ")", "throws", "Throwable", "{", "return", "groovyLanguage", ".", "invokeClosure", "(", "body", ",", "args", ",", "Locale", ".", "getDefault", "(", ")", ")", ";", "}", "public", "List", "<", "StepArgument", ">", "arguments_from", "(", "String", "stepName", ")", "throws", "UnsupportedEncodingException", "{", "return", "JdkPatternArgumentMatcher", ".", "argumentsFrom", "(", "regexp", ",", "stepName", ")", ";", "}", "}", "</s>" ]
7,629
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "groovy", ";", "import", "cuke4duke", ".", "Scenario", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "AbstractHook", ";", "import", "groovy", ".", "lang", ".", "Closure", ";", "import", "java", ".", "util", ".", "List", ";", "import", "java", ".", "util", ".", "Locale", ";", "public", "class", "GroovyHook", "extends", "AbstractHook", "{", "private", "final", "GroovyLanguage", "groovyLanguage", ";", "private", "final", "Closure", "body", ";", "public", "GroovyHook", "(", "List", "<", "String", ">", "tagExpressions", ",", "Closure", "body", ",", "GroovyLanguage", "groovyLanguage", ")", "{", "super", "(", "tagExpressions", ")", ";", "this", ".", "groovyLanguage", "=", "groovyLanguage", ";", "this", ".", "body", "=", "body", ";", "}", "public", "void", "invoke", "(", "String", "location", ",", "Scenario", "scenario", ")", "throws", "Throwable", "{", "groovyLanguage", ".", "invokeClosure", "(", "body", ",", "new", "Object", "[", "]", "{", "scenario", "}", ",", "Locale", ".", "getDefault", "(", ")", ")", ";", "}", "}", "</s>" ]
7,630
[ "<s>", "package", "cuke4duke", ".", "internal", ".", "groovy", ";", "import", "cuke4duke", ".", "GroovyDsl", ";", "import", "cuke4duke", ".", "Scenario", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "AbstractProgrammingLanguage", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "LanguageMixin", ";", "import", "cuke4duke", ".", "spi", ".", "ExceptionFactory", ";", "import", "groovy", ".", "lang", ".", "Binding", ";", "import", "groovy", ".", "lang", ".", "Closure", ";", "import", "groovy", ".", "lang", ".", "GroovyShell", ";", "import", "java", ".", "io", ".", "File", ";", "import", "java", ".", "io", ".", "IOException", ";", "import", "java", ".", "util", ".", "ArrayList", ";", "import", "java", ".", "util", ".", "List", ";", "import", "java", ".", "util", ".", "Locale", ";", "public", "class", "GroovyLanguage", "extends", "AbstractProgrammingLanguage", "{", "private", "final", "List", "<", "String", ">", "groovyFiles", "=", "new", "ArrayList", "<", "String", ">", "(", ")", ";", "private", "Object", "currentWorld", ";", "private", "Closure", "worldFactory", ";", "public", "GroovyLanguage", "(", "LanguageMixin", "languageMixin", ",", "ExceptionFactory", "exceptionFactory", ")", "{", "super", "(", "languageMixin", ",", "exceptionFactory", ")", ";", "GroovyDsl", ".", "groovyLanguage", "=", "this", ";", "GroovyDsl", ".", "languageMixin", "=", "languageMixin", ";", "}", "Object", "invokeClosure", "(", "Closure", "body", ",", "Object", "[", "]", "args", ",", "Locale", "locale", ")", "throws", "Throwable", "{", "body", ".", "setDelegate", "(", "currentWorld", ")", ";", "Class", "[", "]", "classes", "=", "body", ".", "getParameterTypes", "(", ")", ";", "Object", "[", "]", "transformedArgs", "=", "transform", "(", "args", ",", "classes", ",", "locale", ")", ";", "return", "body", ".", "call", "(", "transformedArgs", ")", ";", "}", "public", "void", "begin_scenario", "(", "Scenario", "scenario", ")", "throws", "IOException", "{", "clearHooksAndStepDefinitions", "(", ")", ";", "worldFactory", "=", "null", ";", "GroovyShell", "shell", "=", "new", "GroovyShell", "(", "new", "Binding", "(", ")", ")", ";", "for", "(", "String", "groovyFile", ":", "groovyFiles", ")", "{", "shell", ".", "evaluate", "(", "new", "File", "(", "groovyFile", ")", ")", ";", "}", "currentWorld", "=", "worldFactory", "==", "null", "?", "new", "Object", "(", ")", ":", "worldFactory", ".", "call", "(", ")", ";", "}", "public", "void", "end_scenario", "(", ")", "{", "}", "@", "Override", "protected", "Object", "customTransform", "(", "Object", "arg", ",", "Class", "<", "?", ">", "parameterType", ",", "Locale", "locale", ")", "{", "return", "null", ";", "}", "public", "void", "load_code_file", "(", "String", "groovyFile", ")", "throws", "ClassNotFoundException", ",", "IOException", "{", "groovyFiles", ".", "add", "(", "groovyFile", ")", ";", "}", "public", "void", "registerWorldFactory", "(", "Closure", "worldFactory", ")", "{", "if", "(", "this", ".", "worldFactory", "!=", "null", ")", "{", "throw", "new", "RuntimeException", "(", "\"\"", ")", ";", "}", "this", ".", "worldFactory", "=", "worldFactory", ";", "}", "}", "</s>" ]
7,631
[ "<s>", "package", "cuke4duke", ";", "public", "interface", "PyString", "{", "public", "String", "to_s", "(", ")", ";", "}", "</s>" ]
7,632
[ "<s>", "package", "cuke4duke", ".", "annotation", ";", "import", "java", ".", "lang", ".", "annotation", ".", "ElementType", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Retention", ";", "import", "java", ".", "lang", ".", "annotation", ".", "RetentionPolicy", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Target", ";", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "public", "@", "interface", "Pending", "{", "String", "value", "(", ")", "default", "\"TODO\"", ";", "}", "</s>" ]
7,633
[ "<s>", "package", "cuke4duke", ".", "annotation", ";", "import", "java", ".", "lang", ".", "annotation", ".", "ElementType", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Retention", ";", "import", "java", ".", "lang", ".", "annotation", ".", "RetentionPolicy", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Target", ";", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "public", "@", "interface", "Transform", "{", "}", "</s>" ]
7,634
[ "<s>", "package", "cuke4duke", ".", "annotation", ";", "import", "java", ".", "lang", ".", "annotation", ".", "ElementType", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Retention", ";", "import", "java", ".", "lang", ".", "annotation", ".", "RetentionPolicy", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Target", ";", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "public", "@", "interface", "After", "{", "String", "[", "]", "value", "(", ")", "default", "\"\"", ";", "}", "</s>" ]
7,635
[ "<s>", "package", "cuke4duke", ".", "annotation", ";", "import", "cuke4duke", ".", "internal", ".", "java", ".", "annotation", ".", "StepDef", ";", "import", "java", ".", "lang", ".", "annotation", ".", "ElementType", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Retention", ";", "import", "java", ".", "lang", ".", "annotation", ".", "RetentionPolicy", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Target", ";", "public", "interface", "I18n", "{", "public", "class", "AR", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ar\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ar\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ar\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ar\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ar\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ar\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ar\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "BG", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"bg\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"bg\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"bg\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"bg\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"bg\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "CA", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ca\"", ")", "public", "static", "@", "interface", "Aleshores", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ca\"", ")", "public", "static", "@", "interface", "Atesa", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ca\"", ")", "public", "static", "@", "interface", "At-UNK-s", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ca\"", ")", "public", "static", "@", "interface", "Cal", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ca\"", ")", "public", "static", "@", "interface", "Donada", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ca\"", ")", "public", "static", "@", "interface", "Donat", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ca\"", ")", "public", "static", "@", "interface", "I", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ca\"", ")", "public", "static", "@", "interface", "Per-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ca\"", ")", "public", "static", "@", "interface", "Quan", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "CS", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"cs\"", ")", "public", "static", "@", "interface", "A", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"cs\"", ")", "public", "static", "@", "interface", "Atak-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"cs\"", ")", "public", "static", "@", "interface", "Ale", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"cs\"", ")", "public", "static", "@", "interface", "Kdy-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"cs\"", ")", "public", "static", "@", "interface", "Pak", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"cs\"", ")", "public", "static", "@", "interface", "Pokud", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "CY_GB", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"cy-GB\"", ")", "public", "static", "@", "interface", "A", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"cy-GB\"", ")", "public", "static", "@", "interface", "Anrhegediga", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"cy-GB\"", ")", "public", "static", "@", "interface", "Ond", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"cy-GB\"", ")", "public", "static", "@", "interface", "Pryd", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"cy-GB\"", ")", "public", "static", "@", "interface", "Yna", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "DA", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"da\"", ")", "public", "static", "@", "interface", "Givet", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"da\"", ")", "public", "static", "@", "interface", "Men", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"da\"", ")", "public", "static", "@", "interface", "N-UNK-r", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"da\"", ")", "public", "static", "@", "interface", "Og", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"da\"", ")", "public", "static", "@", "interface", "S-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "DE", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"de\"", ")", "public", "static", "@", "interface", "Aber", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"de\"", ")", "public", "static", "@", "interface", "Angenommen", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"de\"", ")", "public", "static", "@", "interface", "Dann", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"de\"", ")", "public", "static", "@", "interface", "Gegebensei", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"de\"", ")", "public", "static", "@", "interface", "Und", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"de\"", ")", "public", "static", "@", "interface", "Wenn", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "EN", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en\"", ")", "public", "static", "@", "interface", "And", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en\"", ")", "public", "static", "@", "interface", "But", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en\"", ")", "public", "static", "@", "interface", "Given", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en\"", ")", "public", "static", "@", "interface", "Then", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en\"", ")", "public", "static", "@", "interface", "When", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "EN_SCOUSE", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-Scouse\"", ")", "public", "static", "@", "interface", "An", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-Scouse\"", ")", "public", "static", "@", "interface", "Buh", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-Scouse\"", ")", "public", "static", "@", "interface", "Denyousegotta", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-Scouse\"", ")", "public", "static", "@", "interface", "Dun", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-Scouse\"", ")", "public", "static", "@", "interface", "Givun", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-Scouse\"", ")", "public", "static", "@", "interface", "Wun", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-Scouse\"", ")", "public", "static", "@", "interface", "Youseknowlikewhen", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-Scouse\"", ")", "public", "static", "@", "interface", "Youseknowwhenyousegot", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "EN_AU", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-au\"", ")", "public", "static", "@", "interface", "Cept", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-au\"", ")", "public", "static", "@", "interface", "N", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-au\"", ")", "public", "static", "@", "interface", "When", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-au\"", ")", "public", "static", "@", "interface", "Yagotta", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-au\"", ")", "public", "static", "@", "interface", "Yaknowhow", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "EN_LOL", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-lol\"", ")", "public", "static", "@", "interface", "AN", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-lol\"", ")", "public", "static", "@", "interface", "BUT", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-lol\"", ")", "public", "static", "@", "interface", "DEN", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-lol\"", ")", "public", "static", "@", "interface", "ICANHAZ", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-lol\"", ")", "public", "static", "@", "interface", "WEN", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "EN_PIRATE", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-pirate\"", ")", "public", "static", "@", "interface", "Avast", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-pirate\"", ")", "public", "static", "@", "interface", "Aye", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-pirate\"", ")", "public", "static", "@", "interface", "Blimey", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-pirate\"", ")", "public", "static", "@", "interface", "Gangway", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-pirate\"", ")", "public", "static", "@", "interface", "Letgoandhaul", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "EN_TX", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-tx\"", ")", "public", "static", "@", "interface", "Andyall", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-tx\"", ")", "public", "static", "@", "interface", "Butyall", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-tx\"", ")", "public", "static", "@", "interface", "Givenyall", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-tx\"", ")", "public", "static", "@", "interface", "Thenyall", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"en-tx\"", ")", "public", "static", "@", "interface", "Whenyall", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "EO", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"eo\"", ")", "public", "static", "@", "interface", "Do", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"eo\"", ")", "public", "static", "@", "interface", "Donita-UNK-o", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"eo\"", ")", "public", "static", "@", "interface", "Kaj", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"eo\"", ")", "public", "static", "@", "interface", "Se", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"eo\"", ")", "public", "static", "@", "interface", "Sed", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "ES", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"es\"", ")", "public", "static", "@", "interface", "Cuando", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"es\"", ")", "public", "static", "@", "interface", "Dado", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"es\"", ")", "public", "static", "@", "interface", "Entonces", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"es\"", ")", "public", "static", "@", "interface", "Pero", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"es\"", ")", "public", "static", "@", "interface", "Y", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "ET", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"et\"", ")", "public", "static", "@", "interface", "Eeldades", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"et\"", ")", "public", "static", "@", "interface", "Ja", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"et\"", ")", "public", "static", "@", "interface", "Kui", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"et\"", ")", "public", "static", "@", "interface", "Kuid", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"et\"", ")", "public", "static", "@", "interface", "Siis", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "FI", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fi\"", ")", "public", "static", "@", "interface", "Ja", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fi\"", ")", "public", "static", "@", "interface", "Kun", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fi\"", ")", "public", "static", "@", "interface", "Mutta", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fi\"", ")", "public", "static", "@", "interface", "Niin", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fi\"", ")", "public", "static", "@", "interface", "Oletetaan", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "FR", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fr\"", ")", "public", "static", "@", "interface", "Alors", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fr\"", ")", "public", "static", "@", "interface", "Et", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fr\"", ")", "public", "static", "@", "interface", "Etantdonn-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fr\"", ")", "public", "static", "@", "interface", "Lorsqu", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fr\"", ")", "public", "static", "@", "interface", "Lorsque", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fr\"", ")", "public", "static", "@", "interface", "Mais", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fr\"", ")", "public", "static", "@", "interface", "Quand", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"fr\"", ")", "public", "static", "@", "interface", "Soit", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "HE", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"he\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"he\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"he\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"he\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"he\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"he\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "HR", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hr\"", ")", "public", "static", "@", "interface", "Ali", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hr\"", ")", "public", "static", "@", "interface", "I", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hr\"", ")", "public", "static", "@", "interface", "Kad", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hr\"", ")", "public", "static", "@", "interface", "Kada", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hr\"", ")", "public", "static", "@", "interface", "Onda", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hr\"", ")", "public", "static", "@", "interface", "Zadan", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hr\"", ")", "public", "static", "@", "interface", "Zadani", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hr\"", ")", "public", "static", "@", "interface", "Zadano", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "HU", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hu\"", ")", "public", "static", "@", "interface", "Adott", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hu\"", ")", "public", "static", "@", "interface", "Akkor", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hu\"", ")", "public", "static", "@", "interface", "Amennyiben", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hu\"", ")", "public", "static", "@", "interface", "Amikor", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hu\"", ")", "public", "static", "@", "interface", "De", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hu\"", ")", "public", "static", "@", "interface", "Ha", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hu\"", ")", "public", "static", "@", "interface", "Majd", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"hu\"", ")", "public", "static", "@", "interface", "-UNK-s", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "ID", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"id\"", ")", "public", "static", "@", "interface", "Dan", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"id\"", ")", "public", "static", "@", "interface", "Dengan", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"id\"", ")", "public", "static", "@", "interface", "Ketika", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"id\"", ")", "public", "static", "@", "interface", "Maka", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"id\"", ")", "public", "static", "@", "interface", "Tapi", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "IT", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"it\"", ")", "public", "static", "@", "interface", "Allora", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"it\"", ")", "public", "static", "@", "interface", "Dato", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"it\"", ")", "public", "static", "@", "interface", "E", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"it\"", ")", "public", "static", "@", "interface", "Ma", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"it\"", ")", "public", "static", "@", "interface", "Quando", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "JA", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ja\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ja\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ja\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ja\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ja\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ja\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ja\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "KO", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ko\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ko\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ko\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ko\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ko\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ko\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ko\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ko\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "LT", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lt\"", ")", "public", "static", "@", "interface", "Bet", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lt\"", ")", "public", "static", "@", "interface", "Duota", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lt\"", ")", "public", "static", "@", "interface", "Ir", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lt\"", ")", "public", "static", "@", "interface", "Kai", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lt\"", ")", "public", "static", "@", "interface", "Tada", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "LU", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lu\"", ")", "public", "static", "@", "interface", "a", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lu\"", ")", "public", "static", "@", "interface", "an", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lu\"", ")", "public", "static", "@", "interface", "awer", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lu\"", ")", "public", "static", "@", "interface", "dann", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lu\"", ")", "public", "static", "@", "interface", "m-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lu\"", ")", "public", "static", "@", "interface", "ugeholl", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lu\"", ")", "public", "static", "@", "interface", "wann", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "LV", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lv\"", ")", "public", "static", "@", "interface", "Bet", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lv\"", ")", "public", "static", "@", "interface", "Ja", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lv\"", ")", "public", "static", "@", "interface", "Kad", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lv\"", ")", "public", "static", "@", "interface", "Tad", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"lv\"", ")", "public", "static", "@", "interface", "Un", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "NL", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"nl\"", ")", "public", "static", "@", "interface", "Als", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"nl\"", ")", "public", "static", "@", "interface", "Dan", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"nl\"", ")", "public", "static", "@", "interface", "En", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"nl\"", ")", "public", "static", "@", "interface", "Gegeven", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"nl\"", ")", "public", "static", "@", "interface", "Maar", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"nl\"", ")", "public", "static", "@", "interface", "Stel", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "NO", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"no\"", ")", "public", "static", "@", "interface", "Gitt", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"no\"", ")", "public", "static", "@", "interface", "Men", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"no\"", ")", "public", "static", "@", "interface", "N-UNK-r", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"no\"", ")", "public", "static", "@", "interface", "Og", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"no\"", ")", "public", "static", "@", "interface", "S-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "PL", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pl\"", ")", "public", "static", "@", "interface", "Ale", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pl\"", ")", "public", "static", "@", "interface", "I", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pl\"", ")", "public", "static", "@", "interface", "Je-UNK-li", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pl\"", ")", "public", "static", "@", "interface", "Je-UNK-eli", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pl\"", ")", "public", "static", "@", "interface", "Maj-UNK-c", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pl\"", ")", "public", "static", "@", "interface", "Oraz", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pl\"", ")", "public", "static", "@", "interface", "Wtedy", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pl\"", ")", "public", "static", "@", "interface", "Zak-UNK-adaj-UNK-c", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "PT", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pt\"", ")", "public", "static", "@", "interface", "Dado", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pt\"", ")", "public", "static", "@", "interface", "E", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pt\"", ")", "public", "static", "@", "interface", "Entao", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pt\"", ")", "public", "static", "@", "interface", "Ent-UNK-o", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pt\"", ")", "public", "static", "@", "interface", "Mas", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"pt\"", ")", "public", "static", "@", "interface", "Quando", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "RO", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ro\"", ")", "public", "static", "@", "interface", "Atunci", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ro\"", ")", "public", "static", "@", "interface", "Cand", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ro\"", ")", "public", "static", "@", "interface", "C-UNK-nd", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ro\"", ")", "public", "static", "@", "interface", "Dar", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ro\"", ")", "public", "static", "@", "interface", "Datfiind", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ro\"", ")", "public", "static", "@", "interface", "Datefiind", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ro\"", ")", "public", "static", "@", "interface", "Datifiind", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ro\"", ")", "public", "static", "@", "interface", "Da-UNK-ifiind", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ro\"", ")", "public", "static", "@", "interface", "Da-UNK-ifiind", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ro\"", ")", "public", "static", "@", "interface", "Si", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ro\"", ")", "public", "static", "@", "interface", "-UNK-i", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ro\"", ")", "public", "static", "@", "interface", "-UNK-i", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "RU", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ru\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ru\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ru\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ru\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ru\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ru\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ru\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ru\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ru\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ru\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"ru\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "SK", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sk\"", ")", "public", "static", "@", "interface", "A", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sk\"", ")", "public", "static", "@", "interface", "Ale", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sk\"", ")", "public", "static", "@", "interface", "Ke-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sk\"", ")", "public", "static", "@", "interface", "Pokia-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sk\"", ")", "public", "static", "@", "interface", "Tak", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "SR_CYRL", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Cyrl\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Cyrl\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Cyrl\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Cyrl\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Cyrl\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Cyrl\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Cyrl\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Cyrl\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "SR_LATN", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Latn\"", ")", "public", "static", "@", "interface", "Ali", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Latn\"", ")", "public", "static", "@", "interface", "I", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Latn\"", ")", "public", "static", "@", "interface", "Kad", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Latn\"", ")", "public", "static", "@", "interface", "Kada", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Latn\"", ")", "public", "static", "@", "interface", "Onda", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Latn\"", ")", "public", "static", "@", "interface", "Zadate", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Latn\"", ")", "public", "static", "@", "interface", "Zadato", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sr-Latn\"", ")", "public", "static", "@", "interface", "Zatati", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "SV", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sv\"", ")", "public", "static", "@", "interface", "Givet", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sv\"", ")", "public", "static", "@", "interface", "Men", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sv\"", ")", "public", "static", "@", "interface", "N-UNK-r", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sv\"", ")", "public", "static", "@", "interface", "Och", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"sv\"", ")", "public", "static", "@", "interface", "S-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "TR", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"tr\"", ")", "public", "static", "@", "interface", "Ama", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"tr\"", ")", "public", "static", "@", "interface", "Diyelimki", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"tr\"", ")", "public", "static", "@", "interface", "E-UNK-erki", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"tr\"", ")", "public", "static", "@", "interface", "Fakat", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"tr\"", ")", "public", "static", "@", "interface", "Ozaman", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"tr\"", ")", "public", "static", "@", "interface", "Ve", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "UK", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uk\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uk\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uk\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uk\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uk\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uk\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uk\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uk\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uk\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uk\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uk\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uk\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "UZ", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uz\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uz\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uz\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uz\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uz\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"uz\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "VI", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"vi\"", ")", "public", "static", "@", "interface", "Bi-UNK-t", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"vi\"", ")", "public", "static", "@", "interface", "Cho", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"vi\"", ")", "public", "static", "@", "interface", "Khi", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"vi\"", ")", "public", "static", "@", "interface", "Nh-UNK-ng", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"vi\"", ")", "public", "static", "@", "interface", "Th-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"vi\"", ")", "public", "static", "@", "interface", "V-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "ZH_CN", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"zh-CN\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"zh-CN\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"zh-CN\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"zh-CN\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"zh-CN\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "public", "class", "ZH_TW", "{", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"zh-TW\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"zh-TW\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"zh-TW\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"zh-TW\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"zh-TW\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "@", "StepDef", "(", "\"zh-TW\"", ")", "public", "static", "@", "interface", "-UNK-", "{", "public", "abstract", "String", "value", "(", ")", ";", "}", "}", "}", "</s>" ]
7,636
[ "<s>", "package", "cuke4duke", ".", "annotation", ";", "import", "java", ".", "lang", ".", "annotation", ".", "ElementType", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Retention", ";", "import", "java", ".", "lang", ".", "annotation", ".", "RetentionPolicy", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Target", ";", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "public", "@", "interface", "Order", "{", "int", "value", "(", ")", ";", "}", "</s>" ]
7,637
[ "<s>", "package", "cuke4duke", ".", "annotation", ";", "import", "java", ".", "lang", ".", "annotation", ".", "ElementType", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Retention", ";", "import", "java", ".", "lang", ".", "annotation", ".", "RetentionPolicy", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Target", ";", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "METHOD", ")", "public", "@", "interface", "Before", "{", "String", "[", "]", "value", "(", ")", "default", "\"\"", ";", "}", "</s>" ]
7,638
[ "<s>", "package", "cuke4duke", ";", "public", "interface", "StepMother", "{", "void", "invoke", "(", "String", "step", ")", ";", "void", "invoke", "(", "String", "step", ",", "Table", "table", ")", ";", "void", "invoke", "(", "String", "step", ",", "String", "multilineString", ")", ";", "String", "ask", "(", "String", "question", ",", "int", "timeoutSecs", ")", ";", "void", "announce", "(", "String", "message", ")", ";", "void", "embed", "(", "String", "file", ",", "String", "mimeType", ")", ";", "}", "</s>" ]
7,639
[ "<s>", "package", "cuke4duke", ";", "public", "interface", "CellConverter", "{", "public", "String", "convertCell", "(", "String", "cellValue", ")", ";", "}", "</s>" ]
7,640
[ "<s>", "package", "cuke4duke", ";", "import", "java", ".", "util", ".", "List", ";", "import", "java", ".", "util", ".", "Map", ";", "public", "interface", "Table", "{", "public", "List", "<", "Map", "<", "String", ",", "String", ">", ">", "hashes", "(", ")", ";", "public", "Map", "<", "String", ",", "String", ">", "rowsHash", "(", ")", ";", "public", "List", "<", "List", "<", "String", ">", ">", "raw", "(", ")", ";", "public", "List", "<", "List", "<", "String", ">", ">", "rows", "(", ")", ";", "public", "void", "diffLists", "(", "List", "<", "List", "<", "String", ">", ">", "table", ")", ";", "public", "void", "diffLists", "(", "List", "<", "List", "<", "String", ">", ">", "table", ",", "Map", "<", "?", ",", "?", ">", "options", ")", ";", "public", "void", "diffHashes", "(", "List", "<", "Map", "<", "String", ",", "String", ">", ">", "table", ")", ";", "public", "void", "diffHashes", "(", "List", "<", "Map", "<", "String", ",", "String", ">", ">", "table", ",", "Map", "<", "?", ",", "?", ">", "options", ")", ";", "public", "void", "mapColumn", "(", "String", "column", ",", "CellConverter", "converter", ")", ";", "public", "void", "mapHeaders", "(", "Map", "<", "Object", ",", "String", ">", "mappings", ")", ";", "}", "</s>" ]
7,641
[ "<s>", "package", "cuke4duke", ".", "spi", ".", "jruby", ";", "import", "cuke4duke", ".", "spi", ".", "ExceptionFactory", ";", "import", "org", ".", "jruby", ".", "RubyClass", ";", "import", "org", ".", "jruby", ".", "RubyModule", ";", "import", "org", ".", "jruby", ".", "exceptions", ".", "RaiseException", ";", "public", "class", "JRubyExceptionFactory", "implements", "ExceptionFactory", "{", "public", "Exception", "error", "(", "String", "errorClass", ",", "String", "message", ")", "{", "RubyModule", "cucumber", "=", "JRuby", ".", "getRuntime", "(", ")", ".", "getModule", "(", "\"Cucumber\"", ")", ";", "RubyClass", "error", "=", "cucumber", ".", "getClass", "(", "errorClass", ")", ";", "return", "new", "RaiseException", "(", "JRuby", ".", "getRuntime", "(", ")", ",", "error", ",", "message", ",", "true", ")", ";", "}", "public", "Exception", "cucumberPending", "(", "String", "message", ")", "{", "return", "error", "(", "\"Pending\"", ",", "message", ")", ";", "}", "public", "Exception", "cucumberArityMismatchError", "(", "String", "message", ")", "{", "return", "error", "(", "\"\"", ",", "message", ")", ";", "}", "}", "</s>" ]
7,642
[ "<s>", "package", "cuke4duke", ".", "spi", ".", "jruby", ";", "import", "org", ".", "jruby", ".", "Ruby", ";", "import", "org", ".", "jruby", ".", "RubyArray", ";", "import", "java", ".", "util", ".", "Collection", ";", "public", "class", "JRuby", "{", "private", "static", "Ruby", "runtime", ";", "public", "static", "void", "setRuntime", "(", "Ruby", "runtime", ")", "{", "JRuby", ".", "runtime", "=", "runtime", ";", "}", "public", "static", "Ruby", "getRuntime", "(", ")", "{", "if", "(", "runtime", "==", "null", ")", "{", "runtime", "=", "Ruby", ".", "getGlobalRuntime", "(", ")", ";", "}", "return", "runtime", ";", "}", "public", "static", "RubyArray", "newArray", "(", "Collection", "<", "?", ">", "collection", ")", "{", "RubyArray", "result", "=", "RubyArray", ".", "newArray", "(", "getRuntime", "(", ")", ")", ";", "for", "(", "Object", "o", ":", "collection", ")", "{", "result", ".", "add", "(", "o", ")", ";", "}", "return", "result", ";", "}", "}", "</s>" ]
7,643
[ "<s>", "package", "cuke4duke", ".", "spi", ".", "jruby", ";", "import", "cuke4duke", ".", "internal", ".", "language", ".", "StepDefinition", ";", "public", "interface", "StepMatch", "{", "String", "file_colon_line", "(", ")", ";", "String", "backtrace_line", "(", ")", ";", "int", "text_length", "(", ")", ";", "StepDefinition", "step_definition", "(", ")", ";", "String", "name", "(", ")", ";", "String", "inspect", "(", ")", ";", "String", "format_args", "(", "Object", "format", ",", "Object", "proc", ")", ";", "String", "format_args", "(", "Object", "format", ")", ";", "String", "format_args", "(", ")", ";", "void", "invoke", "(", "Object", "format", ")", ";", "}", "</s>" ]
7,644
[ "<s>", "package", "cuke4duke", ".", "spi", ";", "public", "interface", "ExceptionFactory", "{", "Exception", "error", "(", "String", "errorClass", ",", "String", "message", ")", ";", "Exception", "cucumberPending", "(", "String", "message", ")", ";", "Exception", "cucumberArityMismatchError", "(", "String", "message", ")", ";", "}", "</s>" ]
7,645
[ "<s>", "package", "cuke4duke", ";", "public", "class", "Steps", "{", "private", "final", "StepMother", "stepMother", ";", "public", "Steps", "(", "StepMother", "stepMother", ")", "{", "this", ".", "stepMother", "=", "stepMother", ";", "}", "protected", "String", "ask", "(", "String", "question", ",", "int", "timeoutSecs", ")", "{", "return", "stepMother", ".", "ask", "(", "question", ",", "timeoutSecs", ")", ";", "}", "protected", "void", "announce", "(", "String", "message", ")", "{", "stepMother", ".", "announce", "(", "message", ")", ";", "}", "protected", "void", "embed", "(", "String", "file", ",", "String", "mimeType", ")", "{", "stepMother", ".", "embed", "(", "file", ",", "mimeType", ")", ";", "}", "public", "void", "Given", "(", "String", "step", ")", "{", "stepMother", ".", "invoke", "(", "step", ")", ";", "}", "public", "void", "Given", "(", "String", "step", ",", "Table", "table", ")", "{", "stepMother", ".", "invoke", "(", "step", ",", "table", ")", ";", "}", "public", "void", "Given", "(", "String", "step", ",", "String", "multilineString", ")", "{", "stepMother", ".", "invoke", "(", "step", ",", "multilineString", ")", ";", "}", "public", "void", "When", "(", "String", "step", ")", "{", "Given", "(", "step", ")", ";", "}", "public", "void", "When", "(", "String", "step", ",", "Table", "table", ")", "{", "Given", "(", "step", ",", "table", ")", ";", "}", "public", "void", "When", "(", "String", "step", ",", "String", "multilineString", ")", "{", "Given", "(", "step", ",", "multilineString", ")", ";", "}", "public", "void", "Then", "(", "String", "step", ")", "{", "Given", "(", "step", ")", ";", "}", "public", "void", "Then", "(", "String", "step", ",", "Table", "table", ")", "{", "Given", "(", "step", ",", "table", ")", ";", "}", "public", "void", "Then", "(", "String", "step", ",", "String", "multilineString", ")", "{", "Given", "(", "step", ",", "multilineString", ")", ";", "}", "}", "</s>" ]
7,646
[ "<s>", "package", "cuke4duke", ";", "public", "interface", "Scenario", "{", "}", "</s>" ]
7,647
[ "<s>", "package", "cuke4duke", ".", "spring", ";", "import", "java", ".", "lang", ".", "annotation", ".", "ElementType", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Retention", ";", "import", "java", ".", "lang", ".", "annotation", ".", "RetentionPolicy", ";", "import", "java", ".", "lang", ".", "annotation", ".", "Target", ";", "@", "Retention", "(", "RetentionPolicy", ".", "RUNTIME", ")", "@", "Target", "(", "ElementType", ".", "TYPE", ")", "public", "@", "interface", "StepDefinitions", "{", "}", "</s>" ]
7,648
[ "<s>", "package", "simple", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Given", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertTrue", ";", "public", "class", "CalledSteps", "{", "private", "boolean", "magic", ";", "@", "Given", "(", "\"^it", "is", "(.*)$\"", ")", "public", "void", "itIs", "(", "String", "what", ")", "{", "if", "(", "what", ".", "equals", "(", "\"magic\"", ")", ")", "{", "magic", "=", "true", ";", "}", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "magicShouldHappen", "(", ")", "{", "assertTrue", "(", "magic", ")", ";", "}", "}", "</s>" ]
7,649
[ "<s>", "package", "simple", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "ZH_CN", ".", "-UNK-", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "ZH_CN", ".", "-UNK-", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "ZH_CN", ".", "-UNK-", ";", "public", "class", "ChineseCalculatorSteps", "{", "@", "-UNK-", "(", "\"\"", ")", "public", "void", "-UNK-", "(", "int", "n", ")", "{", "}", "@", "-UNK-", "(", "\"^-UNK-$\"", ")", "public", "void", "-UNK-", "(", ")", "{", "}", "@", "-UNK-", "(", "\"\"", ")", "public", "void", "-UNK-", "(", "int", "n", ")", "{", "}", "}", "</s>" ]
7,650
[ "<s>", "package", "simple", ";", "import", "cuke4duke", ".", "annotation", ".", "After", ";", "import", "cuke4duke", ".", "annotation", ".", "Before", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertEquals", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertTrue", ";", "public", "class", "HookSteps", "extends", "SuperSteps", "{", "private", "String", "b4WithoutArgs", ";", "private", "static", "String", "myStatic", "=", "\"clean\"", ";", "private", "static", "int", "beforeHookCount", ";", "public", "HookSteps", "(", ")", "{", "beforeHookCount", "=", "0", ";", "}", "@", "Before", "(", "\"\"", ")", "public", "void", "cryWolf", "(", ")", "{", "throw", "new", "RuntimeException", "(", "\"CRY", "WOLF\"", ")", ";", "}", "@", "Before", "public", "void", "setB4WithoutArgs", "(", ")", "{", "beforeHookCount", "++", ";", "b4WithoutArgs", "=", "\"\"", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "thenB4", "(", "String", "b4Value", ")", "{", "assertEquals", "(", "b4Value", ",", "b4", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "thenB4AndForever", "(", "String", "b4AndForeverValue", ")", "{", "assertEquals", "(", "b4AndForeverValue", ",", "b4AndForever", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "setStatic", "(", "String", "newValue", ")", "{", "myStatic", "=", "newValue", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "staticShouldBe", "(", "String", "expected", ")", "{", "assertEquals", "(", "expected", ",", "myStatic", ")", ";", "}", "@", "After", "public", "void", "setAfter", "(", "Object", "scenario", ")", "{", "myStatic", "=", "\"clean\"", ";", "assertEquals", "(", "\"\"", ",", "b4WithoutArgs", ")", ";", "assertEquals", "(", "1", ",", "beforeHookCount", ")", ";", "}", "public", "static", "boolean", "flag", "=", "false", ";", "@", "After", "(", "\"@b4,@nowhere\"", ")", "public", "void", "checkThatRubyBeforeSetsFlag", "(", ")", "{", "assertTrue", "(", "flag", ")", ";", "}", "}", "</s>" ]
7,651
[ "<s>", "package", "simple", ";", "import", "cuke4duke", ".", "CellConverter", ";", "import", "cuke4duke", ".", "Table", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Given", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "cuke4duke", ".", "annotation", ".", "Pending", ";", "import", "java", ".", "util", ".", "*", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertEquals", ";", "public", "class", "StuffSteps", "{", "private", "final", "Map", "<", "String", ",", "Integer", ">", "cukes", ";", "public", "StuffSteps", "(", ")", "{", "cukes", "=", "new", "HashMap", "<", "String", ",", "Integer", ">", "(", ")", ";", "}", "@", "Pending", "(", "\"\"", ")", "@", "Given", "(", "\"\"", ")", "public", "void", "intentionallyPending", "(", ")", "{", "throw", "new", "RuntimeException", "(", "\"\"", ")", ";", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "neverUsed", "(", ")", "{", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "intentionallyFailing", "(", ")", "{", "throw", "new", "RuntimeException", "(", "\"\"", ")", ";", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "iHaveNCukes", "(", "int", "n", ",", "String", "color", ")", "{", "this", ".", "cukes", ".", "put", "(", "color", ",", "n", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "iAddATable", "(", "Table", "table", ")", "{", "List", "<", "List", "<", "String", ">", ">", "diffList", "=", "new", "ArrayList", "<", "List", "<", "String", ">", ">", "(", ")", ";", "diffList", ".", "add", "(", "Arrays", ".", "asList", "(", "\"a\"", ",", "\"b\"", ")", ")", ";", "diffList", ".", "add", "(", "Arrays", ".", "asList", "(", "\"1\"", ",", "\"2\"", ")", ")", ";", "table", ".", "diffLists", "(", "diffList", ")", ";", "List", "<", "Map", "<", "String", ",", "String", ">", ">", "hashes", "=", "new", "ArrayList", "<", "Map", "<", "String", ",", "String", ">", ">", "(", ")", ";", "hashes", ".", "add", "(", "hash", "(", "\"a\"", ",", "\"1\"", ",", "\"b\"", ",", "\"2\"", ")", ")", ";", "hashes", ".", "add", "(", "hash", "(", "\"a\"", ",", "\"1\"", ",", "\"b\"", ",", "\"2\"", ")", ")", ";", "Map", "<", "String", ",", "Boolean", ">", "options", "=", "new", "HashMap", "<", "String", ",", "Boolean", ">", "(", ")", ";", "options", ".", "put", "(", "\"surplus_row\"", ",", "false", ")", ";", "table", ".", "diffHashes", "(", "hashes", ",", "options", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "iAddAString", "(", "String", "s", ")", "{", "assertEquals", "(", "\"HellonWorld\"", ",", "s", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "iShouldHaveNCukes", "(", "int", "n", ",", "String", "color", ")", "{", "int", "number", "=", "cukes", ".", "get", "(", "color", ")", "!=", "null", "?", "cukes", ".", "get", "(", "color", ")", ":", "0", ";", "assertEquals", "(", "n", ",", "number", ")", ";", "}", "public", "void", "thisIsNotAStep", "(", ")", "{", "}", "private", "Map", "<", "String", ",", "String", ">", "hash", "(", "String", "...", "values", ")", "{", "Map", "<", "String", ",", "String", ">", "hash", "=", "new", "HashMap", "<", "String", ",", "String", ">", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "values", ".", "length", ";", "i", "+=", "2", ")", "{", "hash", ".", "put", "(", "values", "[", "i", "]", ",", "values", "[", "i", "+", "1", "]", ")", ";", "}", "return", "hash", ";", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "convertTable", "(", "Table", "t", ")", "{", "t", ".", "mapColumn", "(", "\"b\"", ",", "new", "CellConverter", "(", ")", "{", "public", "String", "convertCell", "(", "String", "cellValue", ")", "{", "return", "\"converted_\"", "+", "cellValue", ";", "}", "}", ")", ";", "t", ".", "mapHeaders", "(", "new", "HashMap", "<", "Object", ",", "String", ">", "(", ")", "{", "{", "put", "(", "\"a\"", ",", "\"A\"", ")", ";", "}", "}", ")", ";", "List", "<", "Map", "<", "String", ",", "String", ">", ">", "hashes", "=", "new", "ArrayList", "<", "Map", "<", "String", ",", "String", ">", ">", "(", ")", ";", "hashes", ".", "add", "(", "hash", "(", "\"A\"", ",", "\"eenie\"", ",", "\"b\"", ",", "\"\"", ")", ")", ";", "hashes", ".", "add", "(", "hash", "(", "\"A\"", ",", "\"miney\"", ",", "\"b\"", ",", "\"\"", ")", ")", ";", "assertEquals", "(", "hashes", ",", "t", ".", "hashes", "(", ")", ")", ";", "}", "}", "</s>" ]
7,652
[ "<s>", "package", "simple", ";", "import", "cuke4duke", ".", "StepMother", ";", "import", "cuke4duke", ".", "Steps", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "fail", ";", "public", "class", "HalfManualSteps", "extends", "Steps", "{", "public", "HalfManualSteps", "(", "StepMother", "stepMother", ")", "{", "super", "(", "stepMother", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "askForInput", "(", ")", "{", "try", "{", "String", "answer", "=", "ask", "(", "\"\"", ",", "5", ")", ";", "fail", "(", "\"\"", ")", ";", "}", "catch", "(", "Exception", "expected", ")", "{", "}", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "shouldTimeOut", "(", ")", "{", "}", "}", "</s>" ]
7,653
[ "<s>", "package", "simple", ";", "import", "cuke4duke", ".", "StepMother", ";", "import", "cuke4duke", ".", "Steps", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "public", "class", "CallingSteps", "extends", "Steps", "{", "public", "CallingSteps", "(", "StepMother", "stepMother", ")", "{", "super", "(", "stepMother", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "iCallAnotherStep", "(", ")", "{", "Given", "(", "\"it", "is", "magic\"", ")", ";", "}", "}", "</s>" ]
7,654
[ "<s>", "package", "simple", ";", "import", "cuke4duke", ".", "annotation", ".", "Before", ";", "public", "abstract", "class", "SuperSteps", "{", "protected", "String", "b4AndForever", "=", "\"notSet\"", ";", "protected", "String", "b4", "=", "\"notSet\"", ";", "@", "Before", "(", "{", "\"\"", ",", "\"\"", "}", ")", "public", "void", "setB4AndForever", "(", "Object", "scenario", ")", "{", "b4AndForever", "=", "\"b4AndForever\"", ";", "}", "@", "Before", "(", "\"@b4\"", ")", "public", "void", "setB4", "(", "Object", "scenario", ")", "{", "b4", "=", "\"b4\"", ";", "}", "}", "</s>" ]
7,655
[ "<s>", "package", "simple", ";", "import", "cuke4duke", ".", "StepMother", ";", "import", "cuke4duke", ".", "Steps", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Given", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "cuke4duke", ".", "annotation", ".", "Transform", ";", "import", "static", "junit", ".", "framework", ".", "Assert", ".", "*", ";", "public", "class", "TransformSteps", "extends", "Steps", "{", "private", "boolean", "exceptionThrown", "=", "false", ";", "private", "User", "user", ";", "private", "boolean", "yes", ";", "public", "TransformSteps", "(", "StepMother", "stepMother", ")", "{", "super", "(", "stepMother", ")", ";", "}", "@", "Transform", "public", "User", "transformStringToUserWithAge", "(", "String", "age", ")", "{", "return", "new", "User", "(", "Integer", ".", "valueOf", "(", "age", ")", ")", ";", "}", "@", "Transform", "public", "boolean", "overrideBooleanPrimitiveTransform", "(", "String", "boolValue", ")", "{", "return", "boolValue", ".", "equals", "(", "\"yes\"", ")", ";", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "transformToA", "(", "int", "value", ")", "{", "assertEquals", "(", "10", ",", "value", ")", ";", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "transformToA", "(", "String", "value", ")", "{", "try", "{", "Given", "(", "\"\"", ",", "value", ")", ";", "}", "catch", "(", "Exception", "e", ")", "{", "exceptionThrown", "=", "true", ";", "}", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "passACar", "(", "Car", "value", ")", "{", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "transformToA", "(", "User", "user", ")", "{", "this", ".", "user", "=", "user", ";", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "iPassYesToAMethodWithBooleanAsParameter", "(", "boolean", "yes", ")", "{", "this", ".", "yes", "=", "yes", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "somethingHappens", "(", ")", "{", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "allIsGood", "(", ")", "{", "assertFalse", "(", "exceptionThrown", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "aUserWithAgeIsCreated", "(", "int", "age", ")", "{", "assertTrue", "(", "this", ".", "user", ".", "age", "==", "age", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "exceptionIsThrown", "(", ")", "{", "assertTrue", "(", "exceptionThrown", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "theParameterIsTrue", "(", ")", "{", "assertTrue", "(", "yes", ")", ";", "}", "public", "static", "class", "Car", "{", "}", "public", "static", "class", "User", "{", "public", "final", "int", "age", ";", "public", "User", "(", "int", "age", ")", "{", "this", ".", "age", "=", "age", ";", "}", "}", "}", "</s>" ]
7,656
[ "<s>", "package", "simple", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "NO", ".", "S-UNK-", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertEquals", ";", "public", "class", "NorwegianSteps", "{", "@", "When", "(", "\"\"", ")", "public", "void", "j-UNK-ViElsker", "(", "String", "hva", ",", "String", "hae", ")", "{", "}", "@", "S-UNK-", "(", "\"\"", ")", "public", "void", "numberShouldBeParserCorrectly", "(", "Double", "d", ")", "{", "assertEquals", "(", "10.4", ",", "d", ",", "0.0", ")", ";", "}", "}", "</s>" ]
7,657
[ "<s>", "package", "org", ".", "books", ".", "domain", ";", "public", "class", "BookQuery", "{", "private", "String", "author", "=", "\"\"", ";", "private", "String", "title", "=", "\"\"", ";", "private", "String", "publisher", "=", "\"\"", ";", "public", "void", "setAuthor", "(", "String", "author", ")", "{", "this", ".", "author", "=", "author", ";", "}", "public", "String", "getAuthor", "(", ")", "{", "return", "author", ";", "}", "public", "void", "setTitle", "(", "String", "title", ")", "{", "this", ".", "title", "=", "title", ";", "}", "public", "String", "getTitle", "(", ")", "{", "return", "title", ";", "}", "public", "void", "setPublisher", "(", "String", "publisher", ")", "{", "this", ".", "publisher", "=", "publisher", ";", "}", "public", "String", "getPublisher", "(", ")", "{", "return", "publisher", ";", "}", "}", "</s>" ]
7,658
[ "<s>", "package", "org", ".", "books", ".", "domain", ";", "import", "javax", ".", "persistence", ".", "*", ";", "@", "Entity", "public", "class", "LineItem", "{", "@", "Id", "@", "GeneratedValue", "(", "strategy", "=", "GenerationType", ".", "AUTO", ")", "private", "long", "id", ";", "@", "ManyToOne", "private", "Book", "book", ";", "private", "int", "quantity", ";", "public", "void", "setBook", "(", "Book", "book", ")", "{", "this", ".", "book", "=", "book", ";", "}", "public", "Book", "getBook", "(", ")", "{", "return", "book", ";", "}", "public", "void", "setQuantity", "(", "int", "quantity", ")", "{", "this", ".", "quantity", "=", "quantity", ";", "}", "public", "int", "getQuantity", "(", ")", "{", "return", "quantity", ";", "}", "}", "</s>" ]
7,659
[ "<s>", "package", "org", ".", "books", ".", "domain", ";", "import", "javax", ".", "persistence", ".", "Entity", ";", "import", "javax", ".", "persistence", ".", "GeneratedValue", ";", "import", "javax", ".", "persistence", ".", "Id", ";", "@", "Entity", "public", "class", "Address", "{", "@", "Id", "@", "GeneratedValue", "private", "long", "id", ";", "}", "</s>" ]
7,660
[ "<s>", "package", "org", ".", "books", ".", "domain", ";", "import", "javax", ".", "persistence", ".", "*", ";", "import", "java", ".", "util", ".", "ArrayList", ";", "import", "java", ".", "util", ".", "List", ";", "@", "Entity", "@", "Table", "(", "name", "=", "\"BOOK_ORDER\"", ")", "public", "class", "Order", "{", "public", "enum", "Status", "{", "Submitted", ",", "InProgress", ",", "Closed", ",", "Canceled", "}", "@", "Id", "@", "GeneratedValue", "(", "strategy", "=", "GenerationType", ".", "AUTO", ")", "private", "long", "id", ";", "private", "double", "price", ";", "@", "Enumerated", "(", "EnumType", ".", "STRING", ")", "private", "Order", ".", "Status", "status", "=", "Status", ".", "Submitted", ";", "@", "OneToOne", "(", "cascade", "=", "CascadeType", ".", "ALL", ",", "fetch", "=", "FetchType", ".", "EAGER", ")", "private", "Address", "address", ";", "@", "OneToOne", "(", "cascade", "=", "CascadeType", ".", "ALL", ",", "fetch", "=", "FetchType", ".", "EAGER", ")", "private", "PaymentInfo", "paymentInfo", ";", "@", "OneToMany", "(", "cascade", "=", "CascadeType", ".", "ALL", ")", "private", "List", "<", "LineItem", ">", "lineItems", "=", "new", "ArrayList", "<", "LineItem", ">", "(", ")", ";", "public", "List", "<", "LineItem", ">", "getLineItems", "(", ")", "{", "return", "lineItems", ";", "}", "public", "long", "getId", "(", ")", "{", "return", "id", ";", "}", "public", "void", "setPrice", "(", "double", "price", ")", "{", "this", ".", "price", "=", "price", ";", "}", "public", "double", "getPrice", "(", ")", "{", "return", "price", ";", "}", "public", "Order", ".", "Status", "getStatus", "(", ")", "{", "return", "status", ";", "}", "public", "void", "setStatus", "(", "Order", ".", "Status", "status", ")", "{", "this", ".", "status", "=", "status", ";", "}", "public", "void", "setAddress", "(", "Address", "address", ")", "{", "this", ".", "address", "=", "address", ";", "}", "public", "Address", "getAddress", "(", ")", "{", "return", "address", ";", "}", "public", "void", "setPaymentInfo", "(", "PaymentInfo", "paymentInfo", ")", "{", "this", ".", "paymentInfo", "=", "paymentInfo", ";", "}", "public", "PaymentInfo", "getPaymentInfo", "(", ")", "{", "return", "paymentInfo", ";", "}", "}", "</s>" ]
7,661
[ "<s>", "package", "org", ".", "books", ".", "domain", ";", "import", "javax", ".", "persistence", ".", "Entity", ";", "import", "javax", ".", "persistence", ".", "GeneratedValue", ";", "import", "javax", ".", "persistence", ".", "Id", ";", "@", "Entity", "public", "class", "PaymentInfo", "{", "@", "Id", "@", "GeneratedValue", "private", "long", "id", ";", "}", "</s>" ]
7,662
[ "<s>", "package", "org", ".", "books", ".", "domain", ";", "import", "javax", ".", "persistence", ".", "*", ";", "@", "Entity", "@", "NamedQuery", "(", "name", "=", "\"findBooks\"", ",", "query", "=", "\"\"", ")", "public", "class", "Book", "{", "@", "Id", "@", "GeneratedValue", "(", "strategy", "=", "GenerationType", ".", "AUTO", ")", "private", "long", "id", ";", "private", "String", "authors", ";", "private", "String", "publisher", ";", "private", "String", "title", ";", "private", "int", "year", ";", "private", "double", "price", ";", "public", "Book", "(", ")", "{", "}", "public", "Book", "(", "String", "author", ",", "String", "title", ",", "int", "year", ",", "String", "publisher", ")", "{", "this", ".", "authors", "=", "author", ";", "this", ".", "title", "=", "title", ";", "this", ".", "year", "=", "year", ";", "this", ".", "publisher", "=", "publisher", ";", "}", "public", "String", "getAuthors", "(", ")", "{", "return", "authors", ";", "}", "public", "void", "setAuthors", "(", "String", "author", ")", "{", "this", ".", "authors", "=", "author", ";", "}", "public", "String", "getTitle", "(", ")", "{", "return", "title", ";", "}", "public", "void", "setTitle", "(", "String", "title", ")", "{", "this", ".", "title", "=", "title", ";", "}", "public", "int", "getYear", "(", ")", "{", "return", "year", ";", "}", "public", "void", "setYear", "(", "int", "year", ")", "{", "this", ".", "year", "=", "year", ";", "}", "public", "String", "getPublisher", "(", ")", "{", "return", "publisher", ";", "}", "public", "void", "setPublisher", "(", "String", "publisher", ")", "{", "this", ".", "publisher", "=", "publisher", ";", "}", "public", "void", "setPrice", "(", "double", "price", ")", "{", "this", ".", "price", "=", "price", ";", "}", "public", "double", "getPrice", "(", ")", "{", "return", "price", ";", "}", "}", "</s>" ]
7,663
[ "<s>", "package", "org", ".", "books", ".", "business", ";", "import", "org", ".", "books", ".", "domain", ".", "Book", ";", "import", "org", ".", "books", ".", "domain", ".", "BookQuery", ";", "import", "javax", ".", "ejb", ".", "Stateless", ";", "import", "javax", ".", "persistence", ".", "EntityManager", ";", "import", "javax", ".", "persistence", ".", "PersistenceContext", ";", "import", "javax", ".", "persistence", ".", "Query", ";", "import", "java", ".", "util", ".", "ArrayList", ";", "import", "java", ".", "util", ".", "List", ";", "@", "Stateless", "public", "class", "CatalogManagerImpl", "implements", "CatalogManager", "{", "@", "PersistenceContext", "(", "unitName", "=", "\"bookstore\"", ")", "private", "EntityManager", "entityManager", ";", "private", "String", "message", "=", "\"first\"", ";", "public", "List", "<", "Book", ">", "searchBooks", "(", "BookQuery", "bookQuery", ")", "{", "if", "(", "(", "bookQuery", ".", "getTitle", "(", ")", "+", "bookQuery", ".", "getAuthor", "(", ")", "+", "bookQuery", ".", "getPublisher", "(", ")", ")", ".", "length", "(", ")", "==", "0", ")", "{", "return", "new", "ArrayList", "<", "Book", ">", "(", ")", ";", "}", "Query", "query", "=", "entityManager", ".", "createNamedQuery", "(", "\"findBooks\"", ")", ";", "query", ".", "setParameter", "(", "\"title\"", ",", "\"%\"", "+", "bookQuery", ".", "getTitle", "(", ")", ".", "toLowerCase", "(", ")", "+", "\"%\"", ")", ";", "query", ".", "setParameter", "(", "\"author\"", ",", "\"%\"", "+", "bookQuery", ".", "getAuthor", "(", ")", ".", "toLowerCase", "(", ")", "+", "\"%\"", ")", ";", "query", ".", "setParameter", "(", "\"publisher\"", ",", "\"%\"", "+", "bookQuery", ".", "getPublisher", "(", ")", ".", "toLowerCase", "(", ")", "+", "\"%\"", ")", ";", "return", "query", ".", "getResultList", "(", ")", ";", "}", "public", "void", "setMessage", "(", "String", "message", ")", "{", "this", ".", "message", "=", "message", ";", "}", "public", "String", "getMessage", "(", ")", "{", "return", "message", ";", "}", "}", "</s>" ]
7,664
[ "<s>", "package", "org", ".", "books", ".", "business", ";", "import", "org", ".", "books", ".", "dao", ".", "OrderDao", ";", "import", "org", ".", "books", ".", "domain", ".", "Address", ";", "import", "org", ".", "books", ".", "domain", ".", "LineItem", ";", "import", "org", ".", "books", ".", "domain", ".", "Order", ";", "import", "org", ".", "books", ".", "domain", ".", "PaymentInfo", ";", "import", "javax", ".", "annotation", ".", "Resource", ";", "import", "javax", ".", "ejb", ".", "EJB", ";", "import", "javax", ".", "ejb", ".", "Stateless", ";", "import", "javax", ".", "jms", ".", "*", ";", "import", "javax", ".", "persistence", ".", "EntityManager", ";", "import", "javax", ".", "persistence", ".", "PersistenceContext", ";", "import", "java", ".", "util", ".", "List", ";", "@", "Stateless", "public", "class", "OrderManagerImpl", "implements", "OrderManager", "{", "@", "PersistenceContext", "(", "unitName", "=", "\"bookstore\"", ")", "EntityManager", "entityManager", ";", "@", "Resource", "ConnectionFactory", "connectionFactory", ";", "@", "Resource", "(", "name", "=", "\"\"", ")", "Queue", "orderQueue", ";", "@", "EJB", "private", "OrderDao", "orderDao", ";", "@", "EJB", "private", "PriceCalculator", "priceCalculator", ";", "public", "void", "createOrder", "(", "List", "<", "LineItem", ">", "lineItems", ",", "Address", "address", ",", "PaymentInfo", "paymentInfo", ")", "throws", "Exception", "{", "double", "price", "=", "priceCalculator", ".", "getTotalPrice", "(", "lineItems", ",", "address", ",", "paymentInfo", ")", ";", "Order", "order", "=", "new", "Order", "(", ")", ";", "for", "(", "LineItem", "lineItem", ":", "lineItems", ")", "{", "order", ".", "getLineItems", "(", ")", ".", "add", "(", "lineItem", ")", ";", "}", "order", ".", "setPrice", "(", "price", ")", ";", "orderDao", ".", "addOrder", "(", "order", ")", ";", "sendOrder", "(", "order", ".", "getId", "(", ")", ")", ";", "}", "public", "void", "sendOrder", "(", "long", "orderId", ")", "throws", "JMSException", "{", "Connection", "connection", "=", "null", ";", "Session", "session", "=", "null", ";", "try", "{", "connection", "=", "connectionFactory", ".", "createConnection", "(", ")", ";", "connection", ".", "start", "(", ")", ";", "session", "=", "connection", ".", "createSession", "(", "false", ",", "Session", ".", "AUTO_ACKNOWLEDGE", ")", ";", "MessageProducer", "producer", "=", "session", ".", "createProducer", "(", "orderQueue", ")", ";", "producer", ".", "setDeliveryMode", "(", "DeliveryMode", ".", "NON_PERSISTENT", ")", ";", "TextMessage", "message", "=", "session", ".", "createTextMessage", "(", "Long", ".", "toString", "(", "orderId", ")", ")", ";", "producer", ".", "send", "(", "message", ")", ";", "}", "finally", "{", "if", "(", "session", "!=", "null", ")", "session", ".", "close", "(", ")", ";", "if", "(", "connection", "!=", "null", ")", "connection", ".", "close", "(", ")", ";", "}", "}", "}", "</s>" ]
7,665
[ "<s>", "package", "org", ".", "books", ".", "business", ";", "import", "org", ".", "books", ".", "domain", ".", "Address", ";", "import", "org", ".", "books", ".", "domain", ".", "LineItem", ";", "import", "org", ".", "books", ".", "domain", ".", "PaymentInfo", ";", "import", "java", ".", "util", ".", "List", ";", "public", "interface", "OrderManager", "{", "public", "void", "createOrder", "(", "List", "<", "LineItem", ">", "lineItems", ",", "Address", "address", ",", "PaymentInfo", "paymentInfo", ")", "throws", "Exception", ";", "}", "</s>" ]
7,666
[ "<s>", "package", "org", ".", "books", ".", "business", ";", "import", "org", ".", "books", ".", "domain", ".", "Book", ";", "import", "org", ".", "books", ".", "domain", ".", "LineItem", ";", "import", "java", ".", "util", ".", "List", ";", "public", "interface", "CartManager", "{", "void", "AddBook", "(", "Book", "book", ",", "int", "quantity", ")", ";", "public", "List", "<", "LineItem", ">", "getLineItems", "(", ")", ";", "double", "getTotalPrice", "(", ")", ";", "void", "checkout", "(", ")", "throws", "Exception", ";", "}", "</s>" ]
7,667
[ "<s>", "package", "org", ".", "books", ".", "business", ";", "import", "org", ".", "books", ".", "domain", ".", "Order", ";", "import", "javax", ".", "annotation", ".", "Resource", ";", "import", "javax", ".", "ejb", ".", "*", ";", "import", "javax", ".", "jms", ".", "JMSException", ";", "import", "javax", ".", "jms", ".", "Message", ";", "import", "javax", ".", "jms", ".", "MessageListener", ";", "import", "javax", ".", "jms", ".", "TextMessage", ";", "import", "javax", ".", "persistence", ".", "EntityManager", ";", "import", "javax", ".", "persistence", ".", "PersistenceContext", ";", "@", "MessageDriven", "public", "class", "OrderProcessor", "implements", "MessageListener", "{", "@", "PersistenceContext", "(", "unitName", "=", "\"bookstore\"", ")", "EntityManager", "entityManager", ";", "@", "Resource", "private", "TimerService", "timerService", ";", "public", "void", "onMessage", "(", "Message", "message", ")", "{", "try", "{", "String", "id", "=", "(", "(", "TextMessage", ")", "message", ")", ".", "getText", "(", ")", ";", "Order", "order", "=", "entityManager", ".", "find", "(", "Order", ".", "class", ",", "Long", ".", "parseLong", "(", "id", ")", ")", ";", "order", ".", "setStatus", "(", "Order", ".", "Status", ".", "InProgress", ")", ";", "}", "catch", "(", "JMSException", "e", ")", "{", "throw", "new", "EJBException", "(", "e", ")", ";", "}", "}", "@", "Timeout", "public", "void", "closeOrder", "(", "Timer", "timer", ")", "throws", "EJBException", "{", "String", "msg", "=", "(", "String", ")", "timer", ".", "getInfo", "(", ")", ";", "Order", "order", "=", "entityManager", ".", "find", "(", "Order", ".", "class", ",", "Long", ".", "parseLong", "(", "msg", ")", ")", ";", "order", ".", "setStatus", "(", "Order", ".", "Status", ".", "Closed", ")", ";", "}", "}", "</s>" ]
7,668
[ "<s>", "package", "org", ".", "books", ".", "business", ";", "import", "org", ".", "books", ".", "domain", ".", "Book", ";", "import", "org", ".", "books", ".", "domain", ".", "BookQuery", ";", "import", "java", ".", "util", ".", "List", ";", "public", "interface", "CatalogManager", "{", "public", "List", "<", "Book", ">", "searchBooks", "(", "BookQuery", "bookQuery", ")", ";", "public", "void", "setMessage", "(", "String", "message", ")", ";", "public", "String", "getMessage", "(", ")", ";", "}", "</s>" ]
7,669
[ "<s>", "package", "org", ".", "books", ".", "business", ";", "import", "org", ".", "books", ".", "domain", ".", "Book", ";", "import", "org", ".", "books", ".", "domain", ".", "LineItem", ";", "import", "javax", ".", "ejb", ".", "EJB", ";", "import", "javax", ".", "ejb", ".", "Stateful", ";", "import", "java", ".", "util", ".", "ArrayList", ";", "import", "java", ".", "util", ".", "List", ";", "@", "Stateful", "public", "class", "CartManagerImpl", "implements", "CartManager", "{", "@", "EJB", "private", "PriceCalculator", "priceCalculator", ";", "@", "EJB", "private", "OrderManager", "orderManager", ";", "private", "List", "<", "LineItem", ">", "lineItems", "=", "new", "ArrayList", "<", "LineItem", ">", "(", ")", ";", "public", "List", "<", "LineItem", ">", "getLineItems", "(", ")", "{", "return", "lineItems", ";", "}", "public", "void", "AddBook", "(", "Book", "book", ",", "int", "quantity", ")", "{", "LineItem", "lineItem", "=", "new", "LineItem", "(", ")", ";", "lineItem", ".", "setBook", "(", "book", ")", ";", "lineItem", ".", "setQuantity", "(", "quantity", ")", ";", "lineItems", ".", "add", "(", "lineItem", ")", ";", "}", "public", "double", "getTotalPrice", "(", ")", "{", "return", "priceCalculator", ".", "getTotalPrice", "(", "lineItems", ",", "null", ",", "null", ")", ";", "}", "public", "void", "checkout", "(", ")", "throws", "Exception", "{", "orderManager", ".", "createOrder", "(", "lineItems", ",", "null", ",", "null", ")", ";", "}", "}", "</s>" ]
7,670
[ "<s>", "package", "org", ".", "books", ".", "business", ";", "import", "org", ".", "books", ".", "domain", ".", "Address", ";", "import", "org", ".", "books", ".", "domain", ".", "LineItem", ";", "import", "org", ".", "books", ".", "domain", ".", "PaymentInfo", ";", "import", "javax", ".", "ejb", ".", "Stateless", ";", "import", "java", ".", "util", ".", "List", ";", "@", "Stateless", "public", "class", "PriceCalculatorImpl", "implements", "PriceCalculator", "{", "public", "double", "getTotalPrice", "(", "List", "<", "LineItem", ">", "lineItems", ",", "Address", "address", ",", "PaymentInfo", "paymentInfo", ")", "{", "double", "totalPrice", "=", "0", ";", "for", "(", "LineItem", "lineItem", ":", "lineItems", ")", "{", "totalPrice", "+=", "lineItem", ".", "getQuantity", "(", ")", "*", "lineItem", ".", "getBook", "(", ")", ".", "getPrice", "(", ")", ";", "}", "return", "totalPrice", ";", "}", "}", "</s>" ]
7,671
[ "<s>", "package", "org", ".", "books", ".", "business", ";", "import", "org", ".", "books", ".", "domain", ".", "Address", ";", "import", "org", ".", "books", ".", "domain", ".", "LineItem", ";", "import", "org", ".", "books", ".", "domain", ".", "PaymentInfo", ";", "import", "java", ".", "util", ".", "List", ";", "public", "interface", "PriceCalculator", "{", "public", "double", "getTotalPrice", "(", "List", "<", "LineItem", ">", "lineItems", ",", "Address", "address", ",", "PaymentInfo", "paymentInfo", ")", ";", "}", "</s>" ]
7,672
[ "<s>", "package", "org", ".", "books", ".", "dao", ";", "import", "org", ".", "books", ".", "domain", ".", "Book", ";", "import", "javax", ".", "ejb", ".", "Stateless", ";", "import", "javax", ".", "persistence", ".", "EntityManager", ";", "import", "javax", ".", "persistence", ".", "PersistenceContext", ";", "import", "javax", ".", "persistence", ".", "Query", ";", "import", "java", ".", "util", ".", "List", ";", "@", "Stateless", "public", "class", "BookDaoImpl", "implements", "BookDao", "{", "@", "PersistenceContext", "(", "unitName", "=", "\"bookstore\"", ")", "private", "EntityManager", "entityManager", ";", "public", "void", "addBook", "(", "Book", "book", ")", "throws", "Exception", "{", "entityManager", ".", "persist", "(", "book", ")", ";", "}", "public", "void", "deleteBook", "(", "Book", "book", ")", "throws", "Exception", "{", "entityManager", ".", "remove", "(", "book", ")", ";", "}", "public", "List", "<", "Book", ">", "getBooks", "(", ")", "{", "Query", "query", "=", "entityManager", ".", "createQuery", "(", "\"\"", ")", ";", "return", "query", ".", "getResultList", "(", ")", ";", "}", "}", "</s>" ]
7,673
[ "<s>", "package", "org", ".", "books", ".", "dao", ";", "import", "org", ".", "books", ".", "domain", ".", "Order", ";", "import", "javax", ".", "ejb", ".", "Stateless", ";", "import", "javax", ".", "persistence", ".", "EntityManager", ";", "import", "javax", ".", "persistence", ".", "PersistenceContext", ";", "import", "javax", ".", "persistence", ".", "Query", ";", "import", "java", ".", "util", ".", "List", ";", "@", "Stateless", "public", "class", "OrderDaoImpl", "implements", "OrderDao", "{", "@", "PersistenceContext", "(", "unitName", "=", "\"bookstore\"", ")", "private", "EntityManager", "entityManager", ";", "public", "void", "addOrder", "(", "Order", "order", ")", "throws", "Exception", "{", "entityManager", ".", "persist", "(", "order", ")", ";", "}", "public", "void", "deleteOrder", "(", "Order", "order", ")", "throws", "Exception", "{", "entityManager", ".", "remove", "(", "order", ")", ";", "}", "public", "List", "<", "Order", ">", "getOrders", "(", ")", "{", "Query", "query", "=", "entityManager", ".", "createQuery", "(", "\"\"", ")", ";", "return", "query", ".", "getResultList", "(", ")", ";", "}", "}", "</s>" ]
7,674
[ "<s>", "package", "org", ".", "books", ".", "dao", ";", "import", "org", ".", "books", ".", "domain", ".", "Order", ";", "import", "java", ".", "util", ".", "List", ";", "public", "interface", "OrderDao", "{", "public", "abstract", "void", "addOrder", "(", "Order", "order", ")", "throws", "Exception", ";", "public", "abstract", "void", "deleteOrder", "(", "Order", "order", ")", "throws", "Exception", ";", "public", "abstract", "List", "<", "Order", ">", "getOrders", "(", ")", ";", "}", "</s>" ]
7,675
[ "<s>", "package", "org", ".", "books", ".", "dao", ";", "import", "org", ".", "books", ".", "domain", ".", "Book", ";", "import", "javax", ".", "ejb", ".", "Local", ";", "import", "java", ".", "util", ".", "List", ";", "@", "Local", "public", "interface", "BookDao", "{", "void", "addBook", "(", "Book", "book", ")", "throws", "Exception", ";", "void", "deleteBook", "(", "Book", "book", ")", "throws", "Exception", ";", "List", "<", "Book", ">", "getBooks", "(", ")", ";", "}", "</s>" ]
7,676
[ "<s>", "package", "org", ".", "books", ".", "test", ".", "acceptance", ";", "import", "cuke4duke", ".", "annotation", ".", "After", ";", "import", "javax", ".", "naming", ".", "Context", ";", "import", "javax", ".", "naming", ".", "InitialContext", ";", "import", "javax", ".", "naming", ".", "NamingException", ";", "import", "java", ".", "util", ".", "Properties", ";", "public", "class", "ContainerInitializer", "{", "private", "final", "Context", "context", ";", "public", "ContainerInitializer", "(", ")", "throws", "NamingException", "{", "Properties", "p", "=", "new", "Properties", "(", ")", ";", "p", ".", "put", "(", "Context", ".", "INITIAL_CONTEXT_FACTORY", ",", "\"\"", ")", ";", "p", ".", "put", "(", "\"\"", ",", "\"\"", ")", ";", "p", ".", "put", "(", "\"\"", ",", "\"\"", ")", ";", "p", ".", "put", "(", "\"\"", ",", "\"\"", ")", ";", "p", ".", "put", "(", "\"\"", ",", "\"destroy\"", ")", ";", "p", ".", "put", "(", "\"\"", ",", "\"annotations\"", ")", ";", "context", "=", "new", "InitialContext", "(", "p", ")", ";", "}", "public", "Context", "getContext", "(", ")", "{", "return", "context", ";", "}", "@", "After", "public", "void", "shutdown", "(", ")", "throws", "Exception", "{", "context", ".", "close", "(", ")", ";", "}", "}", "</s>" ]
7,677
[ "<s>", "package", "org", ".", "books", ".", "test", ".", "acceptance", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "org", ".", "apache", ".", "openejb", ".", "api", ".", "LocalClient", ";", "import", "org", ".", "books", ".", "business", ".", "CartManager", ";", "import", "org", ".", "books", ".", "domain", ".", "Book", ";", "import", "javax", ".", "ejb", ".", "EJB", ";", "import", "javax", ".", "naming", ".", "NamingException", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertEquals", ";", "@", "LocalClient", "public", "class", "ShoppingcartSteps", "extends", "ContainerSteps", "{", "@", "EJB", "private", "CartManager", "cartManager", ";", "public", "ShoppingcartSteps", "(", "ContainerInitializer", "initializer", ")", "throws", "NamingException", "{", "super", "(", "initializer", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "iPutABookIntoMyShoppingCart", "(", "double", "price", ")", "{", "Book", "book", "=", "new", "Book", "(", ")", ";", "book", ".", "setPrice", "(", "price", ")", ";", "cartManager", ".", "AddBook", "(", "book", ",", "1", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "myShoppingCartShouldContainLineItems", "(", "int", "count", ")", "{", "assertEquals", "(", "\"\"", ",", "count", ",", "cartManager", ".", "getLineItems", "(", ")", ".", "size", "(", ")", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "theTotalPriceShouldBe", "(", "double", "price", ")", "{", "assertEquals", "(", "\"\"", ",", "price", ",", "cartManager", ".", "getTotalPrice", "(", ")", ",", "0", ")", ";", "}", "}", "</s>" ]
7,678
[ "<s>", "package", "org", ".", "books", ".", "test", ".", "acceptance", ";", "import", "cuke4duke", ".", "annotation", ".", "After", ";", "import", "cuke4duke", ".", "annotation", ".", "Before", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Given", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "org", ".", "apache", ".", "openejb", ".", "api", ".", "LocalClient", ";", "import", "org", ".", "books", ".", "business", ".", "CatalogManager", ";", "import", "org", ".", "books", ".", "dao", ".", "BookDao", ";", "import", "org", ".", "books", ".", "domain", ".", "Book", ";", "import", "org", ".", "books", ".", "domain", ".", "BookQuery", ";", "import", "javax", ".", "ejb", ".", "EJB", ";", "import", "javax", ".", "naming", ".", "NamingException", ";", "import", "java", ".", "util", ".", "List", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertEquals", ";", "@", "LocalClient", "public", "class", "SearchSteps", "extends", "ContainerSteps", "{", "@", "EJB", "private", "BookDao", "bookDao", ";", "@", "EJB", "private", "CatalogManager", "catalogManager", ";", "public", "SearchSteps", "(", "ContainerInitializer", "initializer", ")", "throws", "NamingException", "{", "super", "(", "initializer", ")", ";", "}", "private", "BookQuery", "bookQuery", ";", "private", "List", "<", "Book", ">", "foundBooks", ";", "@", "Before", "public", "void", "init", "(", ")", "{", "bookQuery", "=", "new", "BookQuery", "(", ")", ";", "}", "@", "After", "public", "void", "shutdown", "(", ")", "throws", "NamingException", "{", "context", ".", "close", "(", ")", ";", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "theFollowingBooksWithTable", "(", "cuke4duke", ".", "Table", "table", ")", "throws", "Exception", "{", "for", "(", "List", "<", "String", ">", "row", ":", "table", ".", "rows", "(", ")", ")", "{", "bookDao", ".", "addBook", "(", "new", "Book", "(", "row", ".", "get", "(", "0", ")", ",", "row", ".", "get", "(", "1", ")", ",", "Integer", ".", "parseInt", "(", "(", "row", ".", "get", "(", "2", ")", ")", ")", ",", "row", ".", "get", "(", "3", ")", ")", ")", ";", "}", "}", "@", "When", "(", "\"\"", ")", "public", "void", "searchForAuthor", "(", "String", "author", ")", "{", "bookQuery", ".", "setAuthor", "(", "author", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "searchForTitle", "(", "String", "title", ")", "{", "bookQuery", ".", "setTitle", "(", "title", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "searchForPublisher", "(", "String", "publisher", ")", "{", "bookQuery", ".", "setPublisher", "(", "publisher", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "checkSearchResultCount", "(", "int", "count", ")", "throws", "Exception", "{", "foundBooks", "=", "catalogManager", ".", "searchBooks", "(", "bookQuery", ")", ";", "assertEquals", "(", "\"\"", ",", "count", ",", "foundBooks", ".", "size", "(", ")", ")", ";", "}", "}", "</s>" ]
7,679
[ "<s>", "package", "org", ".", "books", ".", "test", ".", "acceptance", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Given", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "org", ".", "apache", ".", "openejb", ".", "api", ".", "LocalClient", ";", "import", "org", ".", "books", ".", "business", ".", "OrderManager", ";", "import", "org", ".", "books", ".", "domain", ".", "LineItem", ";", "import", "javax", ".", "ejb", ".", "EJB", ";", "import", "javax", ".", "naming", ".", "NamingException", ";", "import", "java", ".", "util", ".", "ArrayList", ";", "import", "java", ".", "util", ".", "List", ";", "@", "LocalClient", "public", "class", "OrderProcessingSteps", "extends", "ContainerSteps", "{", "@", "EJB", "private", "OrderManager", "orderManager", ";", "public", "OrderProcessingSteps", "(", "ContainerInitializer", "initializer", ")", "throws", "NamingException", "{", "super", "(", "initializer", ")", ";", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "createNewOrder", "(", ")", "throws", "Exception", "{", "List", "<", "LineItem", ">", "lineItems", "=", "new", "ArrayList", "<", "LineItem", ">", "(", ")", ";", "orderManager", ".", "createOrder", "(", "lineItems", ",", "null", ",", "null", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "wait", "(", "int", "seconds", ")", "throws", "Exception", "{", "Thread", ".", "sleep", "(", "seconds", "*", "1000", ")", ";", "}", "}", "</s>" ]
7,680
[ "<s>", "package", "org", ".", "books", ".", "test", ".", "acceptance", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Given", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "org", ".", "apache", ".", "openejb", ".", "api", ".", "LocalClient", ";", "import", "org", ".", "books", ".", "business", ".", "CartManager", ";", "import", "org", ".", "books", ".", "dao", ".", "BookDao", ";", "import", "org", ".", "books", ".", "dao", ".", "OrderDao", ";", "import", "org", ".", "books", ".", "domain", ".", "Book", ";", "import", "org", ".", "books", ".", "domain", ".", "Order", ";", "import", "javax", ".", "ejb", ".", "EJB", ";", "import", "javax", ".", "naming", ".", "NamingException", ";", "import", "java", ".", "util", ".", "List", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertEquals", ";", "@", "LocalClient", "public", "class", "CheckoutSteps", "extends", "ContainerSteps", "{", "@", "EJB", "private", "BookDao", "bookDao", ";", "@", "EJB", "private", "OrderDao", "orderDao", ";", "@", "EJB", "private", "CartManager", "cartManager", ";", "public", "CheckoutSteps", "(", "ContainerInitializer", "initializer", ")", "throws", "NamingException", "{", "super", "(", "initializer", ")", ";", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "cartContainsBook", "(", "int", "count", ",", "double", "price", ")", "throws", "Exception", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "{", "Book", "book", "=", "new", "Book", "(", ")", ";", "book", ".", "setPrice", "(", "price", ")", ";", "bookDao", ".", "addBook", "(", "book", ")", ";", "cartManager", ".", "AddBook", "(", "book", ",", "1", ")", ";", "}", "}", "@", "When", "(", "\"\"", ")", "public", "void", "checkoutCart", "(", ")", "throws", "Exception", "{", "cartManager", ".", "checkout", "(", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "checkOrderCreationAndPrice", "(", "double", "price", ")", "{", "List", "<", "Order", ">", "orders", "=", "orderDao", ".", "getOrders", "(", ")", ";", "assertEquals", "(", "1", ",", "orders", ".", "size", "(", ")", ")", ";", "Order", "order", "=", "orders", ".", "get", "(", "0", ")", ";", "assertEquals", "(", "price", ",", "order", ".", "getPrice", "(", ")", ",", "0", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "theOrderStateShouldBe", "(", "String", "state", ")", "{", "Order", ".", "Status", "status", "=", "Order", ".", "Status", ".", "valueOf", "(", "state", ")", ";", "List", "<", "Order", ">", "orders", "=", "orderDao", ".", "getOrders", "(", ")", ";", "assertEquals", "(", "1", ",", "orders", ".", "size", "(", ")", ")", ";", "Order", "order", "=", "orders", ".", "get", "(", "0", ")", ";", "assertEquals", "(", "status", ",", "order", ".", "getStatus", "(", ")", ")", ";", "}", "}", "</s>" ]
7,681
[ "<s>", "package", "org", ".", "books", ".", "test", ".", "acceptance", ";", "import", "javax", ".", "naming", ".", "Context", ";", "import", "javax", ".", "naming", ".", "NamingException", ";", "public", "abstract", "class", "ContainerSteps", "{", "protected", "static", "Context", "context", ";", "public", "ContainerSteps", "(", "ContainerInitializer", "initializer", ")", "throws", "NamingException", "{", "context", "=", "initializer", ".", "getContext", "(", ")", ";", "context", ".", "bind", "(", "\"inject\"", ",", "this", ")", ";", "}", "}", "</s>" ]
7,682
[ "<s>", "package", "billing", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Given", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertTrue", ";", "public", "class", "CalledSteps", "{", "private", "boolean", "magic", ";", "@", "Given", "(", "\"^it", "is", "(.*)$\"", ")", "public", "void", "itIs", "(", "String", "what", ")", "{", "if", "(", "what", ".", "equals", "(", "\"magic\"", ")", ")", "{", "magic", "=", "true", ";", "}", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "magicShouldHappen", "(", ")", "{", "assertTrue", "(", "magic", ")", ";", "}", "}", "</s>" ]
7,683
[ "<s>", "package", "billing", ";", "import", "com", ".", "google", ".", "inject", ".", "Inject", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Given", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "java", ".", "math", ".", "BigDecimal", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertTrue", ";", "public", "class", "BillingSteps", "{", "@", "Inject", "private", "BillingService", "billingService", ";", "private", "Transaction", "transaction", ";", "private", "CreateTransactionResponse", "response", ";", "@", "Given", "(", "\"\"", ")", "public", "void", "iHaveATransaction", "(", ")", "{", "if", "(", "transaction", "!=", "null", ")", "{", "throw", "new", "RuntimeException", "(", "\"\"", ")", ";", "}", "transaction", "=", "new", "Transaction", "(", "\"12345678\"", ",", "new", "BigDecimal", "(", "\"50.00\"", ")", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "iSendTheTransactionToBilling", "(", ")", "{", "response", "=", "billingService", ".", "sendTransactionToBilling", "(", "transaction", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "theResponseShouldBeOK", "(", ")", "{", "assertTrue", "(", "response", ".", "isOK", "(", ")", ")", ";", "}", "}", "</s>" ]
7,684
[ "<s>", "package", "billing", ";", "import", "com", ".", "google", ".", "inject", ".", "Inject", ";", "import", "cuke4duke", ".", "StepMother", ";", "import", "cuke4duke", ".", "Steps", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "public", "class", "CallingSteps", "extends", "Steps", "{", "@", "Inject", "public", "CallingSteps", "(", "StepMother", "stepMother", ")", "{", "super", "(", "stepMother", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "iCallAnotherStep", "(", ")", "{", "Given", "(", "\"it", "is", "magic\"", ")", ";", "}", "}", "</s>" ]
7,685
[ "<s>", "package", "billing", ";", "import", "billing", ".", "CreateTransactionResponse", ".", "Status", ";", "public", "class", "SimpleBillingDatabase", "implements", "BillingDatabase", "{", "public", "Status", "createTransaction", "(", "Transaction", "transaction", ")", "{", "return", "Status", ".", "OK", ";", "}", "}", "</s>" ]
7,686
[ "<s>", "package", "billing", ";", "import", "billing", ".", "CreateTransactionResponse", ".", "Status", ";", "import", "com", ".", "google", ".", "inject", ".", "Inject", ";", "public", "class", "BillingService", "{", "private", "BillingDatabase", "database", ";", "@", "Inject", "public", "BillingService", "(", "BillingDatabase", "database", ")", "{", "this", ".", "database", "=", "database", ";", "}", "public", "CreateTransactionResponse", "sendTransactionToBilling", "(", "Transaction", "transaction", ")", "{", "Status", "status", "=", "database", ".", "createTransaction", "(", "transaction", ")", ";", "return", "new", "CreateTransactionResponse", "(", "status", ",", "\"OK\"", ")", ";", "}", "}", "</s>" ]
7,687
[ "<s>", "package", "billing", ";", "import", "com", ".", "google", ".", "inject", ".", "AbstractModule", ";", "public", "class", "DependenciesModule", "extends", "AbstractModule", "{", "SimpleBillingDatabase", "simpleBillingDatabase", "=", "new", "SimpleBillingDatabase", "(", ")", ";", "@", "Override", "protected", "void", "configure", "(", ")", "{", "bind", "(", "BillingDatabase", ".", "class", ")", ".", "toInstance", "(", "simpleBillingDatabase", ")", ";", "}", "}", "</s>" ]
7,688
[ "<s>", "package", "billing", ";", "import", "billing", ".", "CreateTransactionResponse", ".", "Status", ";", "public", "interface", "BillingDatabase", "{", "public", "Status", "createTransaction", "(", "Transaction", "transaction", ")", ";", "}", "</s>" ]
7,689
[ "<s>", "package", "billing", ";", "import", "java", ".", "math", ".", "BigDecimal", ";", "public", "class", "Transaction", "{", "private", "String", "customerId", ";", "private", "BigDecimal", "amount", ";", "public", "Transaction", "(", "String", "customerId", ",", "BigDecimal", "amount", ")", "{", "this", ".", "customerId", "=", "customerId", ";", "this", ".", "amount", "=", "amount", ";", "}", "@", "Override", "public", "String", "toString", "(", ")", "{", "return", "\"\"", "+", "amount", "+", "\"\"", "+", "customerId", "+", "\"]\"", ";", "}", "}", "</s>" ]
7,690
[ "<s>", "package", "billing", ";", "public", "class", "CreateTransactionResponse", "{", "public", "enum", "Status", "{", "OK", ",", "ERROR", ";", "}", "private", "final", "Status", "status", ";", "private", "final", "String", "description", ";", "public", "CreateTransactionResponse", "(", "Status", "status", ",", "String", "description", ")", "{", "this", ".", "status", "=", "status", ";", "this", ".", "description", "=", "description", ";", "}", "public", "boolean", "isOK", "(", ")", "{", "return", "Status", ".", "OK", ".", "equals", "(", "status", ")", ";", "}", "public", "String", "getDescription", "(", ")", "{", "return", "description", ";", "}", "}", "</s>" ]
7,691
[ "<s>", "package", "cuke4duke", ".", "webdriver", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "org", ".", "openqa", ".", "selenium", ".", "WebDriver", ";", "import", "java", ".", "lang", ".", "reflect", ".", "InvocationTargetException", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertThat", ";", "import", "static", "org", ".", "junit", ".", "matchers", ".", "JUnitMatchers", ".", "containsString", ";", "public", "class", "ResultsPage", "{", "private", "final", "WebDriver", "d", ";", "public", "ResultsPage", "(", "WebDriverFacade", "facade", ")", "throws", "InvocationTargetException", ",", "InstantiationException", ",", "IllegalAccessException", "{", "d", "=", "facade", ".", "getWebDriver", "(", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "shouldSee", "(", "String", "results", ")", "{", "assertThat", "(", "d", ".", "getPageSource", "(", ")", ",", "containsString", "(", "results", ")", ")", ";", "}", "}", "</s>" ]
7,692
[ "<s>", "package", "cuke4duke", ".", "webdriver", ";", "import", "org", ".", "junit", ".", "Test", ";", "import", "java", ".", "lang", ".", "reflect", ".", "InvocationTargetException", ";", "public", "class", "Debugging", "{", "@", "Test", "public", "void", "letsDebug", "(", ")", "throws", "InvocationTargetException", ",", "InstantiationException", ",", "IllegalAccessException", "{", "WebDriverFacade", "wdf", "=", "new", "WebDriverFacade", "(", ")", ";", "ResultsPage", "rp", "=", "new", "ResultsPage", "(", "wdf", ")", ";", "SearchPage", "sp", "=", "new", "SearchPage", "(", "wdf", ")", ";", "sp", ".", "visit", "(", ")", ";", "sp", ".", "search", "(", "\"\"", ")", ";", "rp", ".", "shouldSee", "(", "\"\"", ")", ";", "}", "}", "</s>" ]
7,693
[ "<s>", "package", "cuke4duke", ".", "webdriver", ";", "import", "cuke4duke", ".", "annotation", ".", "After", ";", "import", "org", ".", "openqa", ".", "selenium", ".", "WebDriver", ";", "import", "java", ".", "lang", ".", "reflect", ".", "Constructor", ";", "import", "java", ".", "lang", ".", "reflect", ".", "InvocationTargetException", ";", "public", "class", "WebDriverFacade", "{", "private", "static", "Constructor", "<", "WebDriver", ">", "driverConstructor", "=", "getDriverConstructor", "(", ")", ";", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "private", "static", "Constructor", "<", "WebDriver", ">", "getDriverConstructor", "(", ")", "{", "String", "driverName", "=", "System", ".", "getProperty", "(", "\"\"", ",", "\"\"", ")", ";", "try", "{", "return", "(", "Constructor", "<", "WebDriver", ">", ")", "Thread", ".", "currentThread", "(", ")", ".", "getContextClassLoader", "(", ")", ".", "loadClass", "(", "driverName", ")", ".", "getConstructor", "(", ")", ";", "}", "catch", "(", "Throwable", "problem", ")", "{", "problem", ".", "printStackTrace", "(", ")", ";", "throw", "new", "RuntimeException", "(", "\"\"", "+", "driverName", ",", "problem", ")", ";", "}", "}", "private", "WebDriver", "browser", ";", "public", "WebDriver", "getWebDriver", "(", ")", "throws", "InvocationTargetException", ",", "IllegalAccessException", ",", "InstantiationException", "{", "if", "(", "browser", "==", "null", ")", "{", "browser", "=", "driverConstructor", ".", "newInstance", "(", ")", ";", "}", "return", "browser", ";", "}", "@", "After", "public", "void", "closeBrowser", "(", ")", "throws", "IllegalAccessException", ",", "InvocationTargetException", ",", "InstantiationException", "{", "if", "(", "browser", "!=", "null", ")", "{", "browser", ".", "close", "(", ")", ";", "browser", ".", "quit", "(", ")", ";", "}", "}", "}", "</s>" ]
7,694
[ "<s>", "package", "cuke4duke", ".", "webdriver", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Given", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "org", ".", "openqa", ".", "selenium", ".", "By", ";", "import", "org", ".", "openqa", ".", "selenium", ".", "WebDriver", ";", "import", "org", ".", "openqa", ".", "selenium", ".", "WebElement", ";", "import", "java", ".", "lang", ".", "reflect", ".", "InvocationTargetException", ";", "public", "class", "SearchPage", "{", "private", "final", "WebDriver", "d", ";", "public", "SearchPage", "(", "WebDriverFacade", "facade", ")", "throws", "InvocationTargetException", ",", "InstantiationException", ",", "IllegalAccessException", "{", "d", "=", "facade", ".", "getWebDriver", "(", ")", ";", "}", "@", "Given", "(", "\"\"", ")", "public", "void", "visit", "(", ")", "{", "d", ".", "get", "(", "\"\"", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "search", "(", "String", "query", ")", "{", "WebElement", "searchField", "=", "d", ".", "findElement", "(", "By", ".", "name", "(", "\"q\"", ")", ")", ";", "searchField", ".", "sendKeys", "(", "query", ")", ";", "searchField", ".", "submit", "(", ")", ";", "}", "}", "</s>" ]
7,695
[ "<s>", "package", "calc", ";", "import", "java", ".", "util", ".", "ArrayList", ";", "import", "java", ".", "util", ".", "List", ";", "public", "class", "Calculator", "{", "List", "<", "Double", ">", "stack", "=", "new", "ArrayList", "<", "Double", ">", "(", ")", ";", "public", "void", "push", "(", "double", "arg", ")", "{", "stack", ".", "add", "(", "arg", ")", ";", "}", "public", "double", "divide", "(", ")", "{", "return", "stack", ".", "get", "(", "0", ")", "/", "stack", ".", "get", "(", "1", ")", ";", "}", "}", "</s>" ]
7,696
[ "<s>", "package", "simple", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Given", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "cuke4duke", ".", "spring", ".", "StepDefinitions", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertTrue", ";", "@", "StepDefinitions", "public", "class", "CalledSteps", "{", "private", "boolean", "magic", "=", "false", ";", "@", "Given", "(", "\"\"", ")", "public", "void", "itIsMagic", "(", ")", "{", "this", ".", "magic", "=", "true", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "magicShouldHappen", "(", ")", "{", "assertTrue", "(", "magic", ")", ";", "}", "}", "</s>" ]
7,697
[ "<s>", "package", "simple", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Given", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "Then", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "cuke4duke", ".", "spring", ".", "StepDefinitions", ";", "import", "org", ".", "springframework", ".", "beans", ".", "factory", ".", "annotation", ".", "Autowired", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertEquals", ";", "import", "static", "org", ".", "junit", ".", "Assert", ".", "assertNotNull", ";", "@", "StepDefinitions", "public", "class", "GreeterSteps", "{", "@", "Autowired", "private", "Greeter", "greeter", ";", "private", "String", "helloResponse", ";", "@", "Given", "(", "\"\"", ")", "public", "void", "iHaveAGreeter", "(", ")", "{", "assertNotNull", "(", "greeter", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "iAskTheWorldForHello", "(", ")", "{", "helloResponse", "=", "greeter", ".", "hello", "(", ")", ";", "}", "@", "Then", "(", "\"\"", ")", "public", "void", "theResponseShouldBe", "(", "String", "response", ")", "{", "assertEquals", "(", "response", ",", "helloResponse", ")", ";", "}", "}", "</s>" ]
7,698
[ "<s>", "package", "simple", ";", "import", "cuke4duke", ".", "StepMother", ";", "import", "cuke4duke", ".", "Steps", ";", "import", "cuke4duke", ".", "annotation", ".", "I18n", ".", "EN", ".", "When", ";", "import", "cuke4duke", ".", "spring", ".", "StepDefinitions", ";", "import", "org", ".", "springframework", ".", "beans", ".", "factory", ".", "annotation", ".", "Autowired", ";", "@", "StepDefinitions", "public", "class", "CallingSteps", "extends", "Steps", "{", "@", "Autowired", "public", "CallingSteps", "(", "StepMother", "stepMother", ")", "{", "super", "(", "stepMother", ")", ";", "}", "@", "When", "(", "\"\"", ")", "public", "void", "iCallAnotherStep", "(", ")", "{", "Given", "(", "\"it", "is", "magic\"", ")", ";", "}", "}", "</s>" ]
7,699
[ "<s>", "package", "simple", ";", "import", "org", ".", "springframework", ".", "stereotype", ".", "Component", ";", "@", "Component", "public", "class", "MyGreeter", "implements", "Greeter", "{", "public", "String", "hello", "(", ")", "{", "return", "\"\"", ";", "}", "}", "</s>" ]