-
Notifications
You must be signed in to change notification settings - Fork 1
/
experiment_0000051.json
1 lines (1 loc) · 162 KB
/
experiment_0000051.json
1
[{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","create","War","<\/id>","(","<id>","security","Domain","Ldap","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"LdapLoginModuleTestCase.java","formatted_lines":["{"," return createWar(SECURITY_DOMAIN_LDAP);","}"],"function_name":"deploymentLdap","function_name_tokens":["deployment","ldap"],"id_body_hash":"e2e332af4304b242217b392f6fbf507a","id_same_identifier_list":[0,1,2,3,3,4,5,5,5,6,7,8,9],"option_correct":"deploymentLdap","options":["getEjbLocalHome","deployment0","deploymentLdap","testGet","testLdap","deployment","getReferenceableInjector"],"options_nlp":["get ejb local home","deployment 0","deployment ldap","test get","test ldap","deployment","get referenceable injector"],"options_random":["getEjbLocalHome","testGet","getReferenceableInjector"],"options_tfidf":["deployment","deployment0","testLdap"],"project_name":"wildfly","source_code_string":"@Deployment(name = SECURITY_DOMAIN_LDAP, testable = false)\n public static WebArchive deploymentLdap() {\n return createWar(SECURITY_DOMAIN_LDAP);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"create","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"War","start_char":17,"line":1},{"index_id":4,"token_group":3,"text":"(","start_char":20,"line":1},{"index_id":5,"token_group":4,"text":"security","start_char":21,"line":1},{"index_id":6,"token_group":5,"text":"Domain","start_char":30,"line":1},{"index_id":7,"token_group":5,"text":"Ldap","start_char":37,"line":1},{"index_id":8,"token_group":5,"text":")","start_char":41,"line":1},{"index_id":9,"token_group":6,"text":";","start_char":42,"line":1},{"index_id":10,"token_group":7,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","create","War","(","security","Domain","Ldap",")",";","}"],"uuid":"d1cc16899ac4a75e7a5741e66363019b"},{"cap_original_tokens":["<SENTENCE_START>","{","try","{","<id>","aws","Signer","<\/id>",".","<id>","validate","Signer","Type","<\/id>","(","<id>","signer","<\/id>",")",";","return","true",";","}","catch","(","<id>","illegal","Argument","Exception","<\/id>","<id>","e","<\/id>",")","{","return","false",";","}","}","<SENTENCE_END\/>"],"file_name":"AWSSignersTests.java","formatted_lines":["{"," try"," {"," AwsSigner.validateSignerType(signer);"," return true;"," }"," catch (IllegalArgumentException e)"," {"," return false;"," }","}"],"function_name":"signerTester","function_name_tokens":["signer","tester"],"id_body_hash":"db000210c12f33618538f2c2b3cbf335","id_same_identifier_list":[0,1,2,3,4,4,5,6,6,6,7,8,9,10,11,12,13,14,15,16,17,17,17,18,19,20,21,22,23,24,25,26],"option_correct":"signerTester","options":["getColumnNumber","signerTester","mutate","createSortedDV","testRotate","validateSignerType","testSortAndDedupByteRefArray"],"options_nlp":["get column number","signer tester","mutate","create sorted dv","test rotate","validate signer type","test sort and dedup byte ref array"],"options_random":["getColumnNumber","mutate","createSortedDV"],"options_tfidf":["validateSignerType","testSortAndDedupByteRefArray","testRotate"],"project_name":"elasticsearch","source_code_string":"private boolean signerTester(String signer) {\n try {\n AwsSigner.validateSignerType(signer);\n return true;\n } catch (IllegalArgumentException e) {\n return false;\n }\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"try","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"{","start_char":4,"line":2},{"index_id":3,"token_group":3,"text":"aws","start_char":8,"line":3},{"index_id":4,"token_group":4,"text":"Signer","start_char":11,"line":3},{"index_id":5,"token_group":4,"text":".","start_char":17,"line":3},{"index_id":6,"token_group":5,"text":"validate","start_char":18,"line":3},{"index_id":7,"token_group":6,"text":"Signer","start_char":26,"line":3},{"index_id":8,"token_group":6,"text":"Type","start_char":32,"line":3},{"index_id":9,"token_group":6,"text":"(","start_char":36,"line":3},{"index_id":10,"token_group":7,"text":"signer","start_char":37,"line":3},{"index_id":11,"token_group":8,"text":")","start_char":43,"line":3},{"index_id":12,"token_group":9,"text":";","start_char":44,"line":3},{"index_id":13,"token_group":10,"text":"return","start_char":8,"line":4},{"index_id":14,"token_group":11,"text":"true","start_char":15,"line":4},{"index_id":15,"token_group":12,"text":";","start_char":19,"line":4},{"index_id":16,"token_group":13,"text":"}","start_char":4,"line":5},{"index_id":17,"token_group":14,"text":"catch","start_char":4,"line":6},{"index_id":18,"token_group":15,"text":"(","start_char":10,"line":6},{"index_id":19,"token_group":16,"text":"illegal","start_char":11,"line":6},{"index_id":20,"token_group":17,"text":"Argument","start_char":18,"line":6},{"index_id":21,"token_group":17,"text":"Exception","start_char":26,"line":6},{"index_id":22,"token_group":17,"text":"e","start_char":36,"line":6},{"index_id":23,"token_group":18,"text":")","start_char":37,"line":6},{"index_id":24,"token_group":19,"text":"{","start_char":4,"line":7},{"index_id":25,"token_group":20,"text":"return","start_char":8,"line":8},{"index_id":26,"token_group":21,"text":"false","start_char":15,"line":8},{"index_id":27,"token_group":22,"text":";","start_char":20,"line":8},{"index_id":28,"token_group":23,"text":"}","start_char":4,"line":9},{"index_id":29,"token_group":24,"text":"}","start_char":0,"line":10}],"tokens_list":["{","try","{","aws","Signer",".","validate","Signer","Type","(","signer",")",";","return","true",";","}","catch","(","illegal","Argument","Exception","e",")","{","return","false",";","}","}"],"uuid":"00d7554d243ae2e3666e39c348822b33"},{"cap_original_tokens":["<SENTENCE_START>","{","if","(","<id>","compound","Result","<\/id>","==","null",")","{","return","<id>","result","<\/id>",";","}","return","<id>","compound","Result","<\/id>",".","<id>","join","<\/id>","(","<id>","result","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"GitUpdateProcess.java","formatted_lines":["{"," if (compoundResult == null)"," {"," return result;"," }"," return compoundResult.join(result);","}"],"function_name":"joinResults","function_name_tokens":["join","results"],"id_body_hash":"f35698e6a9a9c51bc1beec662f0ab68b","id_same_identifier_list":[0,1,2,3,4,4,5,6,7,8,9,10,11,12,13,14,14,15,16,17,18,19,20,21,22],"option_correct":"joinResults","options":["hasMultipleResults","isSearchForTextOccurences","joinResults","createResultsPanel","verifyProperty5","multiRepoJoin","testProjectSpecificUrlCheck"],"options_nlp":["has multiple results","is search for text occurences","join results","create results panel","verify property 5","multi repo join","test project specific url check"],"options_random":["verifyProperty5","testProjectSpecificUrlCheck","isSearchForTextOccurences"],"options_tfidf":["createResultsPanel","hasMultipleResults","multiRepoJoin"],"project_name":"intellij-community","source_code_string":"@NotNull\n private static GitUpdateResult joinResults(@Nullable GitUpdateResult compoundResult, GitUpdateResult result) {\n if (compoundResult == null) {\n return result;\n }\n return compoundResult.join(result);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"if","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"(","start_char":7,"line":1},{"index_id":3,"token_group":3,"text":"compound","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"Result","start_char":16,"line":1},{"index_id":5,"token_group":4,"text":"==","start_char":23,"line":1},{"index_id":6,"token_group":5,"text":"null","start_char":26,"line":1},{"index_id":7,"token_group":6,"text":")","start_char":30,"line":1},{"index_id":8,"token_group":7,"text":"{","start_char":4,"line":2},{"index_id":9,"token_group":8,"text":"return","start_char":8,"line":3},{"index_id":10,"token_group":9,"text":"result","start_char":15,"line":3},{"index_id":11,"token_group":10,"text":";","start_char":21,"line":3},{"index_id":12,"token_group":11,"text":"}","start_char":4,"line":4},{"index_id":13,"token_group":12,"text":"return","start_char":4,"line":5},{"index_id":14,"token_group":13,"text":"compound","start_char":11,"line":5},{"index_id":15,"token_group":14,"text":"Result","start_char":19,"line":5},{"index_id":16,"token_group":14,"text":".","start_char":25,"line":5},{"index_id":17,"token_group":15,"text":"join","start_char":26,"line":5},{"index_id":18,"token_group":16,"text":"(","start_char":30,"line":5},{"index_id":19,"token_group":17,"text":"result","start_char":31,"line":5},{"index_id":20,"token_group":18,"text":")","start_char":37,"line":5},{"index_id":21,"token_group":19,"text":";","start_char":38,"line":5},{"index_id":22,"token_group":20,"text":"}","start_char":0,"line":6}],"tokens_list":["{","if","(","compound","Result","==","null",")","{","return","result",";","}","return","compound","Result",".","join","(","result",")",";","}"],"uuid":"04c887182e7ab45a00ff9ee81be702e9"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","my","Changes","Count","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"ThreesideTextDiffViewerEx.java","formatted_lines":["{"," return myChangesCount;","}"],"function_name":"getChangesCount","function_name_tokens":["get","changes","count"],"id_body_hash":"c1938b714b630e5908a95e3673a236df","id_same_identifier_list":[0,1,2,3,3,3,4,5,6],"option_correct":"getChangesCount","options":["getFileCount","getCount","suggestSelectedFileUrl","getChangesCount","startAnimation","getChanges","collectClassingMethods"],"options_nlp":["get file count","get count","suggest selected file url","get changes count","start animation","get changes","collect classing methods"],"options_random":["suggestSelectedFileUrl","collectClassingMethods","startAnimation"],"options_tfidf":["getChanges","getCount","getFileCount"],"project_name":"intellij-community","source_code_string":"public int getChangesCount() {\n return myChangesCount;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"my","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Changes","start_char":13,"line":1},{"index_id":4,"token_group":3,"text":"Count","start_char":20,"line":1},{"index_id":5,"token_group":3,"text":";","start_char":25,"line":1},{"index_id":6,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","my","Changes","Count",";","}"],"uuid":"17f3944407479c7aedb31ddb6aa5349b"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","page","<\/id>","<id>","index","Key","Tuple","<\/id>","=","new","<id>","page","<\/id>","(","<id>","slice","Blocks","<\/id>","(","<id>","update","Request","<\/id>",".","<id>","get","Blocks","<\/id>","(",")",",","0",",","1",")",")",";","<id>","page","Buffer","<\/id>","<id>","page","Buffer","<\/id>","=","new","<id>","page","Buffer","<\/id>","(","100",")",";","<id>","driver","Factory","<\/id>","<id>","driver","Factory","<\/id>","=","<id>","index","Build","Driver","Factory","Provider","<\/id>",".","<id>","create","Streaming","<\/id>","(","<id>","page","Buffer","<\/id>",",","<id>","index","Key","Tuple","<\/id>",")",";","<id>","driver","<\/id>","<id>","driver","<\/id>","=","<id>","driver","Factory","<\/id>",".","<id>","create","Driver","<\/id>","(","<id>","pipeline","Context","<\/id>",".","<id>","add","Driver","Context","<\/id>","(",")",")",";","<id>","page","Record","Set","<\/id>","<id>","page","Record","Set","<\/id>","=","new","<id>","page","Record","Set","<\/id>","(","<id>","key","Types","<\/id>",",","<id>","index","Key","Tuple","<\/id>",")",";","<id>","plan","Node","Id","<\/id>","<id>","plan","Node","Id","<\/id>","=","<id>","iterables","<\/id>",".","<id>","get","Only","Element","<\/id>","(","<id>","driver","Factory","<\/id>",".","<id>","get","Source","Ids","<\/id>","(",")",")",";","<id>","driver","<\/id>",".","<id>","update","Source","<\/id>","(","new","<id>","task","Source","<\/id>","(","<id>","plan","Node","Id","<\/id>",",","<id>","immutable","Set","<\/id>",".","<id>","of","<\/id>","(","new","<id>","scheduled","Split","<\/id>","(","0",",","new","<id>","split","<\/id>","(","\"index\"",",","new","<id>","index","Split","<\/id>","(","<id>","page","Record","Set","<\/id>",")",")",")",")",",","true",")",")",";","return","new","<id>","streaming","Indexed","Data","<\/id>","(","<id>","output","Types","<\/id>",",","<id>","key","Types","<\/id>",",","<id>","index","Key","Tuple","<\/id>",",","<id>","page","Buffer","<\/id>",",","<id>","driver","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"IndexLoader.java","formatted_lines":["{"," Page indexKeyTuple = new Page(sliceBlocks(updateRequest.getBlocks(), 0, 1));",""," PageBuffer pageBuffer = new PageBuffer(100);"," DriverFactory driverFactory = indexBuildDriverFactoryProvider.createStreaming("," pageBuffer, indexKeyTuple);"," Driver driver = driverFactory.createDriver(pipelineContext.addDriverContext());",""," PageRecordSet pageRecordSet = new PageRecordSet(keyTypes, indexKeyTuple);"," PlanNodeId planNodeId = Iterables.getOnlyElement(driverFactory.getSourceIds());"," driver.updateSource(new TaskSource(planNodeId,"," ImmutableSet.of(new ScheduledSplit(0, new Split(\"index\","," new IndexSplit(pageRecordSet)))), true));",""," return new StreamingIndexedData(outputTypes, keyTypes, indexKeyTuple,"," pageBuffer, driver);","}"],"function_name":"streamIndexDataForSingleKey","function_name_tokens":["stream","index","data","for","single","key"],"id_body_hash":"427db2fd5f47ea954459028ee6cfd322","id_same_identifier_list":[0,1,2,3,3,3,4,5,6,7,8,8,9,10,10,11,12,12,13,14,15,16,17,18,19,20,21,22,22,23,23,24,25,26,26,27,28,29,30,31,31,32,32,33,34,34,34,34,34,35,36,36,37,38,38,39,40,40,40,41,42,43,44,45,46,46,47,48,48,49,50,50,51,52,52,52,53,54,55,56,57,57,57,58,58,58,59,60,61,61,61,62,63,63,64,65,65,65,66,67,68,68,68,69,69,69,70,71,72,73,73,73,74,75,75,76,77,77,77,78,79,80,81,82,83,84,84,85,86,87,87,88,89,89,89,90,91,91,92,93,94,95,96,96,97,98,99,100,101,102,103,104,105,106,106,107,108,108,108,109,110,111,112,113,114,115,116,117,118,119,120,120,120,121,122,122,123,124,124,125,126,126,126,127,128,128,129,130,131,132,133,134],"option_correct":"streamIndexDataForSingleKey","options":["testIndex","index","testCorrectnessOfErrorFunction","isNullableSingleValue","streamIndexDataForSingleKey","getColumnValueForPartitionKey","getAllowRenameTable"],"options_nlp":["test index","index","test correctness of error function","is nullable single value","stream index data for single key","get column value for partition key","get allow rename table"],"options_random":["testCorrectnessOfErrorFunction","isNullableSingleValue","getAllowRenameTable"],"options_tfidf":["getColumnValueForPartitionKey","index","testIndex"],"project_name":"presto","source_code_string":"public IndexedData streamIndexDataForSingleKey(UpdateRequest updateRequest)\n {\n Page indexKeyTuple = new Page(sliceBlocks(updateRequest.getBlocks(), 0, 1));\n\n PageBuffer pageBuffer = new PageBuffer(100);\n DriverFactory driverFactory = indexBuildDriverFactoryProvider.createStreaming(pageBuffer, indexKeyTuple);\n Driver driver = driverFactory.createDriver(pipelineContext.addDriverContext());\n\n PageRecordSet pageRecordSet = new PageRecordSet(keyTypes, indexKeyTuple);\n PlanNodeId planNodeId = Iterables.getOnlyElement(driverFactory.getSourceIds());\n driver.updateSource(new TaskSource(planNodeId, ImmutableSet.of(new ScheduledSplit(0, new Split(\"index\", new IndexSplit(pageRecordSet)))), true));\n\n return new StreamingIndexedData(outputTypes, keyTypes, indexKeyTuple, pageBuffer, driver);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"page","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"index","start_char":9,"line":1},{"index_id":3,"token_group":3,"text":"Key","start_char":14,"line":1},{"index_id":4,"token_group":3,"text":"Tuple","start_char":17,"line":1},{"index_id":5,"token_group":3,"text":"=","start_char":23,"line":1},{"index_id":6,"token_group":4,"text":"new","start_char":25,"line":1},{"index_id":7,"token_group":5,"text":"page","start_char":29,"line":1},{"index_id":8,"token_group":6,"text":"(","start_char":33,"line":1},{"index_id":9,"token_group":7,"text":"slice","start_char":34,"line":1},{"index_id":10,"token_group":8,"text":"Blocks","start_char":39,"line":1},{"index_id":11,"token_group":8,"text":"(","start_char":45,"line":1},{"index_id":12,"token_group":9,"text":"update","start_char":46,"line":1},{"index_id":13,"token_group":10,"text":"Request","start_char":52,"line":1},{"index_id":14,"token_group":10,"text":".","start_char":59,"line":1},{"index_id":15,"token_group":11,"text":"get","start_char":60,"line":1},{"index_id":16,"token_group":12,"text":"Blocks","start_char":63,"line":1},{"index_id":17,"token_group":12,"text":"(","start_char":69,"line":1},{"index_id":18,"token_group":13,"text":")","start_char":70,"line":1},{"index_id":19,"token_group":14,"text":",","start_char":71,"line":1},{"index_id":20,"token_group":15,"text":"0","start_char":73,"line":1},{"index_id":21,"token_group":16,"text":",","start_char":74,"line":1},{"index_id":22,"token_group":17,"text":"1","start_char":76,"line":1},{"index_id":23,"token_group":18,"text":")","start_char":77,"line":1},{"index_id":24,"token_group":19,"text":")","start_char":78,"line":1},{"index_id":25,"token_group":20,"text":";","start_char":79,"line":1},{"index_id":26,"token_group":21,"text":"page","start_char":4,"line":3},{"index_id":27,"token_group":22,"text":"Buffer","start_char":8,"line":3},{"index_id":28,"token_group":22,"text":"page","start_char":15,"line":3},{"index_id":29,"token_group":23,"text":"Buffer","start_char":19,"line":3},{"index_id":30,"token_group":23,"text":"=","start_char":26,"line":3},{"index_id":31,"token_group":24,"text":"new","start_char":28,"line":3},{"index_id":32,"token_group":25,"text":"page","start_char":32,"line":3},{"index_id":33,"token_group":26,"text":"Buffer","start_char":36,"line":3},{"index_id":34,"token_group":26,"text":"(","start_char":42,"line":3},{"index_id":35,"token_group":27,"text":"100","start_char":43,"line":3},{"index_id":36,"token_group":28,"text":")","start_char":46,"line":3},{"index_id":37,"token_group":29,"text":";","start_char":47,"line":3},{"index_id":38,"token_group":30,"text":"driver","start_char":4,"line":4},{"index_id":39,"token_group":31,"text":"Factory","start_char":10,"line":4},{"index_id":40,"token_group":31,"text":"driver","start_char":18,"line":4},{"index_id":41,"token_group":32,"text":"Factory","start_char":24,"line":4},{"index_id":42,"token_group":32,"text":"=","start_char":32,"line":4},{"index_id":43,"token_group":33,"text":"index","start_char":34,"line":4},{"index_id":44,"token_group":34,"text":"Build","start_char":39,"line":4},{"index_id":45,"token_group":34,"text":"Driver","start_char":44,"line":4},{"index_id":46,"token_group":34,"text":"Factory","start_char":50,"line":4},{"index_id":47,"token_group":34,"text":"Provider","start_char":57,"line":4},{"index_id":48,"token_group":34,"text":".","start_char":65,"line":4},{"index_id":49,"token_group":35,"text":"create","start_char":66,"line":4},{"index_id":50,"token_group":36,"text":"Streaming","start_char":72,"line":4},{"index_id":51,"token_group":36,"text":"(","start_char":81,"line":4},{"index_id":52,"token_group":37,"text":"page","start_char":38,"line":5},{"index_id":53,"token_group":38,"text":"Buffer","start_char":42,"line":5},{"index_id":54,"token_group":38,"text":",","start_char":48,"line":5},{"index_id":55,"token_group":39,"text":"index","start_char":50,"line":5},{"index_id":56,"token_group":40,"text":"Key","start_char":55,"line":5},{"index_id":57,"token_group":40,"text":"Tuple","start_char":58,"line":5},{"index_id":58,"token_group":40,"text":")","start_char":63,"line":5},{"index_id":59,"token_group":41,"text":";","start_char":64,"line":5},{"index_id":60,"token_group":42,"text":"driver","start_char":4,"line":6},{"index_id":61,"token_group":43,"text":"driver","start_char":11,"line":6},{"index_id":62,"token_group":44,"text":"=","start_char":18,"line":6},{"index_id":63,"token_group":45,"text":"driver","start_char":20,"line":6},{"index_id":64,"token_group":46,"text":"Factory","start_char":26,"line":6},{"index_id":65,"token_group":46,"text":".","start_char":33,"line":6},{"index_id":66,"token_group":47,"text":"create","start_char":34,"line":6},{"index_id":67,"token_group":48,"text":"Driver","start_char":40,"line":6},{"index_id":68,"token_group":48,"text":"(","start_char":46,"line":6},{"index_id":69,"token_group":49,"text":"pipeline","start_char":47,"line":6},{"index_id":70,"token_group":50,"text":"Context","start_char":55,"line":6},{"index_id":71,"token_group":50,"text":".","start_char":62,"line":6},{"index_id":72,"token_group":51,"text":"add","start_char":63,"line":6},{"index_id":73,"token_group":52,"text":"Driver","start_char":66,"line":6},{"index_id":74,"token_group":52,"text":"Context","start_char":72,"line":6},{"index_id":75,"token_group":52,"text":"(","start_char":79,"line":6},{"index_id":76,"token_group":53,"text":")","start_char":80,"line":6},{"index_id":77,"token_group":54,"text":")","start_char":81,"line":6},{"index_id":78,"token_group":55,"text":";","start_char":82,"line":6},{"index_id":79,"token_group":56,"text":"page","start_char":4,"line":8},{"index_id":80,"token_group":57,"text":"Record","start_char":8,"line":8},{"index_id":81,"token_group":57,"text":"Set","start_char":14,"line":8},{"index_id":82,"token_group":57,"text":"page","start_char":18,"line":8},{"index_id":83,"token_group":58,"text":"Record","start_char":22,"line":8},{"index_id":84,"token_group":58,"text":"Set","start_char":28,"line":8},{"index_id":85,"token_group":58,"text":"=","start_char":32,"line":8},{"index_id":86,"token_group":59,"text":"new","start_char":34,"line":8},{"index_id":87,"token_group":60,"text":"page","start_char":38,"line":8},{"index_id":88,"token_group":61,"text":"Record","start_char":42,"line":8},{"index_id":89,"token_group":61,"text":"Set","start_char":48,"line":8},{"index_id":90,"token_group":61,"text":"(","start_char":51,"line":8},{"index_id":91,"token_group":62,"text":"key","start_char":52,"line":8},{"index_id":92,"token_group":63,"text":"Types","start_char":55,"line":8},{"index_id":93,"token_group":63,"text":",","start_char":60,"line":8},{"index_id":94,"token_group":64,"text":"index","start_char":62,"line":8},{"index_id":95,"token_group":65,"text":"Key","start_char":67,"line":8},{"index_id":96,"token_group":65,"text":"Tuple","start_char":70,"line":8},{"index_id":97,"token_group":65,"text":")","start_char":75,"line":8},{"index_id":98,"token_group":66,"text":";","start_char":76,"line":8},{"index_id":99,"token_group":67,"text":"plan","start_char":4,"line":9},{"index_id":100,"token_group":68,"text":"Node","start_char":8,"line":9},{"index_id":101,"token_group":68,"text":"Id","start_char":12,"line":9},{"index_id":102,"token_group":68,"text":"plan","start_char":15,"line":9},{"index_id":103,"token_group":69,"text":"Node","start_char":19,"line":9},{"index_id":104,"token_group":69,"text":"Id","start_char":23,"line":9},{"index_id":105,"token_group":69,"text":"=","start_char":26,"line":9},{"index_id":106,"token_group":70,"text":"iterables","start_char":28,"line":9},{"index_id":107,"token_group":71,"text":".","start_char":37,"line":9},{"index_id":108,"token_group":72,"text":"get","start_char":38,"line":9},{"index_id":109,"token_group":73,"text":"Only","start_char":41,"line":9},{"index_id":110,"token_group":73,"text":"Element","start_char":45,"line":9},{"index_id":111,"token_group":73,"text":"(","start_char":52,"line":9},{"index_id":112,"token_group":74,"text":"driver","start_char":53,"line":9},{"index_id":113,"token_group":75,"text":"Factory","start_char":59,"line":9},{"index_id":114,"token_group":75,"text":".","start_char":66,"line":9},{"index_id":115,"token_group":76,"text":"get","start_char":67,"line":9},{"index_id":116,"token_group":77,"text":"Source","start_char":70,"line":9},{"index_id":117,"token_group":77,"text":"Ids","start_char":76,"line":9},{"index_id":118,"token_group":77,"text":"(","start_char":79,"line":9},{"index_id":119,"token_group":78,"text":")","start_char":80,"line":9},{"index_id":120,"token_group":79,"text":")","start_char":81,"line":9},{"index_id":121,"token_group":80,"text":";","start_char":82,"line":9},{"index_id":122,"token_group":81,"text":"driver","start_char":4,"line":10},{"index_id":123,"token_group":82,"text":".","start_char":10,"line":10},{"index_id":124,"token_group":83,"text":"update","start_char":11,"line":10},{"index_id":125,"token_group":84,"text":"Source","start_char":17,"line":10},{"index_id":126,"token_group":84,"text":"(","start_char":23,"line":10},{"index_id":127,"token_group":85,"text":"new","start_char":24,"line":10},{"index_id":128,"token_group":86,"text":"task","start_char":28,"line":10},{"index_id":129,"token_group":87,"text":"Source","start_char":32,"line":10},{"index_id":130,"token_group":87,"text":"(","start_char":38,"line":10},{"index_id":131,"token_group":88,"text":"plan","start_char":39,"line":10},{"index_id":132,"token_group":89,"text":"Node","start_char":43,"line":10},{"index_id":133,"token_group":89,"text":"Id","start_char":47,"line":10},{"index_id":134,"token_group":89,"text":",","start_char":49,"line":10},{"index_id":135,"token_group":90,"text":"immutable","start_char":39,"line":11},{"index_id":136,"token_group":91,"text":"Set","start_char":48,"line":11},{"index_id":137,"token_group":91,"text":".","start_char":51,"line":11},{"index_id":138,"token_group":92,"text":"of","start_char":52,"line":11},{"index_id":139,"token_group":93,"text":"(","start_char":54,"line":11},{"index_id":140,"token_group":94,"text":"new","start_char":55,"line":11},{"index_id":141,"token_group":95,"text":"scheduled","start_char":59,"line":11},{"index_id":142,"token_group":96,"text":"Split","start_char":68,"line":11},{"index_id":143,"token_group":96,"text":"(","start_char":73,"line":11},{"index_id":144,"token_group":97,"text":"0","start_char":74,"line":11},{"index_id":145,"token_group":98,"text":",","start_char":75,"line":11},{"index_id":146,"token_group":99,"text":"new","start_char":77,"line":11},{"index_id":147,"token_group":100,"text":"split","start_char":81,"line":11},{"index_id":148,"token_group":101,"text":"(","start_char":86,"line":11},{"index_id":149,"token_group":102,"text":"\"index\"","start_char":87,"line":11},{"index_id":150,"token_group":103,"text":",","start_char":94,"line":11},{"index_id":151,"token_group":104,"text":"new","start_char":47,"line":12},{"index_id":152,"token_group":105,"text":"index","start_char":51,"line":12},{"index_id":153,"token_group":106,"text":"Split","start_char":56,"line":12},{"index_id":154,"token_group":106,"text":"(","start_char":61,"line":12},{"index_id":155,"token_group":107,"text":"page","start_char":62,"line":12},{"index_id":156,"token_group":108,"text":"Record","start_char":66,"line":12},{"index_id":157,"token_group":108,"text":"Set","start_char":72,"line":12},{"index_id":158,"token_group":108,"text":")","start_char":75,"line":12},{"index_id":159,"token_group":109,"text":")","start_char":76,"line":12},{"index_id":160,"token_group":110,"text":")","start_char":77,"line":12},{"index_id":161,"token_group":111,"text":")","start_char":78,"line":12},{"index_id":162,"token_group":112,"text":",","start_char":79,"line":12},{"index_id":163,"token_group":113,"text":"true","start_char":81,"line":12},{"index_id":164,"token_group":114,"text":")","start_char":85,"line":12},{"index_id":165,"token_group":115,"text":")","start_char":86,"line":12},{"index_id":166,"token_group":116,"text":";","start_char":87,"line":12},{"index_id":167,"token_group":117,"text":"return","start_char":4,"line":14},{"index_id":168,"token_group":118,"text":"new","start_char":11,"line":14},{"index_id":169,"token_group":119,"text":"streaming","start_char":15,"line":14},{"index_id":170,"token_group":120,"text":"Indexed","start_char":24,"line":14},{"index_id":171,"token_group":120,"text":"Data","start_char":31,"line":14},{"index_id":172,"token_group":120,"text":"(","start_char":35,"line":14},{"index_id":173,"token_group":121,"text":"output","start_char":36,"line":14},{"index_id":174,"token_group":122,"text":"Types","start_char":42,"line":14},{"index_id":175,"token_group":122,"text":",","start_char":47,"line":14},{"index_id":176,"token_group":123,"text":"key","start_char":49,"line":14},{"index_id":177,"token_group":124,"text":"Types","start_char":52,"line":14},{"index_id":178,"token_group":124,"text":",","start_char":57,"line":14},{"index_id":179,"token_group":125,"text":"index","start_char":59,"line":14},{"index_id":180,"token_group":126,"text":"Key","start_char":64,"line":14},{"index_id":181,"token_group":126,"text":"Tuple","start_char":67,"line":14},{"index_id":182,"token_group":126,"text":",","start_char":72,"line":14},{"index_id":183,"token_group":127,"text":"page","start_char":36,"line":15},{"index_id":184,"token_group":128,"text":"Buffer","start_char":40,"line":15},{"index_id":185,"token_group":128,"text":",","start_char":46,"line":15},{"index_id":186,"token_group":129,"text":"driver","start_char":48,"line":15},{"index_id":187,"token_group":130,"text":")","start_char":54,"line":15},{"index_id":188,"token_group":131,"text":";","start_char":55,"line":15},{"index_id":189,"token_group":132,"text":"}","start_char":0,"line":16}],"tokens_list":["{","page","index","Key","Tuple","=","new","page","(","slice","Blocks","(","update","Request",".","get","Blocks","(",")",",","0",",","1",")",")",";","page","Buffer","page","Buffer","=","new","page","Buffer","(","100",")",";","driver","Factory","driver","Factory","=","index","Build","Driver","Factory","Provider",".","create","Streaming","(","page","Buffer",",","index","Key","Tuple",")",";","driver","driver","=","driver","Factory",".","create","Driver","(","pipeline","Context",".","add","Driver","Context","(",")",")",";","page","Record","Set","page","Record","Set","=","new","page","Record","Set","(","key","Types",",","index","Key","Tuple",")",";","plan","Node","Id","plan","Node","Id","=","iterables",".","get","Only","Element","(","driver","Factory",".","get","Source","Ids","(",")",")",";","driver",".","update","Source","(","new","task","Source","(","plan","Node","Id",",","immutable","Set",".","of","(","new","scheduled","Split","(","0",",","new","split","(","\"index\"",",","new","index","Split","(","page","Record","Set",")",")",")",")",",","true",")",")",";","return","new","streaming","Indexed","Data","(","output","Types",",","key","Types",",","index","Key","Tuple",",","page","Buffer",",","driver",")",";","}"],"uuid":"925b7467f91d9f7667060922bd6bf140"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","setup","Loading","Filter","<\/id>","(",")",";","<id>","psi","Class","<\/id>","<id>","a","Class","<\/id>","=","<id>","my","Java","Facade","<\/id>",".","<id>","find","Class","<\/id>","(","\"pack.MyClass2\"",",","<id>","global","Search","Scope","<\/id>",".","<id>","all","Scope","<\/id>","(","<id>","my","Project","<\/id>",")",")",";","<id>","string","<\/id>","<id>","package","Name","<\/id>","=","(","(","<id>","psi","Java","File","<\/id>",")","<id>","a","Class","<\/id>",".","<id>","get","Containing","File","<\/id>","(",")",")",".","<id>","get","Package","Name","<\/id>","(",")",";","<id>","assert","Equals","<\/id>","(","\"pack\"",",","<id>","package","Name","<\/id>",")",";","<id>","teardown","Loading","Filter","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"SrcRepositoryUseTest.java","formatted_lines":["{"," setupLoadingFilter();",""," PsiClass aClass = myJavaFacade.findClass(\"pack.MyClass2\","," GlobalSearchScope.allScope(myProject));"," String packageName = ((PsiJavaFile)aClass.getContainingFile()).getPackageName();"," assertEquals(\"pack\", packageName);",""," teardownLoadingFilter();","}"],"function_name":"testPackageName","function_name_tokens":["test","package","name"],"id_body_hash":"8b704cd09581c7b61f58b950836641c3","id_same_identifier_list":[0,1,2,2,2,3,4,5,6,6,7,7,8,9,9,9,10,11,11,12,13,14,15,15,15,16,17,17,18,19,19,20,21,22,23,24,24,25,26,27,28,28,28,29,30,30,31,32,32,32,33,34,35,36,37,37,37,38,39,40,41,41,42,43,44,45,45,46,47,48,48,48,49,50,51,52,53],"option_correct":"testPackageName","options":["testPackageName","testDoNotShowSiblingInheritanceLineMarkerIfSubclassImplementsTheSameInterfaceAsTheCurrentClass","parentPackageName","isExternalSystemAwareModule","setPackage","isSecondSearchPossible","testPackage"],"options_nlp":["test package name","test do not show sibling inheritance line marker if subclass implements the same interface as the current class","parent package name","is external system aware module","set package","is second search possible","test package"],"options_random":["isSecondSearchPossible","testDoNotShowSiblingInheritanceLineMarkerIfSubclassImplementsTheSameInterfaceAsTheCurrentClass","isExternalSystemAwareModule"],"options_tfidf":["setPackage","parentPackageName","testPackage"],"project_name":"intellij-community","source_code_string":"public void testPackageName(){\n setupLoadingFilter();\n\n PsiClass aClass = myJavaFacade.findClass(\"pack.MyClass2\", GlobalSearchScope.allScope(myProject));\n String packageName = ((PsiJavaFile)aClass.getContainingFile()).getPackageName();\n assertEquals(\"pack\", packageName);\n\n teardownLoadingFilter();\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"setup","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Loading","start_char":9,"line":1},{"index_id":3,"token_group":2,"text":"Filter","start_char":16,"line":1},{"index_id":4,"token_group":2,"text":"(","start_char":22,"line":1},{"index_id":5,"token_group":3,"text":")","start_char":23,"line":1},{"index_id":6,"token_group":4,"text":";","start_char":24,"line":1},{"index_id":7,"token_group":5,"text":"psi","start_char":4,"line":3},{"index_id":8,"token_group":6,"text":"Class","start_char":7,"line":3},{"index_id":9,"token_group":6,"text":"a","start_char":13,"line":3},{"index_id":10,"token_group":7,"text":"Class","start_char":14,"line":3},{"index_id":11,"token_group":7,"text":"=","start_char":20,"line":3},{"index_id":12,"token_group":8,"text":"my","start_char":22,"line":3},{"index_id":13,"token_group":9,"text":"Java","start_char":24,"line":3},{"index_id":14,"token_group":9,"text":"Facade","start_char":28,"line":3},{"index_id":15,"token_group":9,"text":".","start_char":34,"line":3},{"index_id":16,"token_group":10,"text":"find","start_char":35,"line":3},{"index_id":17,"token_group":11,"text":"Class","start_char":39,"line":3},{"index_id":18,"token_group":11,"text":"(","start_char":44,"line":3},{"index_id":19,"token_group":12,"text":"\"pack.MyClass2\"","start_char":45,"line":3},{"index_id":20,"token_group":13,"text":",","start_char":60,"line":3},{"index_id":21,"token_group":14,"text":"global","start_char":22,"line":4},{"index_id":22,"token_group":15,"text":"Search","start_char":28,"line":4},{"index_id":23,"token_group":15,"text":"Scope","start_char":34,"line":4},{"index_id":24,"token_group":15,"text":".","start_char":39,"line":4},{"index_id":25,"token_group":16,"text":"all","start_char":40,"line":4},{"index_id":26,"token_group":17,"text":"Scope","start_char":43,"line":4},{"index_id":27,"token_group":17,"text":"(","start_char":48,"line":4},{"index_id":28,"token_group":18,"text":"my","start_char":49,"line":4},{"index_id":29,"token_group":19,"text":"Project","start_char":51,"line":4},{"index_id":30,"token_group":19,"text":")","start_char":58,"line":4},{"index_id":31,"token_group":20,"text":")","start_char":59,"line":4},{"index_id":32,"token_group":21,"text":";","start_char":60,"line":4},{"index_id":33,"token_group":22,"text":"string","start_char":4,"line":5},{"index_id":34,"token_group":23,"text":"package","start_char":11,"line":5},{"index_id":35,"token_group":24,"text":"Name","start_char":18,"line":5},{"index_id":36,"token_group":24,"text":"=","start_char":23,"line":5},{"index_id":37,"token_group":25,"text":"(","start_char":25,"line":5},{"index_id":38,"token_group":26,"text":"(","start_char":26,"line":5},{"index_id":39,"token_group":27,"text":"psi","start_char":27,"line":5},{"index_id":40,"token_group":28,"text":"Java","start_char":30,"line":5},{"index_id":41,"token_group":28,"text":"File","start_char":34,"line":5},{"index_id":42,"token_group":28,"text":")","start_char":38,"line":5},{"index_id":43,"token_group":29,"text":"a","start_char":39,"line":5},{"index_id":44,"token_group":30,"text":"Class","start_char":40,"line":5},{"index_id":45,"token_group":30,"text":".","start_char":45,"line":5},{"index_id":46,"token_group":31,"text":"get","start_char":46,"line":5},{"index_id":47,"token_group":32,"text":"Containing","start_char":49,"line":5},{"index_id":48,"token_group":32,"text":"File","start_char":59,"line":5},{"index_id":49,"token_group":32,"text":"(","start_char":63,"line":5},{"index_id":50,"token_group":33,"text":")","start_char":64,"line":5},{"index_id":51,"token_group":34,"text":")","start_char":65,"line":5},{"index_id":52,"token_group":35,"text":".","start_char":66,"line":5},{"index_id":53,"token_group":36,"text":"get","start_char":67,"line":5},{"index_id":54,"token_group":37,"text":"Package","start_char":70,"line":5},{"index_id":55,"token_group":37,"text":"Name","start_char":77,"line":5},{"index_id":56,"token_group":37,"text":"(","start_char":81,"line":5},{"index_id":57,"token_group":38,"text":")","start_char":82,"line":5},{"index_id":58,"token_group":39,"text":";","start_char":83,"line":5},{"index_id":59,"token_group":40,"text":"assert","start_char":4,"line":6},{"index_id":60,"token_group":41,"text":"Equals","start_char":10,"line":6},{"index_id":61,"token_group":41,"text":"(","start_char":16,"line":6},{"index_id":62,"token_group":42,"text":"\"pack\"","start_char":17,"line":6},{"index_id":63,"token_group":43,"text":",","start_char":23,"line":6},{"index_id":64,"token_group":44,"text":"package","start_char":25,"line":6},{"index_id":65,"token_group":45,"text":"Name","start_char":32,"line":6},{"index_id":66,"token_group":45,"text":")","start_char":36,"line":6},{"index_id":67,"token_group":46,"text":";","start_char":37,"line":6},{"index_id":68,"token_group":47,"text":"teardown","start_char":4,"line":8},{"index_id":69,"token_group":48,"text":"Loading","start_char":12,"line":8},{"index_id":70,"token_group":48,"text":"Filter","start_char":19,"line":8},{"index_id":71,"token_group":48,"text":"(","start_char":25,"line":8},{"index_id":72,"token_group":49,"text":")","start_char":26,"line":8},{"index_id":73,"token_group":50,"text":";","start_char":27,"line":8},{"index_id":74,"token_group":51,"text":"}","start_char":0,"line":9}],"tokens_list":["{","setup","Loading","Filter","(",")",";","psi","Class","a","Class","=","my","Java","Facade",".","find","Class","(","\"pack.MyClass2\"",",","global","Search","Scope",".","all","Scope","(","my","Project",")",")",";","string","package","Name","=","(","(","psi","Java","File",")","a","Class",".","get","Containing","File","(",")",")",".","get","Package","Name","(",")",";","assert","Equals","(","\"pack\"",",","package","Name",")",";","teardown","Loading","Filter","(",")",";","}"],"uuid":"1ad24f9d9c4529408ac73e78e8b3d70d"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","check","Interval","Msecs","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"AggregatedLogDeletionService.java","formatted_lines":["{"," return checkIntervalMsecs;","}"],"function_name":"getCheckIntervalMsecs","function_name_tokens":["get","check","interval","msecs"],"id_body_hash":"1403957f89e12a7e65a9cef1914e9760","id_same_identifier_list":[0,1,2,3,3,3,4,5,6],"option_correct":"getCheckIntervalMsecs","options":["getCheckIntervalMsecs","getPingInterval","getMonitorInterval","verifyCleanupCall","getProgressWallclockTime","getTrashInterval","testReadWrite"],"options_nlp":["get check interval msecs","get ping interval","get monitor interval","verify cleanup call","get progress wallclock time","get trash interval","test read write"],"options_random":["getProgressWallclockTime","verifyCleanupCall","testReadWrite"],"options_tfidf":["getTrashInterval","getPingInterval","getMonitorInterval"],"project_name":"hadoop-common","source_code_string":"public long getCheckIntervalMsecs() {\n return checkIntervalMsecs;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"check","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Interval","start_char":16,"line":1},{"index_id":4,"token_group":3,"text":"Msecs","start_char":24,"line":1},{"index_id":5,"token_group":3,"text":";","start_char":29,"line":1},{"index_id":6,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","check","Interval","Msecs",";","}"],"uuid":"6e59ac67363d9604bbb34f0f9618e42f"},{"cap_original_tokens":["<SENTENCE_START>","{","if","(","<id>","our","Area","Class","2","Configuration","<\/id>",".","<id>","contains","Key","<\/id>","(","<id>","area","Class","<\/id>",")",")","{","<id>","area","Class","Configuration","<\/id>","<id>","configuration","<\/id>","=","<id>","our","Area","Class","2","Configuration","<\/id>",".","<id>","get","<\/id>","(","<id>","area","Class","<\/id>",")",";","if","(","!","<id>","equals","<\/id>","(","<id>","configuration","<\/id>",".","<id>","get","Parent","Class","Name","<\/id>","(",")",",","<id>","parent","Area","Class","<\/id>",")",")","{","throw","new","<id>","runtime","Exception","<\/id>","(","\"Area class already registered: \"","+","<id>","area","Class","<\/id>","+","\", \"","+","<id>","configuration","<\/id>",")",";","}","else","{","return",";","}","}","<id>","area","Class","Configuration","<\/id>","<id>","configuration","<\/id>","=","new","<id>","area","Class","Configuration","<\/id>","(","<id>","area","Class","<\/id>",",","<id>","parent","Area","Class","<\/id>",")",";","<id>","our","Area","Class","2","Configuration","<\/id>",".","<id>","put","<\/id>","(","<id>","area","Class","<\/id>",",","<id>","configuration","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"Extensions.java","formatted_lines":["{"," if (ourAreaClass2Configuration.containsKey(areaClass))"," {",""," AreaClassConfiguration configuration = ourAreaClass2Configuration.get("," areaClass);"," if (!equals(configuration.getParentClassName(), parentAreaClass))"," {"," throw new RuntimeException(\"Area class already registered: \" + areaClass + \", \""," + configuration);"," }"," else"," {"," return;"," }"," }"," AreaClassConfiguration configuration = new AreaClassConfiguration(areaClass,"," parentAreaClass);"," ourAreaClass2Configuration.put(areaClass, configuration);","}"],"function_name":"registerAreaClass","function_name_tokens":["register","area","class"],"id_body_hash":"4d55aa8a664a0503d9a3b1ff81e8daee","id_same_identifier_list":[0,1,2,3,4,4,4,4,4,5,6,6,7,8,8,9,10,11,12,12,12,13,14,15,15,15,15,15,16,17,18,19,19,20,21,22,23,24,25,26,27,28,29,29,29,29,30,31,32,33,33,33,34,35,36,37,38,39,39,40,41,42,43,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,57,57,58,59,60,61,61,61,62,63,63,64,65,65,65,66,67,68,68,68,68,68,69,70,71,72,72,73,74,75,76,77,78],"option_correct":"registerAreaClass","options":["assertArtifactOutputPath","createRootArea","dumpModulesPaths","getUpdateProjectStructureActions","register","createTextArea","registerAreaClass"],"options_nlp":["assert artifact output path","create root area","dump modules paths","get update project structure actions","register","create text area","register area class"],"options_random":["assertArtifactOutputPath","dumpModulesPaths","getUpdateProjectStructureActions"],"options_tfidf":["createTextArea","register","createRootArea"],"project_name":"intellij-community","source_code_string":"public static void registerAreaClass(@NonNls @NotNull String areaClass, @Nullable @NonNls String parentAreaClass) {\n if (ourAreaClass2Configuration.containsKey(areaClass)) {\n \n AreaClassConfiguration configuration = ourAreaClass2Configuration.get(areaClass);\n if (!equals(configuration.getParentClassName(), parentAreaClass)) {\n throw new RuntimeException(\"Area class already registered: \" + areaClass + \", \"+ configuration);\n }\n else {\n return;\n }\n }\n AreaClassConfiguration configuration = new AreaClassConfiguration(areaClass, parentAreaClass);\n ourAreaClass2Configuration.put(areaClass, configuration);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"if","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"(","start_char":7,"line":1},{"index_id":3,"token_group":3,"text":"our","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"Area","start_char":11,"line":1},{"index_id":5,"token_group":4,"text":"Class","start_char":15,"line":1},{"index_id":6,"token_group":4,"text":"2","start_char":20,"line":1},{"index_id":7,"token_group":4,"text":"Configuration","start_char":21,"line":1},{"index_id":8,"token_group":4,"text":".","start_char":34,"line":1},{"index_id":9,"token_group":5,"text":"contains","start_char":35,"line":1},{"index_id":10,"token_group":6,"text":"Key","start_char":43,"line":1},{"index_id":11,"token_group":6,"text":"(","start_char":46,"line":1},{"index_id":12,"token_group":7,"text":"area","start_char":47,"line":1},{"index_id":13,"token_group":8,"text":"Class","start_char":51,"line":1},{"index_id":14,"token_group":8,"text":")","start_char":56,"line":1},{"index_id":15,"token_group":9,"text":")","start_char":57,"line":1},{"index_id":16,"token_group":10,"text":"{","start_char":4,"line":2},{"index_id":17,"token_group":11,"text":"area","start_char":8,"line":4},{"index_id":18,"token_group":12,"text":"Class","start_char":12,"line":4},{"index_id":19,"token_group":12,"text":"Configuration","start_char":17,"line":4},{"index_id":20,"token_group":12,"text":"configuration","start_char":31,"line":4},{"index_id":21,"token_group":13,"text":"=","start_char":45,"line":4},{"index_id":22,"token_group":14,"text":"our","start_char":47,"line":4},{"index_id":23,"token_group":15,"text":"Area","start_char":50,"line":4},{"index_id":24,"token_group":15,"text":"Class","start_char":54,"line":4},{"index_id":25,"token_group":15,"text":"2","start_char":59,"line":4},{"index_id":26,"token_group":15,"text":"Configuration","start_char":60,"line":4},{"index_id":27,"token_group":15,"text":".","start_char":73,"line":4},{"index_id":28,"token_group":16,"text":"get","start_char":74,"line":4},{"index_id":29,"token_group":17,"text":"(","start_char":77,"line":4},{"index_id":30,"token_group":18,"text":"area","start_char":16,"line":5},{"index_id":31,"token_group":19,"text":"Class","start_char":20,"line":5},{"index_id":32,"token_group":19,"text":")","start_char":25,"line":5},{"index_id":33,"token_group":20,"text":";","start_char":26,"line":5},{"index_id":34,"token_group":21,"text":"if","start_char":8,"line":6},{"index_id":35,"token_group":22,"text":"(","start_char":11,"line":6},{"index_id":36,"token_group":23,"text":"!","start_char":12,"line":6},{"index_id":37,"token_group":24,"text":"equals","start_char":13,"line":6},{"index_id":38,"token_group":25,"text":"(","start_char":19,"line":6},{"index_id":39,"token_group":26,"text":"configuration","start_char":20,"line":6},{"index_id":40,"token_group":27,"text":".","start_char":33,"line":6},{"index_id":41,"token_group":28,"text":"get","start_char":34,"line":6},{"index_id":42,"token_group":29,"text":"Parent","start_char":37,"line":6},{"index_id":43,"token_group":29,"text":"Class","start_char":43,"line":6},{"index_id":44,"token_group":29,"text":"Name","start_char":48,"line":6},{"index_id":45,"token_group":29,"text":"(","start_char":52,"line":6},{"index_id":46,"token_group":30,"text":")","start_char":53,"line":6},{"index_id":47,"token_group":31,"text":",","start_char":54,"line":6},{"index_id":48,"token_group":32,"text":"parent","start_char":56,"line":6},{"index_id":49,"token_group":33,"text":"Area","start_char":62,"line":6},{"index_id":50,"token_group":33,"text":"Class","start_char":66,"line":6},{"index_id":51,"token_group":33,"text":")","start_char":71,"line":6},{"index_id":52,"token_group":34,"text":")","start_char":72,"line":6},{"index_id":53,"token_group":35,"text":"{","start_char":8,"line":7},{"index_id":54,"token_group":36,"text":"throw","start_char":12,"line":8},{"index_id":55,"token_group":37,"text":"new","start_char":18,"line":8},{"index_id":56,"token_group":38,"text":"runtime","start_char":22,"line":8},{"index_id":57,"token_group":39,"text":"Exception","start_char":29,"line":8},{"index_id":58,"token_group":39,"text":"(","start_char":38,"line":8},{"index_id":59,"token_group":40,"text":"\"Area class already registered: \"","start_char":39,"line":8},{"index_id":60,"token_group":41,"text":"+","start_char":73,"line":8},{"index_id":61,"token_group":42,"text":"area","start_char":75,"line":8},{"index_id":62,"token_group":43,"text":"Class","start_char":79,"line":8},{"index_id":63,"token_group":43,"text":"+","start_char":85,"line":8},{"index_id":64,"token_group":44,"text":"\", \"","start_char":87,"line":8},{"index_id":65,"token_group":45,"text":"+","start_char":39,"line":9},{"index_id":66,"token_group":46,"text":"configuration","start_char":41,"line":9},{"index_id":67,"token_group":47,"text":")","start_char":54,"line":9},{"index_id":68,"token_group":48,"text":";","start_char":55,"line":9},{"index_id":69,"token_group":49,"text":"}","start_char":8,"line":10},{"index_id":70,"token_group":50,"text":"else","start_char":8,"line":11},{"index_id":71,"token_group":51,"text":"{","start_char":8,"line":12},{"index_id":72,"token_group":52,"text":"return","start_char":12,"line":13},{"index_id":73,"token_group":53,"text":";","start_char":18,"line":13},{"index_id":74,"token_group":54,"text":"}","start_char":8,"line":14},{"index_id":75,"token_group":55,"text":"}","start_char":4,"line":15},{"index_id":76,"token_group":56,"text":"area","start_char":4,"line":16},{"index_id":77,"token_group":57,"text":"Class","start_char":8,"line":16},{"index_id":78,"token_group":57,"text":"Configuration","start_char":13,"line":16},{"index_id":79,"token_group":57,"text":"configuration","start_char":27,"line":16},{"index_id":80,"token_group":58,"text":"=","start_char":41,"line":16},{"index_id":81,"token_group":59,"text":"new","start_char":43,"line":16},{"index_id":82,"token_group":60,"text":"area","start_char":47,"line":16},{"index_id":83,"token_group":61,"text":"Class","start_char":51,"line":16},{"index_id":84,"token_group":61,"text":"Configuration","start_char":56,"line":16},{"index_id":85,"token_group":61,"text":"(","start_char":69,"line":16},{"index_id":86,"token_group":62,"text":"area","start_char":70,"line":16},{"index_id":87,"token_group":63,"text":"Class","start_char":74,"line":16},{"index_id":88,"token_group":63,"text":",","start_char":79,"line":16},{"index_id":89,"token_group":64,"text":"parent","start_char":12,"line":17},{"index_id":90,"token_group":65,"text":"Area","start_char":18,"line":17},{"index_id":91,"token_group":65,"text":"Class","start_char":22,"line":17},{"index_id":92,"token_group":65,"text":")","start_char":27,"line":17},{"index_id":93,"token_group":66,"text":";","start_char":28,"line":17},{"index_id":94,"token_group":67,"text":"our","start_char":4,"line":18},{"index_id":95,"token_group":68,"text":"Area","start_char":7,"line":18},{"index_id":96,"token_group":68,"text":"Class","start_char":11,"line":18},{"index_id":97,"token_group":68,"text":"2","start_char":16,"line":18},{"index_id":98,"token_group":68,"text":"Configuration","start_char":17,"line":18},{"index_id":99,"token_group":68,"text":".","start_char":30,"line":18},{"index_id":100,"token_group":69,"text":"put","start_char":31,"line":18},{"index_id":101,"token_group":70,"text":"(","start_char":34,"line":18},{"index_id":102,"token_group":71,"text":"area","start_char":35,"line":18},{"index_id":103,"token_group":72,"text":"Class","start_char":39,"line":18},{"index_id":104,"token_group":72,"text":",","start_char":44,"line":18},{"index_id":105,"token_group":73,"text":"configuration","start_char":46,"line":18},{"index_id":106,"token_group":74,"text":")","start_char":59,"line":18},{"index_id":107,"token_group":75,"text":";","start_char":60,"line":18},{"index_id":108,"token_group":76,"text":"}","start_char":0,"line":19}],"tokens_list":["{","if","(","our","Area","Class","2","Configuration",".","contains","Key","(","area","Class",")",")","{","area","Class","Configuration","configuration","=","our","Area","Class","2","Configuration",".","get","(","area","Class",")",";","if","(","!","equals","(","configuration",".","get","Parent","Class","Name","(",")",",","parent","Area","Class",")",")","{","throw","new","runtime","Exception","(","\"Area class already registered: \"","+","area","Class","+","\", \"","+","configuration",")",";","}","else","{","return",";","}","}","area","Class","Configuration","configuration","=","new","area","Class","Configuration","(","area","Class",",","parent","Area","Class",")",";","our","Area","Class","2","Configuration",".","put","(","area","Class",",","configuration",")",";","}"],"uuid":"36a4845998725c35f8cf7fc7ea31b627"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","ensure","Exists","<\/id>","(","<id>","implicit","No","Interface","Bean","<\/id>",".","class",",","<id>","implicit","No","Interface","Bean","<\/id>",".","class",",","true",")",";","<id>","ensure","Does","Not","Exist","<\/id>","(","<id>","implicit","No","Interface","Bean","<\/id>",".","class",",","<id>","serializable","<\/id>",".","class",")",";","}","<SENTENCE_END\/>"],"file_name":"EjbLocalViewTestCase.java","formatted_lines":["{"," ensureExists(ImplicitNoInterfaceBean.class, ImplicitNoInterfaceBean.class, true);"," ensureDoesNotExist(ImplicitNoInterfaceBean.class, Serializable.class);","}"],"function_name":"testImplicitNoInterface","function_name_tokens":["test","implicit","no","interface"],"id_body_hash":"c70e1634a886c4f703cfbc9388bcfed9","id_same_identifier_list":[0,1,2,2,3,4,4,4,4,5,6,7,8,8,8,8,9,10,11,12,13,14,15,15,15,15,16,17,17,17,17,18,19,20,21,22,23,24,25,26,27],"option_correct":"testImplicitNoInterface","options":["setClientTransportConfigMetaData","testImplicitNoInterface","addNoInterfaceView","jobOperatorServiceName","testEjbInDifferentSecurityDomain","testSingleImplicitInterface","testSingleImplicitInterfaceWithSerializable"],"options_nlp":["set client transport config meta data","test implicit no interface","add no interface view","job operator service name","test ejb in different security domain","test single implicit interface","test single implicit interface with serializable"],"options_random":["testEjbInDifferentSecurityDomain","setClientTransportConfigMetaData","jobOperatorServiceName"],"options_tfidf":["testSingleImplicitInterface","testSingleImplicitInterfaceWithSerializable","addNoInterfaceView"],"project_name":"wildfly","source_code_string":"@Test\n public void testImplicitNoInterface() throws NamingException {\n ensureExists(ImplicitNoInterfaceBean.class, ImplicitNoInterfaceBean.class, true);\n ensureDoesNotExist(ImplicitNoInterfaceBean.class, Serializable.class);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"ensure","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Exists","start_char":10,"line":1},{"index_id":3,"token_group":2,"text":"(","start_char":16,"line":1},{"index_id":4,"token_group":3,"text":"implicit","start_char":17,"line":1},{"index_id":5,"token_group":4,"text":"No","start_char":25,"line":1},{"index_id":6,"token_group":4,"text":"Interface","start_char":27,"line":1},{"index_id":7,"token_group":4,"text":"Bean","start_char":36,"line":1},{"index_id":8,"token_group":4,"text":".","start_char":40,"line":1},{"index_id":9,"token_group":5,"text":"class","start_char":41,"line":1},{"index_id":10,"token_group":6,"text":",","start_char":46,"line":1},{"index_id":11,"token_group":7,"text":"implicit","start_char":48,"line":1},{"index_id":12,"token_group":8,"text":"No","start_char":56,"line":1},{"index_id":13,"token_group":8,"text":"Interface","start_char":58,"line":1},{"index_id":14,"token_group":8,"text":"Bean","start_char":67,"line":1},{"index_id":15,"token_group":8,"text":".","start_char":71,"line":1},{"index_id":16,"token_group":9,"text":"class","start_char":72,"line":1},{"index_id":17,"token_group":10,"text":",","start_char":77,"line":1},{"index_id":18,"token_group":11,"text":"true","start_char":79,"line":1},{"index_id":19,"token_group":12,"text":")","start_char":83,"line":1},{"index_id":20,"token_group":13,"text":";","start_char":84,"line":1},{"index_id":21,"token_group":14,"text":"ensure","start_char":4,"line":2},{"index_id":22,"token_group":15,"text":"Does","start_char":10,"line":2},{"index_id":23,"token_group":15,"text":"Not","start_char":14,"line":2},{"index_id":24,"token_group":15,"text":"Exist","start_char":17,"line":2},{"index_id":25,"token_group":15,"text":"(","start_char":22,"line":2},{"index_id":26,"token_group":16,"text":"implicit","start_char":23,"line":2},{"index_id":27,"token_group":17,"text":"No","start_char":31,"line":2},{"index_id":28,"token_group":17,"text":"Interface","start_char":33,"line":2},{"index_id":29,"token_group":17,"text":"Bean","start_char":42,"line":2},{"index_id":30,"token_group":17,"text":".","start_char":46,"line":2},{"index_id":31,"token_group":18,"text":"class","start_char":47,"line":2},{"index_id":32,"token_group":19,"text":",","start_char":52,"line":2},{"index_id":33,"token_group":20,"text":"serializable","start_char":54,"line":2},{"index_id":34,"token_group":21,"text":".","start_char":66,"line":2},{"index_id":35,"token_group":22,"text":"class","start_char":67,"line":2},{"index_id":36,"token_group":23,"text":")","start_char":72,"line":2},{"index_id":37,"token_group":24,"text":";","start_char":73,"line":2},{"index_id":38,"token_group":25,"text":"}","start_char":0,"line":3}],"tokens_list":["{","ensure","Exists","(","implicit","No","Interface","Bean",".","class",",","implicit","No","Interface","Bean",".","class",",","true",")",";","ensure","Does","Not","Exist","(","implicit","No","Interface","Bean",".","class",",","serializable",".","class",")",";","}"],"uuid":"006ba08099ba7c9586cd791374333af1"},{"cap_original_tokens":["<SENTENCE_START>","{","if","(","<id>","my","Deaf","<\/id>",")","return",";","if","(","<id>","child","<\/id>","==","null","||","!","<id>","child","<\/id>",".","<id>","is","Valid","<\/id>","(",")",")","return",";","final","<id>","psi","File","<\/id>","<id>","file","<\/id>","=","<id>","child","<\/id>",".","<id>","get","Containing","File","<\/id>","(",")",";","if","(","<id>","file","<\/id>","!=","null",")","{","final","<id>","my","Document","Change","Adapter","<\/id>","<id>","change","Bean","<\/id>","=","<id>","my","Listener","Map","<\/id>",".","<id>","get","<\/id>","(","<id>","file","<\/id>",".","<id>","get","Virtual","File","<\/id>","(",")",")",";","if","(","<id>","change","Bean","<\/id>","!=","null","&&","<id>","change","Bean","<\/id>",".","<id>","get","Initial","Text","<\/id>","(",")","!=","null",")","{","final","<id>","editor","<\/id>","<id>","editor","<\/id>","=","<id>","my","File","Editor","Manager","<\/id>",".","<id>","get","Selected","Text","Editor","<\/id>","(",")",";","if","(","<id>","editor","<\/id>","!=","null","&&","<id>","template","Manager","<\/id>",".","<id>","get","Instance","<\/id>","(","<id>","my","Project","<\/id>",")",".","<id>","get","Active","Template","<\/id>","(","<id>","editor","<\/id>",")","!=","null",")","return",";","final","<id>","language","Change","Signature","Detector","<\/id>","<id>","detector","<\/id>","=","<id>","language","Change","Signature","Detectors","<\/id>",".","<id>","instance","<\/id>",".","<id>","for","Language","<\/id>","(","<id>","child","<\/id>",".","<id>","get","Language","<\/id>","(",")",")",";","if","(","<id>","detector","<\/id>","==","null",")","return",";","if","(","<id>","detector","<\/id>",".","<id>","ignore","Changes","<\/id>","(","<id>","child","<\/id>",")",")","return",";","final","<id>","string","<\/id>","<id>","current","Signature","<\/id>","=","<id>","detector","<\/id>",".","<id>","extract","Signature","<\/id>","(","<id>","child","<\/id>",",","<id>","change","Bean","<\/id>",".","<id>","get","Initial","Change","Info","<\/id>","(",")",")",";","if","(","<id>","current","Signature","<\/id>","==","null",")","{","<id>","change","Bean","<\/id>",".","<id>","reinit","<\/id>","(",")",";","}","else","{","<id>","change","Bean","<\/id>",".","<id>","add","Signature","<\/id>","(","<id>","current","Signature","<\/id>",")",";","}","}","}","}","<SENTENCE_END\/>"],"file_name":"ChangeSignatureGestureDetector.java","formatted_lines":["{"," if (myDeaf) return;"," if (child == null || !child.isValid()) return;"," final PsiFile file = child.getContainingFile();"," if (file != null)"," {"," final MyDocumentChangeAdapter changeBean = myListenerMap.get("," file.getVirtualFile());"," if (changeBean != null && changeBean.getInitialText() != null)"," {"," final Editor editor = myFileEditorManager.getSelectedTextEditor();"," if (editor != null &&"," TemplateManager.getInstance(myProject).getActiveTemplate("," editor) != null) return;"," final LanguageChangeSignatureDetector detector ="," LanguageChangeSignatureDetectors.INSTANCE.forLanguage(child.getLanguage());"," if (detector == null) return;"," if (detector.ignoreChanges(child)) return;"," final String currentSignature = detector.extractSignature(child,"," changeBean.getInitialChangeInfo());"," if (currentSignature == null)"," {"," changeBean.reinit();"," }"," else"," {"," changeBean.addSignature(currentSignature);"," }"," }"," }","}"],"function_name":"change","function_name_tokens":["change"],"id_body_hash":"f93e3a9e1c1c7c76c51ac823925b282a","id_same_identifier_list":[0,1,2,3,4,4,5,6,7,8,9,10,11,12,13,14,15,16,17,17,18,19,20,21,22,23,24,24,25,26,27,28,29,29,29,30,31,32,33,34,35,36,37,38,39,40,41,41,41,41,42,42,43,44,44,44,45,46,47,48,49,50,50,50,51,52,53,54,55,56,57,57,58,59,60,61,61,62,63,63,63,64,65,66,67,68,69,70,71,72,73,74,74,74,74,75,76,76,76,76,77,78,79,80,81,82,83,84,85,86,86,87,88,88,89,90,90,91,92,93,93,93,94,95,96,97,98,99,100,101,102,103,103,103,103,104,105,106,106,106,106,107,108,109,110,110,111,112,113,114,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,131,132,133,134,135,136,137,138,139,140,140,141,142,143,144,144,145,146,147,148,148,149,150,150,150,150,151,152,153,154,155,156,157,157,158,159,160,161,162,162,163,164,165,166,167,168,169,170,171,171,172,173,173,174,175,175,176,177,178,179,180,181,182],"option_correct":"change","options":["findControllerAtOffset","changeFile","changeCheck","testChangeSet","isSchemeListModified","change","setFont"],"options_nlp":["find controller at offset","change file","change check","test change set","is scheme list modified","change","set font"],"options_random":["isSchemeListModified","setFont","findControllerAtOffset"],"options_tfidf":["changeCheck","testChangeSet","changeFile"],"project_name":"intellij-community","source_code_string":"private void change(PsiElement child) {\n if (myDeaf) return;\n if (child == null || !child.isValid()) return;\n final PsiFile file = child.getContainingFile();\n if (file != null) {\n final MyDocumentChangeAdapter changeBean = myListenerMap.get(file.getVirtualFile());\n if (changeBean != null && changeBean.getInitialText() != null) {\n final Editor editor = myFileEditorManager.getSelectedTextEditor();\n if (editor != null && TemplateManager.getInstance(myProject).getActiveTemplate(editor) != null) return;\n final LanguageChangeSignatureDetector detector = LanguageChangeSignatureDetectors.INSTANCE.forLanguage(child.getLanguage());\n if (detector == null) return;\n if (detector.ignoreChanges(child)) return;\n final String currentSignature = detector.extractSignature(child, changeBean.getInitialChangeInfo());\n if (currentSignature == null) {\n changeBean.reinit();\n } else {\n changeBean.addSignature(currentSignature);\n }\n }\n }\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"if","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"(","start_char":7,"line":1},{"index_id":3,"token_group":3,"text":"my","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"Deaf","start_char":10,"line":1},{"index_id":5,"token_group":4,"text":")","start_char":14,"line":1},{"index_id":6,"token_group":5,"text":"return","start_char":16,"line":1},{"index_id":7,"token_group":6,"text":";","start_char":22,"line":1},{"index_id":8,"token_group":7,"text":"if","start_char":4,"line":2},{"index_id":9,"token_group":8,"text":"(","start_char":7,"line":2},{"index_id":10,"token_group":9,"text":"child","start_char":8,"line":2},{"index_id":11,"token_group":10,"text":"==","start_char":14,"line":2},{"index_id":12,"token_group":11,"text":"null","start_char":17,"line":2},{"index_id":13,"token_group":12,"text":"||","start_char":22,"line":2},{"index_id":14,"token_group":13,"text":"!","start_char":25,"line":2},{"index_id":15,"token_group":14,"text":"child","start_char":26,"line":2},{"index_id":16,"token_group":15,"text":".","start_char":31,"line":2},{"index_id":17,"token_group":16,"text":"is","start_char":32,"line":2},{"index_id":18,"token_group":17,"text":"Valid","start_char":34,"line":2},{"index_id":19,"token_group":17,"text":"(","start_char":39,"line":2},{"index_id":20,"token_group":18,"text":")","start_char":40,"line":2},{"index_id":21,"token_group":19,"text":")","start_char":41,"line":2},{"index_id":22,"token_group":20,"text":"return","start_char":43,"line":2},{"index_id":23,"token_group":21,"text":";","start_char":49,"line":2},{"index_id":24,"token_group":22,"text":"final","start_char":4,"line":3},{"index_id":25,"token_group":23,"text":"psi","start_char":10,"line":3},{"index_id":26,"token_group":24,"text":"File","start_char":13,"line":3},{"index_id":27,"token_group":24,"text":"file","start_char":18,"line":3},{"index_id":28,"token_group":25,"text":"=","start_char":23,"line":3},{"index_id":29,"token_group":26,"text":"child","start_char":25,"line":3},{"index_id":30,"token_group":27,"text":".","start_char":30,"line":3},{"index_id":31,"token_group":28,"text":"get","start_char":31,"line":3},{"index_id":32,"token_group":29,"text":"Containing","start_char":34,"line":3},{"index_id":33,"token_group":29,"text":"File","start_char":44,"line":3},{"index_id":34,"token_group":29,"text":"(","start_char":48,"line":3},{"index_id":35,"token_group":30,"text":")","start_char":49,"line":3},{"index_id":36,"token_group":31,"text":";","start_char":50,"line":3},{"index_id":37,"token_group":32,"text":"if","start_char":4,"line":4},{"index_id":38,"token_group":33,"text":"(","start_char":7,"line":4},{"index_id":39,"token_group":34,"text":"file","start_char":8,"line":4},{"index_id":40,"token_group":35,"text":"!=","start_char":13,"line":4},{"index_id":41,"token_group":36,"text":"null","start_char":16,"line":4},{"index_id":42,"token_group":37,"text":")","start_char":20,"line":4},{"index_id":43,"token_group":38,"text":"{","start_char":4,"line":5},{"index_id":44,"token_group":39,"text":"final","start_char":8,"line":6},{"index_id":45,"token_group":40,"text":"my","start_char":14,"line":6},{"index_id":46,"token_group":41,"text":"Document","start_char":16,"line":6},{"index_id":47,"token_group":41,"text":"Change","start_char":24,"line":6},{"index_id":48,"token_group":41,"text":"Adapter","start_char":30,"line":6},{"index_id":49,"token_group":41,"text":"change","start_char":38,"line":6},{"index_id":50,"token_group":42,"text":"Bean","start_char":44,"line":6},{"index_id":51,"token_group":42,"text":"=","start_char":49,"line":6},{"index_id":52,"token_group":43,"text":"my","start_char":51,"line":6},{"index_id":53,"token_group":44,"text":"Listener","start_char":53,"line":6},{"index_id":54,"token_group":44,"text":"Map","start_char":61,"line":6},{"index_id":55,"token_group":44,"text":".","start_char":64,"line":6},{"index_id":56,"token_group":45,"text":"get","start_char":65,"line":6},{"index_id":57,"token_group":46,"text":"(","start_char":68,"line":6},{"index_id":58,"token_group":47,"text":"file","start_char":20,"line":7},{"index_id":59,"token_group":48,"text":".","start_char":24,"line":7},{"index_id":60,"token_group":49,"text":"get","start_char":25,"line":7},{"index_id":61,"token_group":50,"text":"Virtual","start_char":28,"line":7},{"index_id":62,"token_group":50,"text":"File","start_char":35,"line":7},{"index_id":63,"token_group":50,"text":"(","start_char":39,"line":7},{"index_id":64,"token_group":51,"text":")","start_char":40,"line":7},{"index_id":65,"token_group":52,"text":")","start_char":41,"line":7},{"index_id":66,"token_group":53,"text":";","start_char":42,"line":7},{"index_id":67,"token_group":54,"text":"if","start_char":8,"line":8},{"index_id":68,"token_group":55,"text":"(","start_char":11,"line":8},{"index_id":69,"token_group":56,"text":"change","start_char":12,"line":8},{"index_id":70,"token_group":57,"text":"Bean","start_char":18,"line":8},{"index_id":71,"token_group":57,"text":"!=","start_char":23,"line":8},{"index_id":72,"token_group":58,"text":"null","start_char":26,"line":8},{"index_id":73,"token_group":59,"text":"&&","start_char":31,"line":8},{"index_id":74,"token_group":60,"text":"change","start_char":34,"line":8},{"index_id":75,"token_group":61,"text":"Bean","start_char":40,"line":8},{"index_id":76,"token_group":61,"text":".","start_char":44,"line":8},{"index_id":77,"token_group":62,"text":"get","start_char":45,"line":8},{"index_id":78,"token_group":63,"text":"Initial","start_char":48,"line":8},{"index_id":79,"token_group":63,"text":"Text","start_char":55,"line":8},{"index_id":80,"token_group":63,"text":"(","start_char":59,"line":8},{"index_id":81,"token_group":64,"text":")","start_char":60,"line":8},{"index_id":82,"token_group":65,"text":"!=","start_char":62,"line":8},{"index_id":83,"token_group":66,"text":"null","start_char":65,"line":8},{"index_id":84,"token_group":67,"text":")","start_char":69,"line":8},{"index_id":85,"token_group":68,"text":"{","start_char":8,"line":9},{"index_id":86,"token_group":69,"text":"final","start_char":12,"line":10},{"index_id":87,"token_group":70,"text":"editor","start_char":18,"line":10},{"index_id":88,"token_group":71,"text":"editor","start_char":25,"line":10},{"index_id":89,"token_group":72,"text":"=","start_char":32,"line":10},{"index_id":90,"token_group":73,"text":"my","start_char":34,"line":10},{"index_id":91,"token_group":74,"text":"File","start_char":36,"line":10},{"index_id":92,"token_group":74,"text":"Editor","start_char":40,"line":10},{"index_id":93,"token_group":74,"text":"Manager","start_char":46,"line":10},{"index_id":94,"token_group":74,"text":".","start_char":53,"line":10},{"index_id":95,"token_group":75,"text":"get","start_char":54,"line":10},{"index_id":96,"token_group":76,"text":"Selected","start_char":57,"line":10},{"index_id":97,"token_group":76,"text":"Text","start_char":65,"line":10},{"index_id":98,"token_group":76,"text":"Editor","start_char":69,"line":10},{"index_id":99,"token_group":76,"text":"(","start_char":75,"line":10},{"index_id":100,"token_group":77,"text":")","start_char":76,"line":10},{"index_id":101,"token_group":78,"text":";","start_char":77,"line":10},{"index_id":102,"token_group":79,"text":"if","start_char":12,"line":11},{"index_id":103,"token_group":80,"text":"(","start_char":15,"line":11},{"index_id":104,"token_group":81,"text":"editor","start_char":16,"line":11},{"index_id":105,"token_group":82,"text":"!=","start_char":23,"line":11},{"index_id":106,"token_group":83,"text":"null","start_char":26,"line":11},{"index_id":107,"token_group":84,"text":"&&","start_char":31,"line":11},{"index_id":108,"token_group":85,"text":"template","start_char":20,"line":12},{"index_id":109,"token_group":86,"text":"Manager","start_char":28,"line":12},{"index_id":110,"token_group":86,"text":".","start_char":35,"line":12},{"index_id":111,"token_group":87,"text":"get","start_char":36,"line":12},{"index_id":112,"token_group":88,"text":"Instance","start_char":39,"line":12},{"index_id":113,"token_group":88,"text":"(","start_char":47,"line":12},{"index_id":114,"token_group":89,"text":"my","start_char":48,"line":12},{"index_id":115,"token_group":90,"text":"Project","start_char":50,"line":12},{"index_id":116,"token_group":90,"text":")","start_char":57,"line":12},{"index_id":117,"token_group":91,"text":".","start_char":58,"line":12},{"index_id":118,"token_group":92,"text":"get","start_char":59,"line":12},{"index_id":119,"token_group":93,"text":"Active","start_char":62,"line":12},{"index_id":120,"token_group":93,"text":"Template","start_char":68,"line":12},{"index_id":121,"token_group":93,"text":"(","start_char":76,"line":12},{"index_id":122,"token_group":94,"text":"editor","start_char":24,"line":13},{"index_id":123,"token_group":95,"text":")","start_char":30,"line":13},{"index_id":124,"token_group":96,"text":"!=","start_char":32,"line":13},{"index_id":125,"token_group":97,"text":"null","start_char":35,"line":13},{"index_id":126,"token_group":98,"text":")","start_char":39,"line":13},{"index_id":127,"token_group":99,"text":"return","start_char":41,"line":13},{"index_id":128,"token_group":100,"text":";","start_char":47,"line":13},{"index_id":129,"token_group":101,"text":"final","start_char":12,"line":14},{"index_id":130,"token_group":102,"text":"language","start_char":18,"line":14},{"index_id":131,"token_group":103,"text":"Change","start_char":26,"line":14},{"index_id":132,"token_group":103,"text":"Signature","start_char":32,"line":14},{"index_id":133,"token_group":103,"text":"Detector","start_char":41,"line":14},{"index_id":134,"token_group":103,"text":"detector","start_char":50,"line":14},{"index_id":135,"token_group":104,"text":"=","start_char":59,"line":14},{"index_id":136,"token_group":105,"text":"language","start_char":16,"line":15},{"index_id":137,"token_group":106,"text":"Change","start_char":24,"line":15},{"index_id":138,"token_group":106,"text":"Signature","start_char":30,"line":15},{"index_id":139,"token_group":106,"text":"Detectors","start_char":39,"line":15},{"index_id":140,"token_group":106,"text":".","start_char":48,"line":15},{"index_id":141,"token_group":107,"text":"instance","start_char":49,"line":15},{"index_id":142,"token_group":108,"text":".","start_char":57,"line":15},{"index_id":143,"token_group":109,"text":"for","start_char":58,"line":15},{"index_id":144,"token_group":110,"text":"Language","start_char":61,"line":15},{"index_id":145,"token_group":110,"text":"(","start_char":69,"line":15},{"index_id":146,"token_group":111,"text":"child","start_char":70,"line":15},{"index_id":147,"token_group":112,"text":".","start_char":75,"line":15},{"index_id":148,"token_group":113,"text":"get","start_char":76,"line":15},{"index_id":149,"token_group":114,"text":"Language","start_char":79,"line":15},{"index_id":150,"token_group":114,"text":"(","start_char":87,"line":15},{"index_id":151,"token_group":115,"text":")","start_char":88,"line":15},{"index_id":152,"token_group":116,"text":")","start_char":89,"line":15},{"index_id":153,"token_group":117,"text":";","start_char":90,"line":15},{"index_id":154,"token_group":118,"text":"if","start_char":12,"line":16},{"index_id":155,"token_group":119,"text":"(","start_char":15,"line":16},{"index_id":156,"token_group":120,"text":"detector","start_char":16,"line":16},{"index_id":157,"token_group":121,"text":"==","start_char":25,"line":16},{"index_id":158,"token_group":122,"text":"null","start_char":28,"line":16},{"index_id":159,"token_group":123,"text":")","start_char":32,"line":16},{"index_id":160,"token_group":124,"text":"return","start_char":34,"line":16},{"index_id":161,"token_group":125,"text":";","start_char":40,"line":16},{"index_id":162,"token_group":126,"text":"if","start_char":12,"line":17},{"index_id":163,"token_group":127,"text":"(","start_char":15,"line":17},{"index_id":164,"token_group":128,"text":"detector","start_char":16,"line":17},{"index_id":165,"token_group":129,"text":".","start_char":24,"line":17},{"index_id":166,"token_group":130,"text":"ignore","start_char":25,"line":17},{"index_id":167,"token_group":131,"text":"Changes","start_char":31,"line":17},{"index_id":168,"token_group":131,"text":"(","start_char":38,"line":17},{"index_id":169,"token_group":132,"text":"child","start_char":39,"line":17},{"index_id":170,"token_group":133,"text":")","start_char":44,"line":17},{"index_id":171,"token_group":134,"text":")","start_char":45,"line":17},{"index_id":172,"token_group":135,"text":"return","start_char":47,"line":17},{"index_id":173,"token_group":136,"text":";","start_char":53,"line":17},{"index_id":174,"token_group":137,"text":"final","start_char":12,"line":18},{"index_id":175,"token_group":138,"text":"string","start_char":18,"line":18},{"index_id":176,"token_group":139,"text":"current","start_char":25,"line":18},{"index_id":177,"token_group":140,"text":"Signature","start_char":32,"line":18},{"index_id":178,"token_group":140,"text":"=","start_char":42,"line":18},{"index_id":179,"token_group":141,"text":"detector","start_char":44,"line":18},{"index_id":180,"token_group":142,"text":".","start_char":52,"line":18},{"index_id":181,"token_group":143,"text":"extract","start_char":53,"line":18},{"index_id":182,"token_group":144,"text":"Signature","start_char":60,"line":18},{"index_id":183,"token_group":144,"text":"(","start_char":69,"line":18},{"index_id":184,"token_group":145,"text":"child","start_char":70,"line":18},{"index_id":185,"token_group":146,"text":",","start_char":75,"line":18},{"index_id":186,"token_group":147,"text":"change","start_char":44,"line":19},{"index_id":187,"token_group":148,"text":"Bean","start_char":50,"line":19},{"index_id":188,"token_group":148,"text":".","start_char":54,"line":19},{"index_id":189,"token_group":149,"text":"get","start_char":55,"line":19},{"index_id":190,"token_group":150,"text":"Initial","start_char":58,"line":19},{"index_id":191,"token_group":150,"text":"Change","start_char":65,"line":19},{"index_id":192,"token_group":150,"text":"Info","start_char":71,"line":19},{"index_id":193,"token_group":150,"text":"(","start_char":75,"line":19},{"index_id":194,"token_group":151,"text":")","start_char":76,"line":19},{"index_id":195,"token_group":152,"text":")","start_char":77,"line":19},{"index_id":196,"token_group":153,"text":";","start_char":78,"line":19},{"index_id":197,"token_group":154,"text":"if","start_char":12,"line":20},{"index_id":198,"token_group":155,"text":"(","start_char":15,"line":20},{"index_id":199,"token_group":156,"text":"current","start_char":16,"line":20},{"index_id":200,"token_group":157,"text":"Signature","start_char":23,"line":20},{"index_id":201,"token_group":157,"text":"==","start_char":33,"line":20},{"index_id":202,"token_group":158,"text":"null","start_char":36,"line":20},{"index_id":203,"token_group":159,"text":")","start_char":40,"line":20},{"index_id":204,"token_group":160,"text":"{","start_char":12,"line":21},{"index_id":205,"token_group":161,"text":"change","start_char":16,"line":22},{"index_id":206,"token_group":162,"text":"Bean","start_char":22,"line":22},{"index_id":207,"token_group":162,"text":".","start_char":26,"line":22},{"index_id":208,"token_group":163,"text":"reinit","start_char":27,"line":22},{"index_id":209,"token_group":164,"text":"(","start_char":33,"line":22},{"index_id":210,"token_group":165,"text":")","start_char":34,"line":22},{"index_id":211,"token_group":166,"text":";","start_char":35,"line":22},{"index_id":212,"token_group":167,"text":"}","start_char":12,"line":23},{"index_id":213,"token_group":168,"text":"else","start_char":12,"line":24},{"index_id":214,"token_group":169,"text":"{","start_char":12,"line":25},{"index_id":215,"token_group":170,"text":"change","start_char":16,"line":26},{"index_id":216,"token_group":171,"text":"Bean","start_char":22,"line":26},{"index_id":217,"token_group":171,"text":".","start_char":26,"line":26},{"index_id":218,"token_group":172,"text":"add","start_char":27,"line":26},{"index_id":219,"token_group":173,"text":"Signature","start_char":30,"line":26},{"index_id":220,"token_group":173,"text":"(","start_char":39,"line":26},{"index_id":221,"token_group":174,"text":"current","start_char":40,"line":26},{"index_id":222,"token_group":175,"text":"Signature","start_char":47,"line":26},{"index_id":223,"token_group":175,"text":")","start_char":56,"line":26},{"index_id":224,"token_group":176,"text":";","start_char":57,"line":26},{"index_id":225,"token_group":177,"text":"}","start_char":12,"line":27},{"index_id":226,"token_group":178,"text":"}","start_char":8,"line":28},{"index_id":227,"token_group":179,"text":"}","start_char":4,"line":29},{"index_id":228,"token_group":180,"text":"}","start_char":0,"line":30}],"tokens_list":["{","if","(","my","Deaf",")","return",";","if","(","child","==","null","||","!","child",".","is","Valid","(",")",")","return",";","final","psi","File","file","=","child",".","get","Containing","File","(",")",";","if","(","file","!=","null",")","{","final","my","Document","Change","Adapter","change","Bean","=","my","Listener","Map",".","get","(","file",".","get","Virtual","File","(",")",")",";","if","(","change","Bean","!=","null","&&","change","Bean",".","get","Initial","Text","(",")","!=","null",")","{","final","editor","editor","=","my","File","Editor","Manager",".","get","Selected","Text","Editor","(",")",";","if","(","editor","!=","null","&&","template","Manager",".","get","Instance","(","my","Project",")",".","get","Active","Template","(","editor",")","!=","null",")","return",";","final","language","Change","Signature","Detector","detector","=","language","Change","Signature","Detectors",".","instance",".","for","Language","(","child",".","get","Language","(",")",")",";","if","(","detector","==","null",")","return",";","if","(","detector",".","ignore","Changes","(","child",")",")","return",";","final","string","current","Signature","=","detector",".","extract","Signature","(","child",",","change","Bean",".","get","Initial","Change","Info","(",")",")",";","if","(","current","Signature","==","null",")","{","change","Bean",".","reinit","(",")",";","}","else","{","change","Bean",".","add","Signature","(","current","Signature",")",";","}","}","}","}"],"uuid":"c75bb5e3966c1f840d1b8bf34a8bf46f"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","assert","Write","Access","Allowed","<\/id>","(",")",";","<id>","virtual","File","Copy","Event","<\/id>","<id>","event","<\/id>","=","new","<id>","virtual","File","Copy","Event","<\/id>","(","<id>","requestor","<\/id>",",","<id>","original","File","<\/id>",",","<id>","created","File","<\/id>",")",";","try","{","<id>","my","Event","Dispatcher","<\/id>",".","<id>","get","Multicaster","<\/id>","(",")",".","<id>","file","Copied","<\/id>","(","<id>","event","<\/id>",")",";","}","catch","(","<id>","abstract","Method","Error","<\/id>","<id>","e","<\/id>",")","{","<id>","my","Event","Dispatcher","<\/id>",".","<id>","get","Multicaster","<\/id>","(",")",".","<id>","file","Created","<\/id>","(","<id>","event","<\/id>",")",";","}","}","<SENTENCE_END\/>"],"file_name":"DeprecatedVirtualFileSystem.java","formatted_lines":["{"," assertWriteAccessAllowed();"," VirtualFileCopyEvent event = new VirtualFileCopyEvent(requestor, originalFile,"," createdFile);"," try"," {"," myEventDispatcher.getMulticaster().fileCopied(event);"," }"," catch (AbstractMethodError e)"," {"," myEventDispatcher.getMulticaster().fileCreated(event);"," }","}"],"function_name":"fireFileCopied","function_name_tokens":["fire","file","copied"],"id_body_hash":"3689f2a0108f3943bbbe7373a5b8eab7","id_same_identifier_list":[0,1,2,2,2,2,3,4,5,6,6,6,6,7,8,9,10,10,10,10,11,12,13,14,14,15,16,16,17,18,19,20,21,21,21,22,23,23,24,25,26,27,27,28,29,30,31,32,33,34,35,35,35,36,37,38,39,39,39,40,41,41,42,43,44,45,45,46,47,48,49,50,51,52],"option_correct":"fireFileCopied","options":["addCopiedFile","processTurnToSuperRefs","parseResult","fireFileMoved","convertToPresentationString","fireFileDeleted","fireFileCopied"],"options_nlp":["add copied file","process turn to super refs","parse result","fire file moved","convert to presentation string","fire file deleted","fire file copied"],"options_random":["convertToPresentationString","processTurnToSuperRefs","parseResult"],"options_tfidf":["fireFileDeleted","addCopiedFile","fireFileMoved"],"project_name":"intellij-community","source_code_string":"protected void fireFileCopied(@Nullable Object requestor, @NotNull VirtualFile originalFile, @NotNull final VirtualFile createdFile) {\n assertWriteAccessAllowed();\n VirtualFileCopyEvent event = new VirtualFileCopyEvent(requestor, originalFile, createdFile);\n try {\n myEventDispatcher.getMulticaster().fileCopied(event);\n }\n catch (AbstractMethodError e) { \n myEventDispatcher.getMulticaster().fileCreated(event);\n }\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"assert","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Write","start_char":10,"line":1},{"index_id":3,"token_group":2,"text":"Access","start_char":15,"line":1},{"index_id":4,"token_group":2,"text":"Allowed","start_char":21,"line":1},{"index_id":5,"token_group":2,"text":"(","start_char":28,"line":1},{"index_id":6,"token_group":3,"text":")","start_char":29,"line":1},{"index_id":7,"token_group":4,"text":";","start_char":30,"line":1},{"index_id":8,"token_group":5,"text":"virtual","start_char":4,"line":2},{"index_id":9,"token_group":6,"text":"File","start_char":11,"line":2},{"index_id":10,"token_group":6,"text":"Copy","start_char":15,"line":2},{"index_id":11,"token_group":6,"text":"Event","start_char":19,"line":2},{"index_id":12,"token_group":6,"text":"event","start_char":25,"line":2},{"index_id":13,"token_group":7,"text":"=","start_char":31,"line":2},{"index_id":14,"token_group":8,"text":"new","start_char":33,"line":2},{"index_id":15,"token_group":9,"text":"virtual","start_char":37,"line":2},{"index_id":16,"token_group":10,"text":"File","start_char":44,"line":2},{"index_id":17,"token_group":10,"text":"Copy","start_char":48,"line":2},{"index_id":18,"token_group":10,"text":"Event","start_char":52,"line":2},{"index_id":19,"token_group":10,"text":"(","start_char":57,"line":2},{"index_id":20,"token_group":11,"text":"requestor","start_char":58,"line":2},{"index_id":21,"token_group":12,"text":",","start_char":67,"line":2},{"index_id":22,"token_group":13,"text":"original","start_char":69,"line":2},{"index_id":23,"token_group":14,"text":"File","start_char":77,"line":2},{"index_id":24,"token_group":14,"text":",","start_char":81,"line":2},{"index_id":25,"token_group":15,"text":"created","start_char":12,"line":3},{"index_id":26,"token_group":16,"text":"File","start_char":19,"line":3},{"index_id":27,"token_group":16,"text":")","start_char":23,"line":3},{"index_id":28,"token_group":17,"text":";","start_char":24,"line":3},{"index_id":29,"token_group":18,"text":"try","start_char":4,"line":4},{"index_id":30,"token_group":19,"text":"{","start_char":4,"line":5},{"index_id":31,"token_group":20,"text":"my","start_char":8,"line":6},{"index_id":32,"token_group":21,"text":"Event","start_char":10,"line":6},{"index_id":33,"token_group":21,"text":"Dispatcher","start_char":15,"line":6},{"index_id":34,"token_group":21,"text":".","start_char":25,"line":6},{"index_id":35,"token_group":22,"text":"get","start_char":26,"line":6},{"index_id":36,"token_group":23,"text":"Multicaster","start_char":29,"line":6},{"index_id":37,"token_group":23,"text":"(","start_char":40,"line":6},{"index_id":38,"token_group":24,"text":")","start_char":41,"line":6},{"index_id":39,"token_group":25,"text":".","start_char":42,"line":6},{"index_id":40,"token_group":26,"text":"file","start_char":43,"line":6},{"index_id":41,"token_group":27,"text":"Copied","start_char":47,"line":6},{"index_id":42,"token_group":27,"text":"(","start_char":53,"line":6},{"index_id":43,"token_group":28,"text":"event","start_char":54,"line":6},{"index_id":44,"token_group":29,"text":")","start_char":59,"line":6},{"index_id":45,"token_group":30,"text":";","start_char":60,"line":6},{"index_id":46,"token_group":31,"text":"}","start_char":4,"line":7},{"index_id":47,"token_group":32,"text":"catch","start_char":4,"line":8},{"index_id":48,"token_group":33,"text":"(","start_char":10,"line":8},{"index_id":49,"token_group":34,"text":"abstract","start_char":11,"line":8},{"index_id":50,"token_group":35,"text":"Method","start_char":19,"line":8},{"index_id":51,"token_group":35,"text":"Error","start_char":25,"line":8},{"index_id":52,"token_group":35,"text":"e","start_char":31,"line":8},{"index_id":53,"token_group":36,"text":")","start_char":32,"line":8},{"index_id":54,"token_group":37,"text":"{","start_char":4,"line":9},{"index_id":55,"token_group":38,"text":"my","start_char":8,"line":10},{"index_id":56,"token_group":39,"text":"Event","start_char":10,"line":10},{"index_id":57,"token_group":39,"text":"Dispatcher","start_char":15,"line":10},{"index_id":58,"token_group":39,"text":".","start_char":25,"line":10},{"index_id":59,"token_group":40,"text":"get","start_char":26,"line":10},{"index_id":60,"token_group":41,"text":"Multicaster","start_char":29,"line":10},{"index_id":61,"token_group":41,"text":"(","start_char":40,"line":10},{"index_id":62,"token_group":42,"text":")","start_char":41,"line":10},{"index_id":63,"token_group":43,"text":".","start_char":42,"line":10},{"index_id":64,"token_group":44,"text":"file","start_char":43,"line":10},{"index_id":65,"token_group":45,"text":"Created","start_char":47,"line":10},{"index_id":66,"token_group":45,"text":"(","start_char":54,"line":10},{"index_id":67,"token_group":46,"text":"event","start_char":55,"line":10},{"index_id":68,"token_group":47,"text":")","start_char":60,"line":10},{"index_id":69,"token_group":48,"text":";","start_char":61,"line":10},{"index_id":70,"token_group":49,"text":"}","start_char":4,"line":11},{"index_id":71,"token_group":50,"text":"}","start_char":0,"line":12}],"tokens_list":["{","assert","Write","Access","Allowed","(",")",";","virtual","File","Copy","Event","event","=","new","virtual","File","Copy","Event","(","requestor",",","original","File",",","created","File",")",";","try","{","my","Event","Dispatcher",".","get","Multicaster","(",")",".","file","Copied","(","event",")",";","}","catch","(","abstract","Method","Error","e",")","{","my","Event","Dispatcher",".","get","Multicaster","(",")",".","file","Created","(","event",")",";","}","}"],"uuid":"5b26a5ceb8c19d8f1862a7515bd5f42b"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","system","<\/id>",".","<id>","out","<\/id>",".","<id>","println","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"afterValueVoidCompatibleAmbiguity.java","formatted_lines":["{"," System.out.println();","}"],"function_name":"query","function_name_tokens":["query"],"id_body_hash":"35a866d307415937cafb77bca7ab6fb3","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11],"option_correct":"query","options":["getEmptyQuery","getSum","keepCoverageInfoForClassWithoutSource","query","doSomethingWithMyHead","processChangedModulesOnly","getFieldSize"],"options_nlp":["get empty query","get sum","keep coverage info for class without source","query","do something with my head","process changed modules only","get field size"],"options_random":["keepCoverageInfoForClassWithoutSource","processChangedModulesOnly","doSomethingWithMyHead"],"options_tfidf":["getFieldSize","getSum","getEmptyQuery"],"project_name":"intellij-community","source_code_string":"public void query(RowCallbackHandler rch){\n System.out.println();\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"system","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":10,"line":1},{"index_id":3,"token_group":3,"text":"out","start_char":11,"line":1},{"index_id":4,"token_group":4,"text":".","start_char":14,"line":1},{"index_id":5,"token_group":5,"text":"println","start_char":15,"line":1},{"index_id":6,"token_group":6,"text":"(","start_char":22,"line":1},{"index_id":7,"token_group":7,"text":")","start_char":23,"line":1},{"index_id":8,"token_group":8,"text":";","start_char":24,"line":1},{"index_id":9,"token_group":9,"text":"}","start_char":0,"line":2}],"tokens_list":["{","system",".","out",".","println","(",")",";","}"],"uuid":"73ca229a0103c1094e9b44be29e8130c"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","dynamic","Query","<\/id>","<id>","dynamic","Query","<\/id>","=","<id>","dynamic","Query","Factory","Util","<\/id>",".","<id>","for","Class","<\/id>","(","<id>","org","Group","Role","<\/id>",".","class",",","<id>","","Dynamic","Query","Class","Loader","<\/id>",")",";","<id>","dynamic","Query","<\/id>",".","<id>","set","Projection","<\/id>","(","<id>","projection","Factory","Util","<\/id>",".","<id>","property","<\/id>","(","\"id.organizationId\"",")",")",";","<id>","dynamic","Query","<\/id>",".","<id>","add","<\/id>","(","<id>","restrictions","Factory","Util","<\/id>",".","<id>","in","<\/id>","(","\"id.organizationId\"",",","new","<id>","object","<\/id>","[","]","{","<id>","random","Test","Util","<\/id>",".","<id>","next","Long","<\/id>","(",")","}",")",")",";","<id>","list","<\/id>","<","<id>","object","<\/id>",">","<id>","result","<\/id>","=","<id>","","Persistence","<\/id>",".","<id>","find","With","Dynamic","Query","<\/id>","(","<id>","dynamic","Query","<\/id>",")",";","<id>","assert","<\/id>",".","<id>","assert","Equals","<\/id>","(","0",",","<id>","result","<\/id>",".","<id>","size","<\/id>","(",")",")",";","}","<SENTENCE_END\/>"],"file_name":"OrgGroupRolePersistenceTest.java","formatted_lines":["{"," DynamicQuery dynamicQuery = DynamicQueryFactoryUtil.forClass(OrgGroupRole.class,"," _dynamicQueryClassLoader);",""," dynamicQuery.setProjection(ProjectionFactoryUtil.property("," \"id.organizationId\"));",""," dynamicQuery.add(RestrictionsFactoryUtil.in(\"id.organizationId\","," new Object[] { RandomTestUtil.nextLong() }));",""," List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);",""," Assert.assertEquals(0, result.size());","}"],"function_name":"testDynamicQueryByProjectionMissing","function_name_tokens":["test","dynamic","query","by","projection","missing"],"id_body_hash":"153e3f51f2fa7d74873e5754abcefdca","id_same_identifier_list":[0,1,2,2,3,3,4,5,5,5,5,6,7,7,8,9,9,9,10,11,12,13,13,13,13,13,14,15,16,16,17,18,18,19,20,20,20,21,22,23,24,25,26,27,28,28,29,30,31,32,32,32,33,34,35,36,37,38,39,40,41,42,43,43,43,44,45,45,46,47,48,49,50,51,52,53,54,55,56,57,58,58,59,60,60,60,60,61,62,62,63,64,65,66,67,67,68,69,70,71,72,73,74,75,76,77,78,79],"option_correct":"testDynamicQueryByProjectionMissing","options":["testRemoveFromFloatEmptyArray","testDynamicQueryByProjectionExisting","testDynamicQueryByPrimaryKeyMissing","testDynamicQueryByProjectionMissing","setShowMoveIcon","getWrappedWebDriver","testQueryByG_F_C"],"options_nlp":["test remove from float empty array","test dynamic query by projection existing","test dynamic query by primary key missing","test dynamic query by projection missing","set show move icon","get wrapped web driver","test query by g f c"],"options_random":["testRemoveFromFloatEmptyArray","setShowMoveIcon","getWrappedWebDriver"],"options_tfidf":["testDynamicQueryByPrimaryKeyMissing","testQueryByG_F_C","testDynamicQueryByProjectionExisting"],"project_name":"liferay-portal","source_code_string":"@Test\n\tpublic void testDynamicQueryByProjectionMissing() throws Exception {\n\t\tDynamicQuery dynamicQuery = DynamicQueryFactoryUtil.forClass(OrgGroupRole.class,\n\t\t\t\t_dynamicQueryClassLoader);\n\n\t\tdynamicQuery.setProjection(ProjectionFactoryUtil.property(\n\t\t\t\t\"id.organizationId\"));\n\n\t\tdynamicQuery.add(RestrictionsFactoryUtil.in(\"id.organizationId\",\n\t\t\t\tnew Object[] { RandomTestUtil.nextLong() }));\n\n\t\tList<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);\n\n\t\tAssert.assertEquals(0, result.size());\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"dynamic","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Query","start_char":11,"line":1},{"index_id":3,"token_group":2,"text":"dynamic","start_char":17,"line":1},{"index_id":4,"token_group":3,"text":"Query","start_char":24,"line":1},{"index_id":5,"token_group":3,"text":"=","start_char":30,"line":1},{"index_id":6,"token_group":4,"text":"dynamic","start_char":32,"line":1},{"index_id":7,"token_group":5,"text":"Query","start_char":39,"line":1},{"index_id":8,"token_group":5,"text":"Factory","start_char":44,"line":1},{"index_id":9,"token_group":5,"text":"Util","start_char":51,"line":1},{"index_id":10,"token_group":5,"text":".","start_char":55,"line":1},{"index_id":11,"token_group":6,"text":"for","start_char":56,"line":1},{"index_id":12,"token_group":7,"text":"Class","start_char":59,"line":1},{"index_id":13,"token_group":7,"text":"(","start_char":64,"line":1},{"index_id":14,"token_group":8,"text":"org","start_char":65,"line":1},{"index_id":15,"token_group":9,"text":"Group","start_char":68,"line":1},{"index_id":16,"token_group":9,"text":"Role","start_char":73,"line":1},{"index_id":17,"token_group":9,"text":".","start_char":77,"line":1},{"index_id":18,"token_group":10,"text":"class","start_char":78,"line":1},{"index_id":19,"token_group":11,"text":",","start_char":83,"line":1},{"index_id":20,"token_group":12,"text":"","start_char":84,"line":1},{"index_id":21,"token_group":13,"text":"Dynamic","start_char":13,"line":2},{"index_id":22,"token_group":13,"text":"Query","start_char":20,"line":2},{"index_id":23,"token_group":13,"text":"Class","start_char":25,"line":2},{"index_id":24,"token_group":13,"text":"Loader","start_char":30,"line":2},{"index_id":25,"token_group":13,"text":")","start_char":36,"line":2},{"index_id":26,"token_group":14,"text":";","start_char":37,"line":2},{"index_id":27,"token_group":15,"text":"dynamic","start_char":4,"line":4},{"index_id":28,"token_group":16,"text":"Query","start_char":11,"line":4},{"index_id":29,"token_group":16,"text":".","start_char":16,"line":4},{"index_id":30,"token_group":17,"text":"set","start_char":17,"line":4},{"index_id":31,"token_group":18,"text":"Projection","start_char":20,"line":4},{"index_id":32,"token_group":18,"text":"(","start_char":30,"line":4},{"index_id":33,"token_group":19,"text":"projection","start_char":31,"line":4},{"index_id":34,"token_group":20,"text":"Factory","start_char":41,"line":4},{"index_id":35,"token_group":20,"text":"Util","start_char":48,"line":4},{"index_id":36,"token_group":20,"text":".","start_char":52,"line":4},{"index_id":37,"token_group":21,"text":"property","start_char":53,"line":4},{"index_id":38,"token_group":22,"text":"(","start_char":61,"line":4},{"index_id":39,"token_group":23,"text":"\"id.organizationId\"","start_char":35,"line":5},{"index_id":40,"token_group":24,"text":")","start_char":54,"line":5},{"index_id":41,"token_group":25,"text":")","start_char":55,"line":5},{"index_id":42,"token_group":26,"text":";","start_char":56,"line":5},{"index_id":43,"token_group":27,"text":"dynamic","start_char":4,"line":7},{"index_id":44,"token_group":28,"text":"Query","start_char":11,"line":7},{"index_id":45,"token_group":28,"text":".","start_char":16,"line":7},{"index_id":46,"token_group":29,"text":"add","start_char":17,"line":7},{"index_id":47,"token_group":30,"text":"(","start_char":20,"line":7},{"index_id":48,"token_group":31,"text":"restrictions","start_char":21,"line":7},{"index_id":49,"token_group":32,"text":"Factory","start_char":33,"line":7},{"index_id":50,"token_group":32,"text":"Util","start_char":40,"line":7},{"index_id":51,"token_group":32,"text":".","start_char":44,"line":7},{"index_id":52,"token_group":33,"text":"in","start_char":45,"line":7},{"index_id":53,"token_group":34,"text":"(","start_char":47,"line":7},{"index_id":54,"token_group":35,"text":"\"id.organizationId\"","start_char":48,"line":7},{"index_id":55,"token_group":36,"text":",","start_char":67,"line":7},{"index_id":56,"token_group":37,"text":"new","start_char":4,"line":8},{"index_id":57,"token_group":38,"text":"object","start_char":8,"line":8},{"index_id":58,"token_group":39,"text":"[","start_char":14,"line":8},{"index_id":59,"token_group":40,"text":"]","start_char":15,"line":8},{"index_id":60,"token_group":41,"text":"{","start_char":17,"line":8},{"index_id":61,"token_group":42,"text":"random","start_char":19,"line":8},{"index_id":62,"token_group":43,"text":"Test","start_char":25,"line":8},{"index_id":63,"token_group":43,"text":"Util","start_char":29,"line":8},{"index_id":64,"token_group":43,"text":".","start_char":33,"line":8},{"index_id":65,"token_group":44,"text":"next","start_char":34,"line":8},{"index_id":66,"token_group":45,"text":"Long","start_char":38,"line":8},{"index_id":67,"token_group":45,"text":"(","start_char":42,"line":8},{"index_id":68,"token_group":46,"text":")","start_char":43,"line":8},{"index_id":69,"token_group":47,"text":"}","start_char":45,"line":8},{"index_id":70,"token_group":48,"text":")","start_char":46,"line":8},{"index_id":71,"token_group":49,"text":")","start_char":47,"line":8},{"index_id":72,"token_group":50,"text":";","start_char":48,"line":8},{"index_id":73,"token_group":51,"text":"list","start_char":4,"line":10},{"index_id":74,"token_group":52,"text":"<","start_char":8,"line":10},{"index_id":75,"token_group":53,"text":"object","start_char":9,"line":10},{"index_id":76,"token_group":54,"text":">","start_char":15,"line":10},{"index_id":77,"token_group":55,"text":"result","start_char":17,"line":10},{"index_id":78,"token_group":56,"text":"=","start_char":24,"line":10},{"index_id":79,"token_group":57,"text":"","start_char":25,"line":10},{"index_id":80,"token_group":58,"text":"Persistence","start_char":27,"line":10},{"index_id":81,"token_group":58,"text":".","start_char":38,"line":10},{"index_id":82,"token_group":59,"text":"find","start_char":39,"line":10},{"index_id":83,"token_group":60,"text":"With","start_char":43,"line":10},{"index_id":84,"token_group":60,"text":"Dynamic","start_char":47,"line":10},{"index_id":85,"token_group":60,"text":"Query","start_char":54,"line":10},{"index_id":86,"token_group":60,"text":"(","start_char":59,"line":10},{"index_id":87,"token_group":61,"text":"dynamic","start_char":60,"line":10},{"index_id":88,"token_group":62,"text":"Query","start_char":67,"line":10},{"index_id":89,"token_group":62,"text":")","start_char":72,"line":10},{"index_id":90,"token_group":63,"text":";","start_char":73,"line":10},{"index_id":91,"token_group":64,"text":"assert","start_char":4,"line":12},{"index_id":92,"token_group":65,"text":".","start_char":10,"line":12},{"index_id":93,"token_group":66,"text":"assert","start_char":11,"line":12},{"index_id":94,"token_group":67,"text":"Equals","start_char":17,"line":12},{"index_id":95,"token_group":67,"text":"(","start_char":23,"line":12},{"index_id":96,"token_group":68,"text":"0","start_char":24,"line":12},{"index_id":97,"token_group":69,"text":",","start_char":25,"line":12},{"index_id":98,"token_group":70,"text":"result","start_char":27,"line":12},{"index_id":99,"token_group":71,"text":".","start_char":33,"line":12},{"index_id":100,"token_group":72,"text":"size","start_char":34,"line":12},{"index_id":101,"token_group":73,"text":"(","start_char":38,"line":12},{"index_id":102,"token_group":74,"text":")","start_char":39,"line":12},{"index_id":103,"token_group":75,"text":")","start_char":40,"line":12},{"index_id":104,"token_group":76,"text":";","start_char":41,"line":12},{"index_id":105,"token_group":77,"text":"}","start_char":0,"line":13}],"tokens_list":["{","dynamic","Query","dynamic","Query","=","dynamic","Query","Factory","Util",".","for","Class","(","org","Group","Role",".","class",",","","Dynamic","Query","Class","Loader",")",";","dynamic","Query",".","set","Projection","(","projection","Factory","Util",".","property","(","\"id.organizationId\"",")",")",";","dynamic","Query",".","add","(","restrictions","Factory","Util",".","in","(","\"id.organizationId\"",",","new","object","[","]","{","random","Test","Util",".","next","Long","(",")","}",")",")",";","list","<","object",">","result","=","","Persistence",".","find","With","Dynamic","Query","(","dynamic","Query",")",";","assert",".","assert","Equals","(","0",",","result",".","size","(",")",")",";","}"],"uuid":"5bd8a5e9911e48239f92d274a79db604"},{"cap_original_tokens":["<SENTENCE_START>","{","if","(","<id>","my","Menu","Item","Synchronizer","<\/id>","!=","null",")","{","<id>","my","Group","<\/id>",".","<id>","get","Action","<\/id>","(",")",".","<id>","remove","Property","Change","Listener","<\/id>","(","<id>","my","Menu","Item","Synchronizer","<\/id>",")",";","<id>","my","Presentation","<\/id>",".","<id>","remove","Property","Change","Listener","<\/id>","(","<id>","my","Menu","Item","Synchronizer","<\/id>",")",";","<id>","my","Menu","Item","Synchronizer","<\/id>","=","null",";","}","}","<SENTENCE_END\/>"],"file_name":"ActionMenu.java","formatted_lines":["{"," if (myMenuItemSynchronizer != null)"," {"," myGroup.getAction().removePropertyChangeListener(myMenuItemSynchronizer);"," myPresentation.removePropertyChangeListener(myMenuItemSynchronizer);"," myMenuItemSynchronizer = null;"," }","}"],"function_name":"uninstallSynchronizer","function_name_tokens":["uninstall","synchronizer"],"id_body_hash":"a73157a3b3d49088604c7a95847c288a","id_same_identifier_list":[0,1,2,3,4,4,4,4,5,6,7,8,9,9,10,11,11,12,13,14,15,15,15,15,16,17,17,17,17,18,19,20,20,21,22,22,22,22,23,24,24,24,24,25,26,27,27,27,27,28,29,30,31,32,33],"option_correct":"uninstallSynchronizer","options":["getFilters","createSelectPatchDescriptor","zzScanError","doTestSoftWraps","uninstallSynchronizer","createHighlightingPass","testComponentAbstractImplementation"],"options_nlp":["get filters","create select patch descriptor","zz scan error","do test soft wraps","uninstall synchronizer","create highlighting pass","test component abstract implementation"],"options_random":["getFilters","createSelectPatchDescriptor","createHighlightingPass"],"options_tfidf":["zzScanError","doTestSoftWraps","testComponentAbstractImplementation"],"project_name":"intellij-community","source_code_string":"private void uninstallSynchronizer() {\n if (myMenuItemSynchronizer != null) {\n myGroup.getAction().removePropertyChangeListener(myMenuItemSynchronizer);\n myPresentation.removePropertyChangeListener(myMenuItemSynchronizer);\n myMenuItemSynchronizer = null;\n }\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"if","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"(","start_char":7,"line":1},{"index_id":3,"token_group":3,"text":"my","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"Menu","start_char":10,"line":1},{"index_id":5,"token_group":4,"text":"Item","start_char":14,"line":1},{"index_id":6,"token_group":4,"text":"Synchronizer","start_char":18,"line":1},{"index_id":7,"token_group":4,"text":"!=","start_char":31,"line":1},{"index_id":8,"token_group":5,"text":"null","start_char":34,"line":1},{"index_id":9,"token_group":6,"text":")","start_char":38,"line":1},{"index_id":10,"token_group":7,"text":"{","start_char":4,"line":2},{"index_id":11,"token_group":8,"text":"my","start_char":8,"line":3},{"index_id":12,"token_group":9,"text":"Group","start_char":10,"line":3},{"index_id":13,"token_group":9,"text":".","start_char":15,"line":3},{"index_id":14,"token_group":10,"text":"get","start_char":16,"line":3},{"index_id":15,"token_group":11,"text":"Action","start_char":19,"line":3},{"index_id":16,"token_group":11,"text":"(","start_char":25,"line":3},{"index_id":17,"token_group":12,"text":")","start_char":26,"line":3},{"index_id":18,"token_group":13,"text":".","start_char":27,"line":3},{"index_id":19,"token_group":14,"text":"remove","start_char":28,"line":3},{"index_id":20,"token_group":15,"text":"Property","start_char":34,"line":3},{"index_id":21,"token_group":15,"text":"Change","start_char":42,"line":3},{"index_id":22,"token_group":15,"text":"Listener","start_char":48,"line":3},{"index_id":23,"token_group":15,"text":"(","start_char":56,"line":3},{"index_id":24,"token_group":16,"text":"my","start_char":57,"line":3},{"index_id":25,"token_group":17,"text":"Menu","start_char":59,"line":3},{"index_id":26,"token_group":17,"text":"Item","start_char":63,"line":3},{"index_id":27,"token_group":17,"text":"Synchronizer","start_char":67,"line":3},{"index_id":28,"token_group":17,"text":")","start_char":79,"line":3},{"index_id":29,"token_group":18,"text":";","start_char":80,"line":3},{"index_id":30,"token_group":19,"text":"my","start_char":8,"line":4},{"index_id":31,"token_group":20,"text":"Presentation","start_char":10,"line":4},{"index_id":32,"token_group":20,"text":".","start_char":22,"line":4},{"index_id":33,"token_group":21,"text":"remove","start_char":23,"line":4},{"index_id":34,"token_group":22,"text":"Property","start_char":29,"line":4},{"index_id":35,"token_group":22,"text":"Change","start_char":37,"line":4},{"index_id":36,"token_group":22,"text":"Listener","start_char":43,"line":4},{"index_id":37,"token_group":22,"text":"(","start_char":51,"line":4},{"index_id":38,"token_group":23,"text":"my","start_char":52,"line":4},{"index_id":39,"token_group":24,"text":"Menu","start_char":54,"line":4},{"index_id":40,"token_group":24,"text":"Item","start_char":58,"line":4},{"index_id":41,"token_group":24,"text":"Synchronizer","start_char":62,"line":4},{"index_id":42,"token_group":24,"text":")","start_char":74,"line":4},{"index_id":43,"token_group":25,"text":";","start_char":75,"line":4},{"index_id":44,"token_group":26,"text":"my","start_char":8,"line":5},{"index_id":45,"token_group":27,"text":"Menu","start_char":10,"line":5},{"index_id":46,"token_group":27,"text":"Item","start_char":14,"line":5},{"index_id":47,"token_group":27,"text":"Synchronizer","start_char":18,"line":5},{"index_id":48,"token_group":27,"text":"=","start_char":31,"line":5},{"index_id":49,"token_group":28,"text":"null","start_char":33,"line":5},{"index_id":50,"token_group":29,"text":";","start_char":37,"line":5},{"index_id":51,"token_group":30,"text":"}","start_char":4,"line":6},{"index_id":52,"token_group":31,"text":"}","start_char":0,"line":7}],"tokens_list":["{","if","(","my","Menu","Item","Synchronizer","!=","null",")","{","my","Group",".","get","Action","(",")",".","remove","Property","Change","Listener","(","my","Menu","Item","Synchronizer",")",";","my","Presentation",".","remove","Property","Change","Listener","(","my","Menu","Item","Synchronizer",")",";","my","Menu","Item","Synchronizer","=","null",";","}","}"],"uuid":"31e704e072ac8eac80babda2f8a45261"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","log","<\/id>",".","<id>","debug","<\/id>","(","\"Loading collection element by index\"",")",";","<id>","list","<\/id>","<id>","result","<\/id>",";","try","{","<id>","result","<\/id>","=","<id>","do","Query","And","Initialize","Non","Lazy","Collections","<\/id>","(","<id>","session","<\/id>",",","new","<id>","query","Parameters","<\/id>","(","new","<id>","type","<\/id>","[","]","{","<id>","key","Type","<\/id>",",","<id>","index","Type","<\/id>","}",",","new","<id>","object","<\/id>","[","]","{","<id>","key","<\/id>",",","<id>","index","<\/id>","}",")",",","false",")",";","}","catch","(","<id>","sql","Exception","<\/id>","<id>","sqle","<\/id>",")","{","throw","<id>","factory","<\/id>",".","<id>","get","Sql","Exception","Helper","<\/id>","(",")",".","<id>","convert","<\/id>","(","<id>","sqle","<\/id>",",","\"could not load collection element by index\"",",","<id>","get","Sql","String","<\/id>","(",")",")",";","}","<id>","log","<\/id>",".","<id>","debug","<\/id>","(","\"Done entity load\"",")",";","return","<id>","result","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"Loader.java","formatted_lines":["{"," LOG.debug( \"Loading collection element by index\" );",""," List result;"," try"," {"," result = doQueryAndInitializeNonLazyCollections("," session,"," new QueryParameters("," new Type[] {keyType, indexType},"," new Object[] {key, index}"," ),"," false"," );"," }"," catch (SQLException sqle)"," {"," throw factory.getSQLExceptionHelper().convert("," sqle,"," \"could not load collection element by index\","," getSQLString()"," );"," }",""," LOG.debug( \"Done entity load\" );",""," return result;","","}"],"function_name":"loadEntity","function_name_tokens":["load","entity"],"id_body_hash":"77b511683902da69681b78892c9c857c","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,16,16,16,16,16,16,17,18,19,20,21,21,22,23,24,25,26,27,28,28,29,30,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,50,51,52,53,54,55,56,57,57,57,57,58,59,60,61,62,63,64,65,66,67,67,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],"option_correct":"loadEntity","options":["setDesignation","getLockMode","loadEntityMappings","bindNamedStoredProcedureQuery","loadEntityBatch","loadCollection","loadEntity"],"options_nlp":["set designation","get lock mode","load entity mappings","bind named stored procedure query","load entity batch","load collection","load entity"],"options_random":["setDesignation","getLockMode","bindNamedStoredProcedureQuery"],"options_tfidf":["loadEntityMappings","loadCollection","loadEntityBatch"],"project_name":"hibernate-orm","source_code_string":"protected final List loadEntity(\n\t\t\tfinal SessionImplementor session,\n\t\t\tfinal Object key,\n\t\t\tfinal Object index,\n\t\t\tfinal Type keyType,\n\t\t\tfinal Type indexType,\n\t\t\tfinal EntityPersister persister) throws HibernateException {\n\t\tLOG.debug( \"Loading collection element by index\" );\n\n\t\tList result;\n\t\ttry {\n\t\t\tresult = doQueryAndInitializeNonLazyCollections(\n\t\t\t\t\tsession,\n\t\t\t\t\tnew QueryParameters(\n\t\t\t\t\t\t\tnew Type[] {keyType, indexType},\n\t\t\t\t\t\t\tnew Object[] {key, index}\n\t\t\t\t\t),\n\t\t\t\t\tfalse\n\t\t\t);\n\t\t}\n\t\tcatch (SQLException sqle) {\n\t\t\tthrow factory.getSQLExceptionHelper().convert(\n\t\t\t\t\tsqle,\n\t\t\t\t\t\"could not load collection element by index\",\n\t\t\t\t\tgetSQLString()\n\t\t\t);\n\t\t}\n\n\t\tLOG.debug( \"Done entity load\" );\n\n\t\treturn result;\n\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"log","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":7,"line":1},{"index_id":3,"token_group":3,"text":"debug","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"(","start_char":13,"line":1},{"index_id":5,"token_group":5,"text":"\"Loading collection element by index\"","start_char":15,"line":1},{"index_id":6,"token_group":6,"text":")","start_char":53,"line":1},{"index_id":7,"token_group":7,"text":";","start_char":54,"line":1},{"index_id":8,"token_group":8,"text":"list","start_char":4,"line":3},{"index_id":9,"token_group":9,"text":"result","start_char":9,"line":3},{"index_id":10,"token_group":10,"text":";","start_char":15,"line":3},{"index_id":11,"token_group":11,"text":"try","start_char":4,"line":4},{"index_id":12,"token_group":12,"text":"{","start_char":4,"line":5},{"index_id":13,"token_group":13,"text":"result","start_char":8,"line":6},{"index_id":14,"token_group":14,"text":"=","start_char":15,"line":6},{"index_id":15,"token_group":15,"text":"do","start_char":17,"line":6},{"index_id":16,"token_group":16,"text":"Query","start_char":19,"line":6},{"index_id":17,"token_group":16,"text":"And","start_char":24,"line":6},{"index_id":18,"token_group":16,"text":"Initialize","start_char":27,"line":6},{"index_id":19,"token_group":16,"text":"Non","start_char":37,"line":6},{"index_id":20,"token_group":16,"text":"Lazy","start_char":40,"line":6},{"index_id":21,"token_group":16,"text":"Collections","start_char":44,"line":6},{"index_id":22,"token_group":16,"text":"(","start_char":55,"line":6},{"index_id":23,"token_group":17,"text":"session","start_char":12,"line":7},{"index_id":24,"token_group":18,"text":",","start_char":19,"line":7},{"index_id":25,"token_group":19,"text":"new","start_char":12,"line":8},{"index_id":26,"token_group":20,"text":"query","start_char":16,"line":8},{"index_id":27,"token_group":21,"text":"Parameters","start_char":21,"line":8},{"index_id":28,"token_group":21,"text":"(","start_char":31,"line":8},{"index_id":29,"token_group":22,"text":"new","start_char":8,"line":9},{"index_id":30,"token_group":23,"text":"type","start_char":12,"line":9},{"index_id":31,"token_group":24,"text":"[","start_char":16,"line":9},{"index_id":32,"token_group":25,"text":"]","start_char":17,"line":9},{"index_id":33,"token_group":26,"text":"{","start_char":19,"line":9},{"index_id":34,"token_group":27,"text":"key","start_char":20,"line":9},{"index_id":35,"token_group":28,"text":"Type","start_char":23,"line":9},{"index_id":36,"token_group":28,"text":",","start_char":27,"line":9},{"index_id":37,"token_group":29,"text":"index","start_char":29,"line":9},{"index_id":38,"token_group":30,"text":"Type","start_char":34,"line":9},{"index_id":39,"token_group":30,"text":"}","start_char":38,"line":9},{"index_id":40,"token_group":31,"text":",","start_char":39,"line":9},{"index_id":41,"token_group":32,"text":"new","start_char":8,"line":10},{"index_id":42,"token_group":33,"text":"object","start_char":12,"line":10},{"index_id":43,"token_group":34,"text":"[","start_char":18,"line":10},{"index_id":44,"token_group":35,"text":"]","start_char":19,"line":10},{"index_id":45,"token_group":36,"text":"{","start_char":21,"line":10},{"index_id":46,"token_group":37,"text":"key","start_char":22,"line":10},{"index_id":47,"token_group":38,"text":",","start_char":25,"line":10},{"index_id":48,"token_group":39,"text":"index","start_char":27,"line":10},{"index_id":49,"token_group":40,"text":"}","start_char":32,"line":10},{"index_id":50,"token_group":41,"text":")","start_char":12,"line":11},{"index_id":51,"token_group":42,"text":",","start_char":13,"line":11},{"index_id":52,"token_group":43,"text":"false","start_char":8,"line":12},{"index_id":53,"token_group":44,"text":")","start_char":8,"line":13},{"index_id":54,"token_group":45,"text":";","start_char":9,"line":13},{"index_id":55,"token_group":46,"text":"}","start_char":4,"line":14},{"index_id":56,"token_group":47,"text":"catch","start_char":4,"line":15},{"index_id":57,"token_group":48,"text":"(","start_char":10,"line":15},{"index_id":58,"token_group":49,"text":"sql","start_char":11,"line":15},{"index_id":59,"token_group":50,"text":"Exception","start_char":14,"line":15},{"index_id":60,"token_group":50,"text":"sqle","start_char":24,"line":15},{"index_id":61,"token_group":51,"text":")","start_char":28,"line":15},{"index_id":62,"token_group":52,"text":"{","start_char":4,"line":16},{"index_id":63,"token_group":53,"text":"throw","start_char":8,"line":17},{"index_id":64,"token_group":54,"text":"factory","start_char":14,"line":17},{"index_id":65,"token_group":55,"text":".","start_char":21,"line":17},{"index_id":66,"token_group":56,"text":"get","start_char":22,"line":17},{"index_id":67,"token_group":57,"text":"Sql","start_char":25,"line":17},{"index_id":68,"token_group":57,"text":"Exception","start_char":28,"line":17},{"index_id":69,"token_group":57,"text":"Helper","start_char":37,"line":17},{"index_id":70,"token_group":57,"text":"(","start_char":43,"line":17},{"index_id":71,"token_group":58,"text":")","start_char":44,"line":17},{"index_id":72,"token_group":59,"text":".","start_char":45,"line":17},{"index_id":73,"token_group":60,"text":"convert","start_char":46,"line":17},{"index_id":74,"token_group":61,"text":"(","start_char":53,"line":17},{"index_id":75,"token_group":62,"text":"sqle","start_char":12,"line":18},{"index_id":76,"token_group":63,"text":",","start_char":16,"line":18},{"index_id":77,"token_group":64,"text":"\"could not load collection element by index\"","start_char":12,"line":19},{"index_id":78,"token_group":65,"text":",","start_char":56,"line":19},{"index_id":79,"token_group":66,"text":"get","start_char":12,"line":20},{"index_id":80,"token_group":67,"text":"Sql","start_char":15,"line":20},{"index_id":81,"token_group":67,"text":"String","start_char":18,"line":20},{"index_id":82,"token_group":67,"text":"(","start_char":24,"line":20},{"index_id":83,"token_group":68,"text":")","start_char":25,"line":20},{"index_id":84,"token_group":69,"text":")","start_char":8,"line":21},{"index_id":85,"token_group":70,"text":";","start_char":9,"line":21},{"index_id":86,"token_group":71,"text":"}","start_char":4,"line":22},{"index_id":87,"token_group":72,"text":"log","start_char":4,"line":24},{"index_id":88,"token_group":73,"text":".","start_char":7,"line":24},{"index_id":89,"token_group":74,"text":"debug","start_char":8,"line":24},{"index_id":90,"token_group":75,"text":"(","start_char":13,"line":24},{"index_id":91,"token_group":76,"text":"\"Done entity load\"","start_char":15,"line":24},{"index_id":92,"token_group":77,"text":")","start_char":34,"line":24},{"index_id":93,"token_group":78,"text":";","start_char":35,"line":24},{"index_id":94,"token_group":79,"text":"return","start_char":4,"line":26},{"index_id":95,"token_group":80,"text":"result","start_char":11,"line":26},{"index_id":96,"token_group":81,"text":";","start_char":17,"line":26},{"index_id":97,"token_group":82,"text":"}","start_char":0,"line":28}],"tokens_list":["{","log",".","debug","(","\"Loading collection element by index\"",")",";","list","result",";","try","{","result","=","do","Query","And","Initialize","Non","Lazy","Collections","(","session",",","new","query","Parameters","(","new","type","[","]","{","key","Type",",","index","Type","}",",","new","object","[","]","{","key",",","index","}",")",",","false",")",";","}","catch","(","sql","Exception","sqle",")","{","throw","factory",".","get","Sql","Exception","Helper","(",")",".","convert","(","sqle",",","\"could not load collection element by index\"",",","get","Sql","String","(",")",")",";","}","log",".","debug","(","\"Done entity load\"",")",";","return","result",";","}"],"uuid":"7a7b82abeab3c9f89824e323b79bb45c"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","path","<\/id>","<id>","current","<\/id>","=","<id>","path","<\/id>",";","while","(","<id>","current","<\/id>","!=","null",")","{","if","(","!","<id>","check","Permission","Of","Other","<\/id>","(","<id>","fs","<\/id>",",","<id>","current","<\/id>",",","<id>","fs","Action","<\/id>",".","<id>","execute","<\/id>",",","<id>","stat","Cache","<\/id>",")",")","{","return","false",";","}","<id>","current","<\/id>","=","<id>","current","<\/id>",".","<id>","get","Parent","<\/id>","(",")",";","}","return","true",";","}","<SENTENCE_END\/>"],"file_name":"FSDownload.java","formatted_lines":["{"," Path current = path;"," while (current != null)"," {",""," if (!checkPermissionOfOther(fs, current, FsAction.EXECUTE, statCache))"," {"," return false;"," }"," current = current.getParent();"," }"," return true;","}"],"function_name":"ancestorsHaveExecutePermissions","function_name_tokens":["ancestors","have","execute","permissions"],"id_body_hash":"3f41654b0bea39e1b2c44c185316fb0d","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,17,17,17,18,19,20,21,22,23,23,24,25,26,27,27,28,29,30,31,32,33,34,35,36,37,38,39,39,40,41,42,43,44,45,46,47,48],"option_correct":"ancestorsHaveExecutePermissions","options":["assertPermissions","setDeleteMissing","testStartStopHttpsPseudo","corruptFile","execute","ancestorsHaveExecutePermissions","executeCommand"],"options_nlp":["assert permissions","set delete missing","test start stop https pseudo","corrupt file","execute","ancestors have execute permissions","execute command"],"options_random":["corruptFile","setDeleteMissing","testStartStopHttpsPseudo"],"options_tfidf":["executeCommand","assertPermissions","execute"],"project_name":"hadoop-common","source_code_string":"@VisibleForTesting\n static boolean ancestorsHaveExecutePermissions(FileSystem fs,\n Path path, LoadingCache<Path,Future<FileStatus>> statCache)\n throws IOException {\n Path current = path;\n while (current != null) {\n \n if (!checkPermissionOfOther(fs, current, FsAction.EXECUTE, statCache)) {\n return false;\n }\n current = current.getParent();\n }\n return true;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"path","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"current","start_char":9,"line":1},{"index_id":3,"token_group":3,"text":"=","start_char":17,"line":1},{"index_id":4,"token_group":4,"text":"path","start_char":19,"line":1},{"index_id":5,"token_group":5,"text":";","start_char":23,"line":1},{"index_id":6,"token_group":6,"text":"while","start_char":4,"line":2},{"index_id":7,"token_group":7,"text":"(","start_char":10,"line":2},{"index_id":8,"token_group":8,"text":"current","start_char":11,"line":2},{"index_id":9,"token_group":9,"text":"!=","start_char":19,"line":2},{"index_id":10,"token_group":10,"text":"null","start_char":22,"line":2},{"index_id":11,"token_group":11,"text":")","start_char":26,"line":2},{"index_id":12,"token_group":12,"text":"{","start_char":4,"line":3},{"index_id":13,"token_group":13,"text":"if","start_char":8,"line":5},{"index_id":14,"token_group":14,"text":"(","start_char":11,"line":5},{"index_id":15,"token_group":15,"text":"!","start_char":12,"line":5},{"index_id":16,"token_group":16,"text":"check","start_char":13,"line":5},{"index_id":17,"token_group":17,"text":"Permission","start_char":18,"line":5},{"index_id":18,"token_group":17,"text":"Of","start_char":28,"line":5},{"index_id":19,"token_group":17,"text":"Other","start_char":30,"line":5},{"index_id":20,"token_group":17,"text":"(","start_char":35,"line":5},{"index_id":21,"token_group":18,"text":"fs","start_char":36,"line":5},{"index_id":22,"token_group":19,"text":",","start_char":38,"line":5},{"index_id":23,"token_group":20,"text":"current","start_char":40,"line":5},{"index_id":24,"token_group":21,"text":",","start_char":47,"line":5},{"index_id":25,"token_group":22,"text":"fs","start_char":49,"line":5},{"index_id":26,"token_group":23,"text":"Action","start_char":51,"line":5},{"index_id":27,"token_group":23,"text":".","start_char":57,"line":5},{"index_id":28,"token_group":24,"text":"execute","start_char":58,"line":5},{"index_id":29,"token_group":25,"text":",","start_char":65,"line":5},{"index_id":30,"token_group":26,"text":"stat","start_char":67,"line":5},{"index_id":31,"token_group":27,"text":"Cache","start_char":71,"line":5},{"index_id":32,"token_group":27,"text":")","start_char":76,"line":5},{"index_id":33,"token_group":28,"text":")","start_char":77,"line":5},{"index_id":34,"token_group":29,"text":"{","start_char":8,"line":6},{"index_id":35,"token_group":30,"text":"return","start_char":12,"line":7},{"index_id":36,"token_group":31,"text":"false","start_char":19,"line":7},{"index_id":37,"token_group":32,"text":";","start_char":24,"line":7},{"index_id":38,"token_group":33,"text":"}","start_char":8,"line":8},{"index_id":39,"token_group":34,"text":"current","start_char":8,"line":9},{"index_id":40,"token_group":35,"text":"=","start_char":16,"line":9},{"index_id":41,"token_group":36,"text":"current","start_char":18,"line":9},{"index_id":42,"token_group":37,"text":".","start_char":25,"line":9},{"index_id":43,"token_group":38,"text":"get","start_char":26,"line":9},{"index_id":44,"token_group":39,"text":"Parent","start_char":29,"line":9},{"index_id":45,"token_group":39,"text":"(","start_char":35,"line":9},{"index_id":46,"token_group":40,"text":")","start_char":36,"line":9},{"index_id":47,"token_group":41,"text":";","start_char":37,"line":9},{"index_id":48,"token_group":42,"text":"}","start_char":4,"line":10},{"index_id":49,"token_group":43,"text":"return","start_char":4,"line":11},{"index_id":50,"token_group":44,"text":"true","start_char":11,"line":11},{"index_id":51,"token_group":45,"text":";","start_char":15,"line":11},{"index_id":52,"token_group":46,"text":"}","start_char":0,"line":12}],"tokens_list":["{","path","current","=","path",";","while","(","current","!=","null",")","{","if","(","!","check","Permission","Of","Other","(","fs",",","current",",","fs","Action",".","execute",",","stat","Cache",")",")","{","return","false",";","}","current","=","current",".","get","Parent","(",")",";","}","return","true",";","}"],"uuid":"21dfe8b5fdb0b79aa87e2bcbdcd2d92e"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","my","Root","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"SvnRepositoryLocation.java","formatted_lines":["{"," return myRoot;","}"],"function_name":"getRoot","function_name_tokens":["get","root"],"id_body_hash":"fcfb2be765dde1edabe5c7b5289e0b27","id_same_identifier_list":[0,1,2,3,3,4,5,6],"option_correct":"getRoot","options":["getDefaultRoot","getRoot","generateDelegatePrototype","getRootType","testTypeAware","getRootElement","batchPerform"],"options_nlp":["get default root","get root","generate delegate prototype","get root type","test type aware","get root element","batch perform"],"options_random":["testTypeAware","generateDelegatePrototype","batchPerform"],"options_tfidf":["getRootType","getRootElement","getDefaultRoot"],"project_name":"intellij-community","source_code_string":"@Nullable\n public FilePath getRoot() {\n return myRoot;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"my","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Root","start_char":13,"line":1},{"index_id":4,"token_group":3,"text":";","start_char":17,"line":1},{"index_id":5,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","my","Root",";","}"],"uuid":"49c711d272ea92691c1e35a0317b363a"},{"cap_original_tokens":["<SENTENCE_START>","{","long","<id>","pk","<\/id>","=","<id>","random","Test","Util","<\/id>",".","<id>","next","Long","<\/id>","(",")",";","<id>","journal","Article","Resource","<\/id>","<id>","new","Journal","Article","Resource","<\/id>","=","<id>","","Persistence","<\/id>",".","<id>","create","<\/id>","(","<id>","pk","<\/id>",")",";","<id>","new","Journal","Article","Resource","<\/id>",".","<id>","set","Uuid","<\/id>","(","<id>","random","Test","Util","<\/id>",".","<id>","random","String","<\/id>","(",")",")",";","<id>","new","Journal","Article","Resource","<\/id>",".","<id>","set","Group","Id","<\/id>","(","<id>","random","Test","Util","<\/id>",".","<id>","next","Long","<\/id>","(",")",")",";","<id>","new","Journal","Article","Resource","<\/id>",".","<id>","set","Company","Id","<\/id>","(","<id>","random","Test","Util","<\/id>",".","<id>","next","Long","<\/id>","(",")",")",";","<id>","new","Journal","Article","Resource","<\/id>",".","<id>","set","Article","Id","<\/id>","(","<id>","random","Test","Util","<\/id>",".","<id>","random","String","<\/id>","(",")",")",";","<id>","","Journal","Article","Resources","<\/id>",".","<id>","add","<\/id>","(","<id>","","Persistence","<\/id>",".","<id>","update","<\/id>","(","<id>","new","Journal","Article","Resource","<\/id>",")",")",";","<id>","journal","Article","Resource","<\/id>","<id>","existing","Journal","Article","Resource","<\/id>","=","<id>","","Persistence","<\/id>",".","<id>","find","By","Primary","Key","<\/id>","(","<id>","new","Journal","Article","Resource","<\/id>",".","<id>","get","Primary","Key","<\/id>","(",")",")",";","<id>","assert","<\/id>",".","<id>","assert","Equals","<\/id>","(","<id>","existing","Journal","Article","Resource","<\/id>",".","<id>","get","Uuid","<\/id>","(",")",",","<id>","new","Journal","Article","Resource","<\/id>",".","<id>","get","Uuid","<\/id>","(",")",")",";","<id>","assert","<\/id>",".","<id>","assert","Equals","<\/id>","(","<id>","existing","Journal","Article","Resource","<\/id>",".","<id>","get","Resource","Prim","Key","<\/id>","(",")",",","<id>","new","Journal","Article","Resource","<\/id>",".","<id>","get","Resource","Prim","Key","<\/id>","(",")",")",";","<id>","assert","<\/id>",".","<id>","assert","Equals","<\/id>","(","<id>","existing","Journal","Article","Resource","<\/id>",".","<id>","get","Group","Id","<\/id>","(",")",",","<id>","new","Journal","Article","Resource","<\/id>",".","<id>","get","Group","Id","<\/id>","(",")",")",";","<id>","assert","<\/id>",".","<id>","assert","Equals","<\/id>","(","<id>","existing","Journal","Article","Resource","<\/id>",".","<id>","get","Company","Id","<\/id>","(",")",",","<id>","new","Journal","Article","Resource","<\/id>",".","<id>","get","Company","Id","<\/id>","(",")",")",";","<id>","assert","<\/id>",".","<id>","assert","Equals","<\/id>","(","<id>","existing","Journal","Article","Resource","<\/id>",".","<id>","get","Article","Id","<\/id>","(",")",",","<id>","new","Journal","Article","Resource","<\/id>",".","<id>","get","Article","Id","<\/id>","(",")",")",";","}","<SENTENCE_END\/>"],"file_name":"JournalArticleResourcePersistenceTest.java","formatted_lines":["{"," long pk = RandomTestUtil.nextLong();",""," JournalArticleResource newJournalArticleResource = _persistence.create(pk);",""," newJournalArticleResource.setUuid(RandomTestUtil.randomString());",""," newJournalArticleResource.setGroupId(RandomTestUtil.nextLong());",""," newJournalArticleResource.setCompanyId(RandomTestUtil.nextLong());",""," newJournalArticleResource.setArticleId(RandomTestUtil.randomString());",""," _journalArticleResources.add(_persistence.update("," newJournalArticleResource));",""," JournalArticleResource existingJournalArticleResource = _persistence.findByPrimaryKey(newJournalArticleResource.getPrimaryKey());",""," Assert.assertEquals(existingJournalArticleResource.getUuid(),"," newJournalArticleResource.getUuid());"," Assert.assertEquals(existingJournalArticleResource.getResourcePrimKey(),"," newJournalArticleResource.getResourcePrimKey());"," Assert.assertEquals(existingJournalArticleResource.getGroupId(),"," newJournalArticleResource.getGroupId());"," Assert.assertEquals(existingJournalArticleResource.getCompanyId(),"," newJournalArticleResource.getCompanyId());"," Assert.assertEquals(existingJournalArticleResource.getArticleId(),"," newJournalArticleResource.getArticleId());","}"],"function_name":"testUpdateExisting","function_name_tokens":["test","update","existing"],"id_body_hash":"705574949277c1e9cfcd9824330107c1","id_same_identifier_list":[0,1,2,3,4,5,5,5,6,7,7,8,9,10,11,11,11,12,12,12,12,13,14,14,15,16,17,18,19,20,21,21,21,21,22,23,23,24,25,25,25,26,27,27,28,29,30,31,32,32,32,32,33,34,34,34,35,36,36,36,37,38,38,39,40,41,42,43,43,43,43,44,45,45,45,46,47,47,47,48,49,49,50,51,52,53,54,54,54,54,55,56,56,56,57,58,58,58,59,60,60,61,62,63,64,65,65,65,65,66,67,68,69,69,70,71,72,73,73,73,73,74,75,76,77,77,77,78,78,78,78,79,80,80,81,82,82,82,82,83,84,84,84,84,85,86,86,86,87,88,89,90,91,92,93,93,94,95,95,95,95,96,97,97,98,99,100,101,101,101,101,102,103,103,104,105,106,107,108,109,110,110,111,112,112,112,112,113,114,114,114,114,115,116,117,118,118,118,118,119,120,120,120,120,121,122,123,124,125,126,127,127,128,129,129,129,129,130,131,131,131,132,133,134,135,135,135,135,136,137,137,137,138,139,140,141,142,143,144,144,145,146,146,146,146,147,148,148,148,149,150,151,152,152,152,152,153,154,154,154,155,156,157,158,159,160,161,161,162,163,163,163,163,164,165,165,165,166,167,168,169,169,169,169,170,171,171,171,172,173,174,175,176,177],"option_correct":"testUpdateExisting","options":["deleteOrphanedAssetEntries","getCurrentBranchFileNames","testUpdateExisting","testUpdate2","testUpdate3","getDDMFormLayout","testUpdate1"],"options_nlp":["delete orphaned asset entries","get current branch file names","test update existing","test update 2","test update 3","get ddm form layout","test update 1"],"options_random":["deleteOrphanedAssetEntries","getDDMFormLayout","getCurrentBranchFileNames"],"options_tfidf":["testUpdate1","testUpdate3","testUpdate2"],"project_name":"liferay-portal","source_code_string":"@Test\n\tpublic void testUpdateExisting() throws Exception {\n\t\tlong pk = RandomTestUtil.nextLong();\n\n\t\tJournalArticleResource newJournalArticleResource = _persistence.create(pk);\n\n\t\tnewJournalArticleResource.setUuid(RandomTestUtil.randomString());\n\n\t\tnewJournalArticleResource.setGroupId(RandomTestUtil.nextLong());\n\n\t\tnewJournalArticleResource.setCompanyId(RandomTestUtil.nextLong());\n\n\t\tnewJournalArticleResource.setArticleId(RandomTestUtil.randomString());\n\n\t\t_journalArticleResources.add(_persistence.update(\n\t\t\t\tnewJournalArticleResource));\n\n\t\tJournalArticleResource existingJournalArticleResource = _persistence.findByPrimaryKey(newJournalArticleResource.getPrimaryKey());\n\n\t\tAssert.assertEquals(existingJournalArticleResource.getUuid(),\n\t\t\tnewJournalArticleResource.getUuid());\n\t\tAssert.assertEquals(existingJournalArticleResource.getResourcePrimKey(),\n\t\t\tnewJournalArticleResource.getResourcePrimKey());\n\t\tAssert.assertEquals(existingJournalArticleResource.getGroupId(),\n\t\t\tnewJournalArticleResource.getGroupId());\n\t\tAssert.assertEquals(existingJournalArticleResource.getCompanyId(),\n\t\t\tnewJournalArticleResource.getCompanyId());\n\t\tAssert.assertEquals(existingJournalArticleResource.getArticleId(),\n\t\t\tnewJournalArticleResource.getArticleId());\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"long","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"pk","start_char":9,"line":1},{"index_id":3,"token_group":3,"text":"=","start_char":12,"line":1},{"index_id":4,"token_group":4,"text":"random","start_char":14,"line":1},{"index_id":5,"token_group":5,"text":"Test","start_char":20,"line":1},{"index_id":6,"token_group":5,"text":"Util","start_char":24,"line":1},{"index_id":7,"token_group":5,"text":".","start_char":28,"line":1},{"index_id":8,"token_group":6,"text":"next","start_char":29,"line":1},{"index_id":9,"token_group":7,"text":"Long","start_char":33,"line":1},{"index_id":10,"token_group":7,"text":"(","start_char":37,"line":1},{"index_id":11,"token_group":8,"text":")","start_char":38,"line":1},{"index_id":12,"token_group":9,"text":";","start_char":39,"line":1},{"index_id":13,"token_group":10,"text":"journal","start_char":4,"line":3},{"index_id":14,"token_group":11,"text":"Article","start_char":11,"line":3},{"index_id":15,"token_group":11,"text":"Resource","start_char":18,"line":3},{"index_id":16,"token_group":11,"text":"new","start_char":27,"line":3},{"index_id":17,"token_group":12,"text":"Journal","start_char":30,"line":3},{"index_id":18,"token_group":12,"text":"Article","start_char":37,"line":3},{"index_id":19,"token_group":12,"text":"Resource","start_char":44,"line":3},{"index_id":20,"token_group":12,"text":"=","start_char":53,"line":3},{"index_id":21,"token_group":13,"text":"","start_char":54,"line":3},{"index_id":22,"token_group":14,"text":"Persistence","start_char":56,"line":3},{"index_id":23,"token_group":14,"text":".","start_char":67,"line":3},{"index_id":24,"token_group":15,"text":"create","start_char":68,"line":3},{"index_id":25,"token_group":16,"text":"(","start_char":74,"line":3},{"index_id":26,"token_group":17,"text":"pk","start_char":75,"line":3},{"index_id":27,"token_group":18,"text":")","start_char":77,"line":3},{"index_id":28,"token_group":19,"text":";","start_char":78,"line":3},{"index_id":29,"token_group":20,"text":"new","start_char":4,"line":5},{"index_id":30,"token_group":21,"text":"Journal","start_char":7,"line":5},{"index_id":31,"token_group":21,"text":"Article","start_char":14,"line":5},{"index_id":32,"token_group":21,"text":"Resource","start_char":21,"line":5},{"index_id":33,"token_group":21,"text":".","start_char":29,"line":5},{"index_id":34,"token_group":22,"text":"set","start_char":30,"line":5},{"index_id":35,"token_group":23,"text":"Uuid","start_char":33,"line":5},{"index_id":36,"token_group":23,"text":"(","start_char":37,"line":5},{"index_id":37,"token_group":24,"text":"random","start_char":38,"line":5},{"index_id":38,"token_group":25,"text":"Test","start_char":44,"line":5},{"index_id":39,"token_group":25,"text":"Util","start_char":48,"line":5},{"index_id":40,"token_group":25,"text":".","start_char":52,"line":5},{"index_id":41,"token_group":26,"text":"random","start_char":53,"line":5},{"index_id":42,"token_group":27,"text":"String","start_char":59,"line":5},{"index_id":43,"token_group":27,"text":"(","start_char":65,"line":5},{"index_id":44,"token_group":28,"text":")","start_char":66,"line":5},{"index_id":45,"token_group":29,"text":")","start_char":67,"line":5},{"index_id":46,"token_group":30,"text":";","start_char":68,"line":5},{"index_id":47,"token_group":31,"text":"new","start_char":4,"line":7},{"index_id":48,"token_group":32,"text":"Journal","start_char":7,"line":7},{"index_id":49,"token_group":32,"text":"Article","start_char":14,"line":7},{"index_id":50,"token_group":32,"text":"Resource","start_char":21,"line":7},{"index_id":51,"token_group":32,"text":".","start_char":29,"line":7},{"index_id":52,"token_group":33,"text":"set","start_char":30,"line":7},{"index_id":53,"token_group":34,"text":"Group","start_char":33,"line":7},{"index_id":54,"token_group":34,"text":"Id","start_char":38,"line":7},{"index_id":55,"token_group":34,"text":"(","start_char":40,"line":7},{"index_id":56,"token_group":35,"text":"random","start_char":41,"line":7},{"index_id":57,"token_group":36,"text":"Test","start_char":47,"line":7},{"index_id":58,"token_group":36,"text":"Util","start_char":51,"line":7},{"index_id":59,"token_group":36,"text":".","start_char":55,"line":7},{"index_id":60,"token_group":37,"text":"next","start_char":56,"line":7},{"index_id":61,"token_group":38,"text":"Long","start_char":60,"line":7},{"index_id":62,"token_group":38,"text":"(","start_char":64,"line":7},{"index_id":63,"token_group":39,"text":")","start_char":65,"line":7},{"index_id":64,"token_group":40,"text":")","start_char":66,"line":7},{"index_id":65,"token_group":41,"text":";","start_char":67,"line":7},{"index_id":66,"token_group":42,"text":"new","start_char":4,"line":9},{"index_id":67,"token_group":43,"text":"Journal","start_char":7,"line":9},{"index_id":68,"token_group":43,"text":"Article","start_char":14,"line":9},{"index_id":69,"token_group":43,"text":"Resource","start_char":21,"line":9},{"index_id":70,"token_group":43,"text":".","start_char":29,"line":9},{"index_id":71,"token_group":44,"text":"set","start_char":30,"line":9},{"index_id":72,"token_group":45,"text":"Company","start_char":33,"line":9},{"index_id":73,"token_group":45,"text":"Id","start_char":40,"line":9},{"index_id":74,"token_group":45,"text":"(","start_char":42,"line":9},{"index_id":75,"token_group":46,"text":"random","start_char":43,"line":9},{"index_id":76,"token_group":47,"text":"Test","start_char":49,"line":9},{"index_id":77,"token_group":47,"text":"Util","start_char":53,"line":9},{"index_id":78,"token_group":47,"text":".","start_char":57,"line":9},{"index_id":79,"token_group":48,"text":"next","start_char":58,"line":9},{"index_id":80,"token_group":49,"text":"Long","start_char":62,"line":9},{"index_id":81,"token_group":49,"text":"(","start_char":66,"line":9},{"index_id":82,"token_group":50,"text":")","start_char":67,"line":9},{"index_id":83,"token_group":51,"text":")","start_char":68,"line":9},{"index_id":84,"token_group":52,"text":";","start_char":69,"line":9},{"index_id":85,"token_group":53,"text":"new","start_char":4,"line":11},{"index_id":86,"token_group":54,"text":"Journal","start_char":7,"line":11},{"index_id":87,"token_group":54,"text":"Article","start_char":14,"line":11},{"index_id":88,"token_group":54,"text":"Resource","start_char":21,"line":11},{"index_id":89,"token_group":54,"text":".","start_char":29,"line":11},{"index_id":90,"token_group":55,"text":"set","start_char":30,"line":11},{"index_id":91,"token_group":56,"text":"Article","start_char":33,"line":11},{"index_id":92,"token_group":56,"text":"Id","start_char":40,"line":11},{"index_id":93,"token_group":56,"text":"(","start_char":42,"line":11},{"index_id":94,"token_group":57,"text":"random","start_char":43,"line":11},{"index_id":95,"token_group":58,"text":"Test","start_char":49,"line":11},{"index_id":96,"token_group":58,"text":"Util","start_char":53,"line":11},{"index_id":97,"token_group":58,"text":".","start_char":57,"line":11},{"index_id":98,"token_group":59,"text":"random","start_char":58,"line":11},{"index_id":99,"token_group":60,"text":"String","start_char":64,"line":11},{"index_id":100,"token_group":60,"text":"(","start_char":70,"line":11},{"index_id":101,"token_group":61,"text":")","start_char":71,"line":11},{"index_id":102,"token_group":62,"text":")","start_char":72,"line":11},{"index_id":103,"token_group":63,"text":";","start_char":73,"line":11},{"index_id":104,"token_group":64,"text":"","start_char":74,"line":11},{"index_id":105,"token_group":65,"text":"Journal","start_char":5,"line":13},{"index_id":106,"token_group":65,"text":"Article","start_char":12,"line":13},{"index_id":107,"token_group":65,"text":"Resources","start_char":19,"line":13},{"index_id":108,"token_group":65,"text":".","start_char":28,"line":13},{"index_id":109,"token_group":66,"text":"add","start_char":29,"line":13},{"index_id":110,"token_group":67,"text":"(","start_char":32,"line":13},{"index_id":111,"token_group":68,"text":"","start_char":33,"line":13},{"index_id":112,"token_group":69,"text":"Persistence","start_char":34,"line":13},{"index_id":113,"token_group":69,"text":".","start_char":45,"line":13},{"index_id":114,"token_group":70,"text":"update","start_char":46,"line":13},{"index_id":115,"token_group":71,"text":"(","start_char":52,"line":13},{"index_id":116,"token_group":72,"text":"new","start_char":37,"line":14},{"index_id":117,"token_group":73,"text":"Journal","start_char":40,"line":14},{"index_id":118,"token_group":73,"text":"Article","start_char":47,"line":14},{"index_id":119,"token_group":73,"text":"Resource","start_char":54,"line":14},{"index_id":120,"token_group":73,"text":")","start_char":62,"line":14},{"index_id":121,"token_group":74,"text":")","start_char":63,"line":14},{"index_id":122,"token_group":75,"text":";","start_char":64,"line":14},{"index_id":123,"token_group":76,"text":"journal","start_char":4,"line":16},{"index_id":124,"token_group":77,"text":"Article","start_char":11,"line":16},{"index_id":125,"token_group":77,"text":"Resource","start_char":18,"line":16},{"index_id":126,"token_group":77,"text":"existing","start_char":27,"line":16},{"index_id":127,"token_group":78,"text":"Journal","start_char":35,"line":16},{"index_id":128,"token_group":78,"text":"Article","start_char":42,"line":16},{"index_id":129,"token_group":78,"text":"Resource","start_char":49,"line":16},{"index_id":130,"token_group":78,"text":"=","start_char":58,"line":16},{"index_id":131,"token_group":79,"text":"","start_char":59,"line":16},{"index_id":132,"token_group":80,"text":"Persistence","start_char":61,"line":16},{"index_id":133,"token_group":80,"text":".","start_char":72,"line":16},{"index_id":134,"token_group":81,"text":"find","start_char":73,"line":16},{"index_id":135,"token_group":82,"text":"By","start_char":77,"line":16},{"index_id":136,"token_group":82,"text":"Primary","start_char":79,"line":16},{"index_id":137,"token_group":82,"text":"Key","start_char":86,"line":16},{"index_id":138,"token_group":82,"text":"(","start_char":89,"line":16},{"index_id":139,"token_group":83,"text":"new","start_char":90,"line":16},{"index_id":140,"token_group":84,"text":"Journal","start_char":93,"line":16},{"index_id":141,"token_group":84,"text":"Article","start_char":100,"line":16},{"index_id":142,"token_group":84,"text":"Resource","start_char":107,"line":16},{"index_id":143,"token_group":84,"text":".","start_char":115,"line":16},{"index_id":144,"token_group":85,"text":"get","start_char":116,"line":16},{"index_id":145,"token_group":86,"text":"Primary","start_char":119,"line":16},{"index_id":146,"token_group":86,"text":"Key","start_char":126,"line":16},{"index_id":147,"token_group":86,"text":"(","start_char":129,"line":16},{"index_id":148,"token_group":87,"text":")","start_char":130,"line":16},{"index_id":149,"token_group":88,"text":")","start_char":131,"line":16},{"index_id":150,"token_group":89,"text":";","start_char":132,"line":16},{"index_id":151,"token_group":90,"text":"assert","start_char":4,"line":18},{"index_id":152,"token_group":91,"text":".","start_char":10,"line":18},{"index_id":153,"token_group":92,"text":"assert","start_char":11,"line":18},{"index_id":154,"token_group":93,"text":"Equals","start_char":17,"line":18},{"index_id":155,"token_group":93,"text":"(","start_char":23,"line":18},{"index_id":156,"token_group":94,"text":"existing","start_char":24,"line":18},{"index_id":157,"token_group":95,"text":"Journal","start_char":32,"line":18},{"index_id":158,"token_group":95,"text":"Article","start_char":39,"line":18},{"index_id":159,"token_group":95,"text":"Resource","start_char":46,"line":18},{"index_id":160,"token_group":95,"text":".","start_char":54,"line":18},{"index_id":161,"token_group":96,"text":"get","start_char":55,"line":18},{"index_id":162,"token_group":97,"text":"Uuid","start_char":58,"line":18},{"index_id":163,"token_group":97,"text":"(","start_char":62,"line":18},{"index_id":164,"token_group":98,"text":")","start_char":63,"line":18},{"index_id":165,"token_group":99,"text":",","start_char":64,"line":18},{"index_id":166,"token_group":100,"text":"new","start_char":24,"line":19},{"index_id":167,"token_group":101,"text":"Journal","start_char":27,"line":19},{"index_id":168,"token_group":101,"text":"Article","start_char":34,"line":19},{"index_id":169,"token_group":101,"text":"Resource","start_char":41,"line":19},{"index_id":170,"token_group":101,"text":".","start_char":49,"line":19},{"index_id":171,"token_group":102,"text":"get","start_char":50,"line":19},{"index_id":172,"token_group":103,"text":"Uuid","start_char":53,"line":19},{"index_id":173,"token_group":103,"text":"(","start_char":57,"line":19},{"index_id":174,"token_group":104,"text":")","start_char":58,"line":19},{"index_id":175,"token_group":105,"text":")","start_char":59,"line":19},{"index_id":176,"token_group":106,"text":";","start_char":60,"line":19},{"index_id":177,"token_group":107,"text":"assert","start_char":4,"line":20},{"index_id":178,"token_group":108,"text":".","start_char":10,"line":20},{"index_id":179,"token_group":109,"text":"assert","start_char":11,"line":20},{"index_id":180,"token_group":110,"text":"Equals","start_char":17,"line":20},{"index_id":181,"token_group":110,"text":"(","start_char":23,"line":20},{"index_id":182,"token_group":111,"text":"existing","start_char":24,"line":20},{"index_id":183,"token_group":112,"text":"Journal","start_char":32,"line":20},{"index_id":184,"token_group":112,"text":"Article","start_char":39,"line":20},{"index_id":185,"token_group":112,"text":"Resource","start_char":46,"line":20},{"index_id":186,"token_group":112,"text":".","start_char":54,"line":20},{"index_id":187,"token_group":113,"text":"get","start_char":55,"line":20},{"index_id":188,"token_group":114,"text":"Resource","start_char":58,"line":20},{"index_id":189,"token_group":114,"text":"Prim","start_char":66,"line":20},{"index_id":190,"token_group":114,"text":"Key","start_char":70,"line":20},{"index_id":191,"token_group":114,"text":"(","start_char":73,"line":20},{"index_id":192,"token_group":115,"text":")","start_char":74,"line":20},{"index_id":193,"token_group":116,"text":",","start_char":75,"line":20},{"index_id":194,"token_group":117,"text":"new","start_char":24,"line":21},{"index_id":195,"token_group":118,"text":"Journal","start_char":27,"line":21},{"index_id":196,"token_group":118,"text":"Article","start_char":34,"line":21},{"index_id":197,"token_group":118,"text":"Resource","start_char":41,"line":21},{"index_id":198,"token_group":118,"text":".","start_char":49,"line":21},{"index_id":199,"token_group":119,"text":"get","start_char":50,"line":21},{"index_id":200,"token_group":120,"text":"Resource","start_char":53,"line":21},{"index_id":201,"token_group":120,"text":"Prim","start_char":61,"line":21},{"index_id":202,"token_group":120,"text":"Key","start_char":65,"line":21},{"index_id":203,"token_group":120,"text":"(","start_char":68,"line":21},{"index_id":204,"token_group":121,"text":")","start_char":69,"line":21},{"index_id":205,"token_group":122,"text":")","start_char":70,"line":21},{"index_id":206,"token_group":123,"text":";","start_char":71,"line":21},{"index_id":207,"token_group":124,"text":"assert","start_char":4,"line":22},{"index_id":208,"token_group":125,"text":".","start_char":10,"line":22},{"index_id":209,"token_group":126,"text":"assert","start_char":11,"line":22},{"index_id":210,"token_group":127,"text":"Equals","start_char":17,"line":22},{"index_id":211,"token_group":127,"text":"(","start_char":23,"line":22},{"index_id":212,"token_group":128,"text":"existing","start_char":24,"line":22},{"index_id":213,"token_group":129,"text":"Journal","start_char":32,"line":22},{"index_id":214,"token_group":129,"text":"Article","start_char":39,"line":22},{"index_id":215,"token_group":129,"text":"Resource","start_char":46,"line":22},{"index_id":216,"token_group":129,"text":".","start_char":54,"line":22},{"index_id":217,"token_group":130,"text":"get","start_char":55,"line":22},{"index_id":218,"token_group":131,"text":"Group","start_char":58,"line":22},{"index_id":219,"token_group":131,"text":"Id","start_char":63,"line":22},{"index_id":220,"token_group":131,"text":"(","start_char":65,"line":22},{"index_id":221,"token_group":132,"text":")","start_char":66,"line":22},{"index_id":222,"token_group":133,"text":",","start_char":67,"line":22},{"index_id":223,"token_group":134,"text":"new","start_char":24,"line":23},{"index_id":224,"token_group":135,"text":"Journal","start_char":27,"line":23},{"index_id":225,"token_group":135,"text":"Article","start_char":34,"line":23},{"index_id":226,"token_group":135,"text":"Resource","start_char":41,"line":23},{"index_id":227,"token_group":135,"text":".","start_char":49,"line":23},{"index_id":228,"token_group":136,"text":"get","start_char":50,"line":23},{"index_id":229,"token_group":137,"text":"Group","start_char":53,"line":23},{"index_id":230,"token_group":137,"text":"Id","start_char":58,"line":23},{"index_id":231,"token_group":137,"text":"(","start_char":60,"line":23},{"index_id":232,"token_group":138,"text":")","start_char":61,"line":23},{"index_id":233,"token_group":139,"text":")","start_char":62,"line":23},{"index_id":234,"token_group":140,"text":";","start_char":63,"line":23},{"index_id":235,"token_group":141,"text":"assert","start_char":4,"line":24},{"index_id":236,"token_group":142,"text":".","start_char":10,"line":24},{"index_id":237,"token_group":143,"text":"assert","start_char":11,"line":24},{"index_id":238,"token_group":144,"text":"Equals","start_char":17,"line":24},{"index_id":239,"token_group":144,"text":"(","start_char":23,"line":24},{"index_id":240,"token_group":145,"text":"existing","start_char":24,"line":24},{"index_id":241,"token_group":146,"text":"Journal","start_char":32,"line":24},{"index_id":242,"token_group":146,"text":"Article","start_char":39,"line":24},{"index_id":243,"token_group":146,"text":"Resource","start_char":46,"line":24},{"index_id":244,"token_group":146,"text":".","start_char":54,"line":24},{"index_id":245,"token_group":147,"text":"get","start_char":55,"line":24},{"index_id":246,"token_group":148,"text":"Company","start_char":58,"line":24},{"index_id":247,"token_group":148,"text":"Id","start_char":65,"line":24},{"index_id":248,"token_group":148,"text":"(","start_char":67,"line":24},{"index_id":249,"token_group":149,"text":")","start_char":68,"line":24},{"index_id":250,"token_group":150,"text":",","start_char":69,"line":24},{"index_id":251,"token_group":151,"text":"new","start_char":24,"line":25},{"index_id":252,"token_group":152,"text":"Journal","start_char":27,"line":25},{"index_id":253,"token_group":152,"text":"Article","start_char":34,"line":25},{"index_id":254,"token_group":152,"text":"Resource","start_char":41,"line":25},{"index_id":255,"token_group":152,"text":".","start_char":49,"line":25},{"index_id":256,"token_group":153,"text":"get","start_char":50,"line":25},{"index_id":257,"token_group":154,"text":"Company","start_char":53,"line":25},{"index_id":258,"token_group":154,"text":"Id","start_char":60,"line":25},{"index_id":259,"token_group":154,"text":"(","start_char":62,"line":25},{"index_id":260,"token_group":155,"text":")","start_char":63,"line":25},{"index_id":261,"token_group":156,"text":")","start_char":64,"line":25},{"index_id":262,"token_group":157,"text":";","start_char":65,"line":25},{"index_id":263,"token_group":158,"text":"assert","start_char":4,"line":26},{"index_id":264,"token_group":159,"text":".","start_char":10,"line":26},{"index_id":265,"token_group":160,"text":"assert","start_char":11,"line":26},{"index_id":266,"token_group":161,"text":"Equals","start_char":17,"line":26},{"index_id":267,"token_group":161,"text":"(","start_char":23,"line":26},{"index_id":268,"token_group":162,"text":"existing","start_char":24,"line":26},{"index_id":269,"token_group":163,"text":"Journal","start_char":32,"line":26},{"index_id":270,"token_group":163,"text":"Article","start_char":39,"line":26},{"index_id":271,"token_group":163,"text":"Resource","start_char":46,"line":26},{"index_id":272,"token_group":163,"text":".","start_char":54,"line":26},{"index_id":273,"token_group":164,"text":"get","start_char":55,"line":26},{"index_id":274,"token_group":165,"text":"Article","start_char":58,"line":26},{"index_id":275,"token_group":165,"text":"Id","start_char":65,"line":26},{"index_id":276,"token_group":165,"text":"(","start_char":67,"line":26},{"index_id":277,"token_group":166,"text":")","start_char":68,"line":26},{"index_id":278,"token_group":167,"text":",","start_char":69,"line":26},{"index_id":279,"token_group":168,"text":"new","start_char":24,"line":27},{"index_id":280,"token_group":169,"text":"Journal","start_char":27,"line":27},{"index_id":281,"token_group":169,"text":"Article","start_char":34,"line":27},{"index_id":282,"token_group":169,"text":"Resource","start_char":41,"line":27},{"index_id":283,"token_group":169,"text":".","start_char":49,"line":27},{"index_id":284,"token_group":170,"text":"get","start_char":50,"line":27},{"index_id":285,"token_group":171,"text":"Article","start_char":53,"line":27},{"index_id":286,"token_group":171,"text":"Id","start_char":60,"line":27},{"index_id":287,"token_group":171,"text":"(","start_char":62,"line":27},{"index_id":288,"token_group":172,"text":")","start_char":63,"line":27},{"index_id":289,"token_group":173,"text":")","start_char":64,"line":27},{"index_id":290,"token_group":174,"text":";","start_char":65,"line":27},{"index_id":291,"token_group":175,"text":"}","start_char":0,"line":28}],"tokens_list":["{","long","pk","=","random","Test","Util",".","next","Long","(",")",";","journal","Article","Resource","new","Journal","Article","Resource","=","","Persistence",".","create","(","pk",")",";","new","Journal","Article","Resource",".","set","Uuid","(","random","Test","Util",".","random","String","(",")",")",";","new","Journal","Article","Resource",".","set","Group","Id","(","random","Test","Util",".","next","Long","(",")",")",";","new","Journal","Article","Resource",".","set","Company","Id","(","random","Test","Util",".","next","Long","(",")",")",";","new","Journal","Article","Resource",".","set","Article","Id","(","random","Test","Util",".","random","String","(",")",")",";","","Journal","Article","Resources",".","add","(","","Persistence",".","update","(","new","Journal","Article","Resource",")",")",";","journal","Article","Resource","existing","Journal","Article","Resource","=","","Persistence",".","find","By","Primary","Key","(","new","Journal","Article","Resource",".","get","Primary","Key","(",")",")",";","assert",".","assert","Equals","(","existing","Journal","Article","Resource",".","get","Uuid","(",")",",","new","Journal","Article","Resource",".","get","Uuid","(",")",")",";","assert",".","assert","Equals","(","existing","Journal","Article","Resource",".","get","Resource","Prim","Key","(",")",",","new","Journal","Article","Resource",".","get","Resource","Prim","Key","(",")",")",";","assert",".","assert","Equals","(","existing","Journal","Article","Resource",".","get","Group","Id","(",")",",","new","Journal","Article","Resource",".","get","Group","Id","(",")",")",";","assert",".","assert","Equals","(","existing","Journal","Article","Resource",".","get","Company","Id","(",")",",","new","Journal","Article","Resource",".","get","Company","Id","(",")",")",";","assert",".","assert","Equals","(","existing","Journal","Article","Resource",".","get","Article","Id","(",")",",","new","Journal","Article","Resource",".","get","Article","Id","(",")",")",";","}"],"uuid":"658bc512470b2b03dcb73e7a8ad04bd7"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","subselect","Loadable","<\/id>","=","<id>","subquery","Loadable","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"Collection.java","formatted_lines":["{"," this.subselectLoadable = subqueryLoadable;","}"],"function_name":"setSubselectLoadable","function_name_tokens":["set","subselect","loadable"],"id_body_hash":"bb98b1708c3f1eae69a5b5e02eae0a6f","id_same_identifier_list":[0,1,2,3,4,4,5,6,6,7,8,9],"option_correct":"setSubselectLoadable","options":["setSubselectLoadable","buildClassPool","setA","testBasicInsertion","testTimeAsDate","loadCollectionSubselect","setSubselect"],"options_nlp":["set subselect loadable","build class pool","set a","test basic insertion","test time as date","load collection subselect","set subselect"],"options_random":["buildClassPool","testTimeAsDate","testBasicInsertion"],"options_tfidf":["setSubselect","setA","loadCollectionSubselect"],"project_name":"hibernate-orm","source_code_string":"public void setSubselectLoadable(boolean subqueryLoadable) {\n\t\tthis.subselectLoadable = subqueryLoadable;\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"this","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":8,"line":1},{"index_id":3,"token_group":3,"text":"subselect","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"Loadable","start_char":18,"line":1},{"index_id":5,"token_group":4,"text":"=","start_char":27,"line":1},{"index_id":6,"token_group":5,"text":"subquery","start_char":29,"line":1},{"index_id":7,"token_group":6,"text":"Loadable","start_char":37,"line":1},{"index_id":8,"token_group":6,"text":";","start_char":45,"line":1},{"index_id":9,"token_group":7,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","subselect","Loadable","=","subquery","Loadable",";","}"],"uuid":"4af19cfd4d19b2ad7c55ef973cd4336e"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","","Fuzziness","<\/id>","=","<id>","fuzziness","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"MultiMatchQuery.java","formatted_lines":["{"," _fuzziness = fuzziness;","}"],"function_name":"setFuzziness","function_name_tokens":["set","fuzziness"],"id_body_hash":"2ee1089645c9d57081335903a7e5f43e","id_same_identifier_list":[0,1,2,2,3,4,5,6,7],"option_correct":"setFuzziness","options":["setA2","addShoppingCategory","setFuzziness","set","getPriorities","_set","configureTaskRunPoshiBinResultsDir"],"options_nlp":["set a 2","add shopping category","set fuzziness","set","get priorities"," set","configure task run poshi bin results dir"],"options_random":["addShoppingCategory","getPriorities","configureTaskRunPoshiBinResultsDir"],"options_tfidf":["set","setA2","_set"],"project_name":"liferay-portal","source_code_string":"public void setFuzziness(String fuzziness) {\n\t\t_fuzziness = fuzziness;\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"","start_char":1,"line":0},{"index_id":2,"token_group":2,"text":"Fuzziness","start_char":5,"line":1},{"index_id":3,"token_group":2,"text":"=","start_char":15,"line":1},{"index_id":4,"token_group":3,"text":"fuzziness","start_char":17,"line":1},{"index_id":5,"token_group":4,"text":";","start_char":26,"line":1},{"index_id":6,"token_group":5,"text":"}","start_char":0,"line":2}],"tokens_list":["{","","Fuzziness","=","fuzziness",";","}"],"uuid":"8f52bb0eb7ddb627ee3ccaf4805424df"}]