-
Notifications
You must be signed in to change notification settings - Fork 1
/
experiment_0000042.json
1 lines (1 loc) · 102 KB
/
experiment_0000042.json
1
[{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","mock","Mvc","<\/id>",".","<id>","perform","<\/id>","(","<id>","get","<\/id>","(","\"\/\"",")",")",".","<id>","and","Expect","<\/id>","(","<id>","request","<\/id>","(",")",".","<id>","session","Attribute","<\/id>","(","\"locale\"",",","<id>","not","Null","Value","<\/id>","(",")",")",")",";","}","<SENTENCE_END\/>"],"file_name":"SessionAttributeAssertionTests.java","formatted_lines":["{"," this.mockMvc.perform(get(\"\/\"))"," .andExpect(request().sessionAttribute(\"locale\", notNullValue()));","}"],"function_name":"testSessionAttributeMatcher","function_name_tokens":["test","session","attribute","matcher"],"id_body_hash":"dc834010bf4cffe4a119681905b9d269","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,20,21,22,23,24,24,24,25,26,27,28,29,30,31],"option_correct":"testSessionAttributeMatcher","options":["httpPatch","isSessionAttribute","getTimerManager","testSessionAttributeMatcher","testGetSessionAttributeWithExistingSession","sessionAttribute","rawCollectionAsSource"],"options_nlp":["http patch","is session attribute","get timer manager","test session attribute matcher","test get session attribute with existing session","session attribute","raw collection as source"],"options_random":["httpPatch","getTimerManager","rawCollectionAsSource"],"options_tfidf":["sessionAttribute","testGetSessionAttributeWithExistingSession","isSessionAttribute"],"project_name":"spring-framework","source_code_string":"@Test\n\tpublic void testSessionAttributeMatcher() throws Exception {\n\t\tthis.mockMvc.perform(get(\"\/\"))\n\t\t\t.andExpect(request().sessionAttribute(\"locale\", notNullValue()));\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":"mock","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"Mvc","start_char":13,"line":1},{"index_id":5,"token_group":4,"text":".","start_char":16,"line":1},{"index_id":6,"token_group":5,"text":"perform","start_char":17,"line":1},{"index_id":7,"token_group":6,"text":"(","start_char":24,"line":1},{"index_id":8,"token_group":7,"text":"get","start_char":25,"line":1},{"index_id":9,"token_group":8,"text":"(","start_char":28,"line":1},{"index_id":10,"token_group":9,"text":"\"\/\"","start_char":29,"line":1},{"index_id":11,"token_group":10,"text":")","start_char":32,"line":1},{"index_id":12,"token_group":11,"text":")","start_char":33,"line":1},{"index_id":13,"token_group":12,"text":".","start_char":4,"line":2},{"index_id":14,"token_group":13,"text":"and","start_char":5,"line":2},{"index_id":15,"token_group":14,"text":"Expect","start_char":8,"line":2},{"index_id":16,"token_group":14,"text":"(","start_char":14,"line":2},{"index_id":17,"token_group":15,"text":"request","start_char":15,"line":2},{"index_id":18,"token_group":16,"text":"(","start_char":22,"line":2},{"index_id":19,"token_group":17,"text":")","start_char":23,"line":2},{"index_id":20,"token_group":18,"text":".","start_char":24,"line":2},{"index_id":21,"token_group":19,"text":"session","start_char":25,"line":2},{"index_id":22,"token_group":20,"text":"Attribute","start_char":32,"line":2},{"index_id":23,"token_group":20,"text":"(","start_char":41,"line":2},{"index_id":24,"token_group":21,"text":"\"locale\"","start_char":42,"line":2},{"index_id":25,"token_group":22,"text":",","start_char":50,"line":2},{"index_id":26,"token_group":23,"text":"not","start_char":52,"line":2},{"index_id":27,"token_group":24,"text":"Null","start_char":55,"line":2},{"index_id":28,"token_group":24,"text":"Value","start_char":59,"line":2},{"index_id":29,"token_group":24,"text":"(","start_char":64,"line":2},{"index_id":30,"token_group":25,"text":")","start_char":65,"line":2},{"index_id":31,"token_group":26,"text":")","start_char":66,"line":2},{"index_id":32,"token_group":27,"text":")","start_char":67,"line":2},{"index_id":33,"token_group":28,"text":";","start_char":68,"line":2},{"index_id":34,"token_group":29,"text":"}","start_char":0,"line":3}],"tokens_list":["{","this",".","mock","Mvc",".","perform","(","get","(","\"\/\"",")",")",".","and","Expect","(","request","(",")",".","session","Attribute","(","\"locale\"",",","not","Null","Value","(",")",")",")",";","}"],"uuid":"06849f54bedbcb925f93351b60912459"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","singleton","Registry","<\/id>",".","<id>","close","<\/id>","(",")",";","<id>","singleton","Registry","<\/id>","=","new","<id>","connector","Service","Registry","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"ConnectorServices.java","formatted_lines":["{"," singletonRegistry.close();"," singletonRegistry = new ConnectorServiceRegistry();","}"],"function_name":"reset","function_name_tokens":["reset"],"id_body_hash":"4ba8587d165634ca9003f521e41ae48d","id_same_identifier_list":[0,1,2,2,3,4,5,6,7,8,8,9,10,11,11,11,12,13,14,15,16],"option_correct":"reset","options":["testSecondSearchBlank","resetStdinPipe","setToolVersion","getExtraArguments","reset","setForkOptions","parseMavenMetadataInto"],"options_nlp":["test second search blank","reset stdin pipe","set tool version","get extra arguments","reset","set fork options","parse maven metadata into"],"options_random":["getExtraArguments","parseMavenMetadataInto","testSecondSearchBlank"],"options_tfidf":["setForkOptions","resetStdinPipe","setToolVersion"],"project_name":"gradle","source_code_string":"public static void reset() {\n singletonRegistry.close();\n singletonRegistry = new ConnectorServiceRegistry();\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"singleton","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Registry","start_char":13,"line":1},{"index_id":3,"token_group":2,"text":".","start_char":21,"line":1},{"index_id":4,"token_group":3,"text":"close","start_char":22,"line":1},{"index_id":5,"token_group":4,"text":"(","start_char":27,"line":1},{"index_id":6,"token_group":5,"text":")","start_char":28,"line":1},{"index_id":7,"token_group":6,"text":";","start_char":29,"line":1},{"index_id":8,"token_group":7,"text":"singleton","start_char":4,"line":2},{"index_id":9,"token_group":8,"text":"Registry","start_char":13,"line":2},{"index_id":10,"token_group":8,"text":"=","start_char":22,"line":2},{"index_id":11,"token_group":9,"text":"new","start_char":24,"line":2},{"index_id":12,"token_group":10,"text":"connector","start_char":28,"line":2},{"index_id":13,"token_group":11,"text":"Service","start_char":37,"line":2},{"index_id":14,"token_group":11,"text":"Registry","start_char":44,"line":2},{"index_id":15,"token_group":11,"text":"(","start_char":52,"line":2},{"index_id":16,"token_group":12,"text":")","start_char":53,"line":2},{"index_id":17,"token_group":13,"text":";","start_char":54,"line":2},{"index_id":18,"token_group":14,"text":"}","start_char":0,"line":3}],"tokens_list":["{","singleton","Registry",".","close","(",")",";","singleton","Registry","=","new","connector","Service","Registry","(",")",";","}"],"uuid":"e3e78db1a5a11287b40c595238d2c4b8"},{"cap_original_tokens":["<SENTENCE_START>","{","for","(","<id>","session","<\/id>","<id>","sess","<\/id>",":","<id>","sessions","<\/id>",".","<id>","values","<\/id>","(",")",")","<id>","sess","<\/id>",".","<id>","close","<\/id>","(",")",";","for","(","<id>","cluster","<\/id>","<id>","cl","<\/id>",":","<id>","clusters","<\/id>",".","<id>","values","<\/id>","(",")",")","<id>","cl","<\/id>",".","<id>","close","<\/id>","(",")",";","if","(","<id>","server","<\/id>","!=","null",")","<id>","server","<\/id>",".","<id>","stop","<\/id>","(",")",";","if","(","<id>","reuse","Prepared","<\/id>",")","<id>","query","Processor","<\/id>",".","<id>","clear","Internal","Statements","Cache","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"CQLTester.java","formatted_lines":["{"," for (Session sess : sessions.values())"," sess.close();"," for (Cluster cl : clusters.values())"," cl.close();",""," if (server != null)"," server.stop();","","",""," if (reusePrepared)"," QueryProcessor.clearInternalStatementsCache();","}"],"function_name":"tearDownClass","function_name_tokens":["tear","down","class"],"id_body_hash":"6ba753caba960ba0f58a6a78e16c1669","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,50,51,52,52,53,54,54,54,54,55,56,57,58,59],"option_correct":"tearDownClass","options":["afterClass","tearDownClass","testSorting","setupClass","isShuttingDown","atomicMoveWithFallback","getEndpointsIterator"],"options_nlp":["after class","tear down class","test sorting","setup class","is shutting down","atomic move with fallback","get endpoints iterator"],"options_random":["atomicMoveWithFallback","getEndpointsIterator","testSorting"],"options_tfidf":["setupClass","isShuttingDown","afterClass"],"project_name":"cassandra","source_code_string":"@AfterClass\n public static void tearDownClass()\n {\n for (Session sess : sessions.values())\n sess.close();\n for (Cluster cl : clusters.values())\n cl.close();\n\n if (server != null)\n server.stop();\n\n \n \n if (reusePrepared)\n QueryProcessor.clearInternalStatementsCache();\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"for","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"(","start_char":8,"line":1},{"index_id":3,"token_group":3,"text":"session","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"sess","start_char":17,"line":1},{"index_id":5,"token_group":5,"text":":","start_char":22,"line":1},{"index_id":6,"token_group":6,"text":"sessions","start_char":24,"line":1},{"index_id":7,"token_group":7,"text":".","start_char":32,"line":1},{"index_id":8,"token_group":8,"text":"values","start_char":33,"line":1},{"index_id":9,"token_group":9,"text":"(","start_char":39,"line":1},{"index_id":10,"token_group":10,"text":")","start_char":40,"line":1},{"index_id":11,"token_group":11,"text":")","start_char":41,"line":1},{"index_id":12,"token_group":12,"text":"sess","start_char":8,"line":2},{"index_id":13,"token_group":13,"text":".","start_char":12,"line":2},{"index_id":14,"token_group":14,"text":"close","start_char":13,"line":2},{"index_id":15,"token_group":15,"text":"(","start_char":18,"line":2},{"index_id":16,"token_group":16,"text":")","start_char":19,"line":2},{"index_id":17,"token_group":17,"text":";","start_char":20,"line":2},{"index_id":18,"token_group":18,"text":"for","start_char":4,"line":3},{"index_id":19,"token_group":19,"text":"(","start_char":8,"line":3},{"index_id":20,"token_group":20,"text":"cluster","start_char":9,"line":3},{"index_id":21,"token_group":21,"text":"cl","start_char":17,"line":3},{"index_id":22,"token_group":22,"text":":","start_char":20,"line":3},{"index_id":23,"token_group":23,"text":"clusters","start_char":22,"line":3},{"index_id":24,"token_group":24,"text":".","start_char":30,"line":3},{"index_id":25,"token_group":25,"text":"values","start_char":31,"line":3},{"index_id":26,"token_group":26,"text":"(","start_char":37,"line":3},{"index_id":27,"token_group":27,"text":")","start_char":38,"line":3},{"index_id":28,"token_group":28,"text":")","start_char":39,"line":3},{"index_id":29,"token_group":29,"text":"cl","start_char":8,"line":4},{"index_id":30,"token_group":30,"text":".","start_char":10,"line":4},{"index_id":31,"token_group":31,"text":"close","start_char":11,"line":4},{"index_id":32,"token_group":32,"text":"(","start_char":16,"line":4},{"index_id":33,"token_group":33,"text":")","start_char":17,"line":4},{"index_id":34,"token_group":34,"text":";","start_char":18,"line":4},{"index_id":35,"token_group":35,"text":"if","start_char":4,"line":6},{"index_id":36,"token_group":36,"text":"(","start_char":7,"line":6},{"index_id":37,"token_group":37,"text":"server","start_char":8,"line":6},{"index_id":38,"token_group":38,"text":"!=","start_char":15,"line":6},{"index_id":39,"token_group":39,"text":"null","start_char":18,"line":6},{"index_id":40,"token_group":40,"text":")","start_char":22,"line":6},{"index_id":41,"token_group":41,"text":"server","start_char":8,"line":7},{"index_id":42,"token_group":42,"text":".","start_char":14,"line":7},{"index_id":43,"token_group":43,"text":"stop","start_char":15,"line":7},{"index_id":44,"token_group":44,"text":"(","start_char":19,"line":7},{"index_id":45,"token_group":45,"text":")","start_char":20,"line":7},{"index_id":46,"token_group":46,"text":";","start_char":21,"line":7},{"index_id":47,"token_group":47,"text":"if","start_char":4,"line":11},{"index_id":48,"token_group":48,"text":"(","start_char":7,"line":11},{"index_id":49,"token_group":49,"text":"reuse","start_char":8,"line":11},{"index_id":50,"token_group":50,"text":"Prepared","start_char":13,"line":11},{"index_id":51,"token_group":50,"text":")","start_char":21,"line":11},{"index_id":52,"token_group":51,"text":"query","start_char":8,"line":12},{"index_id":53,"token_group":52,"text":"Processor","start_char":13,"line":12},{"index_id":54,"token_group":52,"text":".","start_char":22,"line":12},{"index_id":55,"token_group":53,"text":"clear","start_char":23,"line":12},{"index_id":56,"token_group":54,"text":"Internal","start_char":28,"line":12},{"index_id":57,"token_group":54,"text":"Statements","start_char":36,"line":12},{"index_id":58,"token_group":54,"text":"Cache","start_char":46,"line":12},{"index_id":59,"token_group":54,"text":"(","start_char":51,"line":12},{"index_id":60,"token_group":55,"text":")","start_char":52,"line":12},{"index_id":61,"token_group":56,"text":";","start_char":53,"line":12},{"index_id":62,"token_group":57,"text":"}","start_char":0,"line":13}],"tokens_list":["{","for","(","session","sess",":","sessions",".","values","(",")",")","sess",".","close","(",")",";","for","(","cluster","cl",":","clusters",".","values","(",")",")","cl",".","close","(",")",";","if","(","server","!=","null",")","server",".","stop","(",")",";","if","(","reuse","Prepared",")","query","Processor",".","clear","Internal","Statements","Cache","(",")",";","}"],"uuid":"545c5212628c6f417fa81a8709e558bf"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","entity","Name","Resolvers","<\/id>",".","<id>","put","<\/id>","(","<id>","resolver","<\/id>",",","<id>","entity","Name","Resolver","Map","Value","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"SessionFactoryImpl.java","formatted_lines":["{"," entityNameResolvers.put( resolver, ENTITY_NAME_RESOLVER_MAP_VALUE );","}"],"function_name":"registerEntityNameResolver","function_name_tokens":["register","entity","name","resolver"],"id_body_hash":"eb672fe400f2b669e94fa95fe6166869","id_same_identifier_list":[0,1,2,2,2,3,4,5,6,7,8,8,8,8,8,9,10,11,12],"option_correct":"registerEntityNameResolver","options":["registerEntityNameResolvers","getComp","registerEntityNameResolver","registerParameters","min","getSubclassTableSpan","addResolver"],"options_nlp":["register entity name resolvers","get comp","register entity name resolver","register parameters","min","get subclass table span","add resolver"],"options_random":["getComp","min","getSubclassTableSpan"],"options_tfidf":["addResolver","registerEntityNameResolvers","registerParameters"],"project_name":"hibernate-orm","source_code_string":"public void registerEntityNameResolver(EntityNameResolver resolver) {\n\t\tentityNameResolvers.put( resolver, ENTITY_NAME_RESOLVER_MAP_VALUE );\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"entity","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Name","start_char":10,"line":1},{"index_id":3,"token_group":2,"text":"Resolvers","start_char":14,"line":1},{"index_id":4,"token_group":2,"text":".","start_char":23,"line":1},{"index_id":5,"token_group":3,"text":"put","start_char":24,"line":1},{"index_id":6,"token_group":4,"text":"(","start_char":27,"line":1},{"index_id":7,"token_group":5,"text":"resolver","start_char":29,"line":1},{"index_id":8,"token_group":6,"text":",","start_char":37,"line":1},{"index_id":9,"token_group":7,"text":"entity","start_char":39,"line":1},{"index_id":10,"token_group":8,"text":"Name","start_char":46,"line":1},{"index_id":11,"token_group":8,"text":"Resolver","start_char":51,"line":1},{"index_id":12,"token_group":8,"text":"Map","start_char":60,"line":1},{"index_id":13,"token_group":8,"text":"Value","start_char":64,"line":1},{"index_id":14,"token_group":8,"text":")","start_char":70,"line":1},{"index_id":15,"token_group":9,"text":";","start_char":71,"line":1},{"index_id":16,"token_group":10,"text":"}","start_char":0,"line":2}],"tokens_list":["{","entity","Name","Resolvers",".","put","(","resolver",",","entity","Name","Resolver","Map","Value",")",";","}"],"uuid":"a215914c97479324268b532744851544"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","name","<\/id>","=","<id>","name","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"Catalog.java","formatted_lines":["{"," this.name = name;","}"],"function_name":"setName","function_name_tokens":["set","name"],"id_body_hash":"1baef982a6831f452c5432fc78e7f70f","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9],"option_correct":"setName","options":["testJobs","openLogFileForRead","setNameNode","setJobName","setFileName","getDefaultReadCachingStrategy","setName"],"options_nlp":["test jobs","open log file for read","set name node","set job name","set file name","get default read caching strategy","set name"],"options_random":["getDefaultReadCachingStrategy","testJobs","openLogFileForRead"],"options_tfidf":["setJobName","setNameNode","setFileName"],"project_name":"hadoop-common","source_code_string":"public void setName(String name) {\n this.name = name;\n }","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":"name","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"=","start_char":14,"line":1},{"index_id":5,"token_group":5,"text":"name","start_char":16,"line":1},{"index_id":6,"token_group":6,"text":";","start_char":20,"line":1},{"index_id":7,"token_group":7,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","name","=","name",";","}"],"uuid":"240eed23b22c3a0cb496f32fdb4ec1ec"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","leaf","Block","Wrapper","<\/id>","<id>","current","<\/id>","=","<id>","my","First","Token","Block","<\/id>",";","while","(","<id>","current","<\/id>","!=","null",")","{","<id>","current","<\/id>",".","<id>","get","White","Space","<\/id>","(",")",".","<id>","set","Read","Only","<\/id>","(","true",")",";","<id>","current","<\/id>","=","<id>","current","<\/id>",".","<id>","get","Next","Block","<\/id>","(",")",";","}","}","<SENTENCE_END\/>"],"file_name":"FormatProcessor.java","formatted_lines":["{"," LeafBlockWrapper current = myFirstTokenBlock;"," while (current != null)"," {"," current.getWhiteSpace().setReadOnly(true);"," current = current.getNextBlock();"," }","}"],"function_name":"setAllWhiteSpacesAreReadOnly","function_name_tokens":["set","all","white","spaces","are","read","only"],"id_body_hash":"e0f8c2b8e557d8911d9c9542537b04ff","id_same_identifier_list":[0,1,2,2,2,3,4,5,5,5,5,6,7,8,9,10,11,12,13,14,15,16,16,16,17,18,19,20,20,20,21,22,23,24,25,26,27,28,29,29,29,30,31,32,33,34,35],"option_correct":"setAllWhiteSpacesAreReadOnly","options":["setAllWhiteSpacesAreReadOnly","testAutoImportOfGenericReference","setReadOnly","print","containsWhiteSpacesOnly","readOnly","getAsmJar"],"options_nlp":["set all white spaces are read only","test auto import of generic reference","set read only","print","contains white spaces only","read only","get asm jar"],"options_random":["print","testAutoImportOfGenericReference","getAsmJar"],"options_tfidf":["containsWhiteSpacesOnly","setReadOnly","readOnly"],"project_name":"intellij-community","source_code_string":"public void setAllWhiteSpacesAreReadOnly() {\n LeafBlockWrapper current = myFirstTokenBlock;\n while (current != null) {\n current.getWhiteSpace().setReadOnly(true);\n current = current.getNextBlock();\n }\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"leaf","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Block","start_char":8,"line":1},{"index_id":3,"token_group":2,"text":"Wrapper","start_char":13,"line":1},{"index_id":4,"token_group":2,"text":"current","start_char":21,"line":1},{"index_id":5,"token_group":3,"text":"=","start_char":29,"line":1},{"index_id":6,"token_group":4,"text":"my","start_char":31,"line":1},{"index_id":7,"token_group":5,"text":"First","start_char":33,"line":1},{"index_id":8,"token_group":5,"text":"Token","start_char":38,"line":1},{"index_id":9,"token_group":5,"text":"Block","start_char":43,"line":1},{"index_id":10,"token_group":5,"text":";","start_char":48,"line":1},{"index_id":11,"token_group":6,"text":"while","start_char":4,"line":2},{"index_id":12,"token_group":7,"text":"(","start_char":10,"line":2},{"index_id":13,"token_group":8,"text":"current","start_char":11,"line":2},{"index_id":14,"token_group":9,"text":"!=","start_char":19,"line":2},{"index_id":15,"token_group":10,"text":"null","start_char":22,"line":2},{"index_id":16,"token_group":11,"text":")","start_char":26,"line":2},{"index_id":17,"token_group":12,"text":"{","start_char":4,"line":3},{"index_id":18,"token_group":13,"text":"current","start_char":8,"line":4},{"index_id":19,"token_group":14,"text":".","start_char":15,"line":4},{"index_id":20,"token_group":15,"text":"get","start_char":16,"line":4},{"index_id":21,"token_group":16,"text":"White","start_char":19,"line":4},{"index_id":22,"token_group":16,"text":"Space","start_char":24,"line":4},{"index_id":23,"token_group":16,"text":"(","start_char":29,"line":4},{"index_id":24,"token_group":17,"text":")","start_char":30,"line":4},{"index_id":25,"token_group":18,"text":".","start_char":31,"line":4},{"index_id":26,"token_group":19,"text":"set","start_char":32,"line":4},{"index_id":27,"token_group":20,"text":"Read","start_char":35,"line":4},{"index_id":28,"token_group":20,"text":"Only","start_char":39,"line":4},{"index_id":29,"token_group":20,"text":"(","start_char":43,"line":4},{"index_id":30,"token_group":21,"text":"true","start_char":44,"line":4},{"index_id":31,"token_group":22,"text":")","start_char":48,"line":4},{"index_id":32,"token_group":23,"text":";","start_char":49,"line":4},{"index_id":33,"token_group":24,"text":"current","start_char":8,"line":5},{"index_id":34,"token_group":25,"text":"=","start_char":16,"line":5},{"index_id":35,"token_group":26,"text":"current","start_char":18,"line":5},{"index_id":36,"token_group":27,"text":".","start_char":25,"line":5},{"index_id":37,"token_group":28,"text":"get","start_char":26,"line":5},{"index_id":38,"token_group":29,"text":"Next","start_char":29,"line":5},{"index_id":39,"token_group":29,"text":"Block","start_char":33,"line":5},{"index_id":40,"token_group":29,"text":"(","start_char":38,"line":5},{"index_id":41,"token_group":30,"text":")","start_char":39,"line":5},{"index_id":42,"token_group":31,"text":";","start_char":40,"line":5},{"index_id":43,"token_group":32,"text":"}","start_char":4,"line":6},{"index_id":44,"token_group":33,"text":"}","start_char":0,"line":7}],"tokens_list":["{","leaf","Block","Wrapper","current","=","my","First","Token","Block",";","while","(","current","!=","null",")","{","current",".","get","White","Space","(",")",".","set","Read","Only","(","true",")",";","current","=","current",".","get","Next","Block","(",")",";","}","}"],"uuid":"28f2bdc3470faeae47833dec3c9b9249"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","do","Test","<\/id>","(","\"AClass\"",",","\"I\"",",","true",")",";","}","<SENTENCE_END\/>"],"file_name":"TurnRefsToSuperTest.java","formatted_lines":["public void testUseAsArg() throws Exception { doTest(\"AClass\", \"I\", true); }"],"function_name":"testUseAsArg","function_name_tokens":["test","use","as","arg"],"id_body_hash":"b690e8aec53706b45f09a8c6189527dc","id_same_identifier_list":[0,1,2,2,3,4,5,6,7,8,9,10,11,12],"option_correct":"testUseAsArg","options":["testVarArg","testRefNewInner","testQualifierToArg1","createStub","as","createCBPanel","testUseAsArg"],"options_nlp":["test var arg","test ref new inner","test qualifier to arg 1","create stub","as","create cb panel","test use as arg"],"options_random":["createStub","testRefNewInner","createCBPanel"],"options_tfidf":["testQualifierToArg1","testVarArg","as"],"project_name":"intellij-community","source_code_string":"public void testUseAsArg() throws Exception { doTest(\"AClass\", \"I\", true); }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":38,"line":0},{"index_id":1,"token_group":1,"text":"do","start_char":40,"line":0},{"index_id":2,"token_group":2,"text":"Test","start_char":42,"line":0},{"index_id":3,"token_group":2,"text":"(","start_char":46,"line":0},{"index_id":4,"token_group":3,"text":"\"AClass\"","start_char":47,"line":0},{"index_id":5,"token_group":4,"text":",","start_char":55,"line":0},{"index_id":6,"token_group":5,"text":"\"I\"","start_char":57,"line":0},{"index_id":7,"token_group":6,"text":",","start_char":60,"line":0},{"index_id":8,"token_group":7,"text":"true","start_char":62,"line":0},{"index_id":9,"token_group":8,"text":")","start_char":66,"line":0},{"index_id":10,"token_group":9,"text":";","start_char":67,"line":0},{"index_id":11,"token_group":10,"text":"}","start_char":69,"line":0}],"tokens_list":["{","do","Test","(","\"AClass\"",",","\"I\"",",","true",")",";","}"],"uuid":"202be27f6435519d3b25ea8c3eb4c6f4"},{"cap_original_tokens":["<SENTENCE_START>","{","return","this",".","<id>","encoding","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"Zip.java","formatted_lines":["{"," return this.encoding;","}"],"function_name":"getEncoding","function_name_tokens":["get","encoding"],"id_body_hash":"fbea4702f6ff12ff1a9b1d9599652bea","id_same_identifier_list":[0,1,2,3,4,5,6,7,8],"option_correct":"getEncoding","options":["getEncoding","getGetGetter","get","getConstructibleTypeNames","isClasspathEmpty","publish","getDefaultCharacterEncoding"],"options_nlp":["get encoding","get get getter","get","get constructible type names","is classpath empty","publish","get default character encoding"],"options_random":["isClasspathEmpty","publish","getConstructibleTypeNames"],"options_tfidf":["get","getDefaultCharacterEncoding","getGetGetter"],"project_name":"gradle","source_code_string":"public String getEncoding() {\n return this.encoding;\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":"this","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":".","start_char":15,"line":1},{"index_id":4,"token_group":4,"text":"encoding","start_char":16,"line":1},{"index_id":5,"token_group":5,"text":";","start_char":24,"line":1},{"index_id":6,"token_group":6,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","this",".","encoding",";","}"],"uuid":"a78f2561981252753e86dc4e677d6180"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","internal","Search","Response","<\/id>","<id>","response","<\/id>","=","new","<id>","internal","Search","Response","<\/id>","(",")",";","<id>","response","<\/id>",".","<id>","read","From","<\/id>","(","<id>","in","<\/id>",")",";","return","<id>","response","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"InternalSearchResponse.java","formatted_lines":["{"," InternalSearchResponse response = new InternalSearchResponse();"," response.readFrom(in);"," return response;","}"],"function_name":"readInternalSearchResponse","function_name_tokens":["read","internal","search","response"],"id_body_hash":"a0554642020fbeaa186fc161a16105d4","id_same_identifier_list":[0,1,2,2,2,3,4,5,6,6,6,7,8,9,10,11,12,12,13,14,15,16,17,18,19,20,21],"option_correct":"readInternalSearchResponse","options":["readGetResponse","innerGetLoadFromStoredFields","testAllVersionsMatchId","readInternalSearchResponse","readNodeResponse","readResponseFrom","addNode"],"options_nlp":["read get response","inner get load from stored fields","test all versions match id","read internal search response","read node response","read response from","add node"],"options_random":["addNode","innerGetLoadFromStoredFields","testAllVersionsMatchId"],"options_tfidf":["readGetResponse","readNodeResponse","readResponseFrom"],"project_name":"elasticsearch","source_code_string":"public static InternalSearchResponse readInternalSearchResponse(StreamInput in) throws IOException {\n InternalSearchResponse response = new InternalSearchResponse();\n response.readFrom(in);\n return response;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"internal","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Search","start_char":12,"line":1},{"index_id":3,"token_group":2,"text":"Response","start_char":18,"line":1},{"index_id":4,"token_group":2,"text":"response","start_char":27,"line":1},{"index_id":5,"token_group":3,"text":"=","start_char":36,"line":1},{"index_id":6,"token_group":4,"text":"new","start_char":38,"line":1},{"index_id":7,"token_group":5,"text":"internal","start_char":42,"line":1},{"index_id":8,"token_group":6,"text":"Search","start_char":50,"line":1},{"index_id":9,"token_group":6,"text":"Response","start_char":56,"line":1},{"index_id":10,"token_group":6,"text":"(","start_char":64,"line":1},{"index_id":11,"token_group":7,"text":")","start_char":65,"line":1},{"index_id":12,"token_group":8,"text":";","start_char":66,"line":1},{"index_id":13,"token_group":9,"text":"response","start_char":4,"line":2},{"index_id":14,"token_group":10,"text":".","start_char":12,"line":2},{"index_id":15,"token_group":11,"text":"read","start_char":13,"line":2},{"index_id":16,"token_group":12,"text":"From","start_char":17,"line":2},{"index_id":17,"token_group":12,"text":"(","start_char":21,"line":2},{"index_id":18,"token_group":13,"text":"in","start_char":22,"line":2},{"index_id":19,"token_group":14,"text":")","start_char":24,"line":2},{"index_id":20,"token_group":15,"text":";","start_char":25,"line":2},{"index_id":21,"token_group":16,"text":"return","start_char":4,"line":3},{"index_id":22,"token_group":17,"text":"response","start_char":11,"line":3},{"index_id":23,"token_group":18,"text":";","start_char":19,"line":3},{"index_id":24,"token_group":19,"text":"}","start_char":0,"line":4}],"tokens_list":["{","internal","Search","Response","response","=","new","internal","Search","Response","(",")",";","response",".","read","From","(","in",")",";","return","response",";","}"],"uuid":"096ede195e38ce0c0c0941147add097f"},{"cap_original_tokens":["<SENTENCE_START>","{","int","<id>","error","Code","<\/id>","=","<id>","http","Url","Connection","<\/id>",".","<id>","http","Internal","Error","<\/id>",";","<id>","url","<\/id>","<id>","url","<\/id>","=","new","<id>","url","<\/id>","(","<id>","base","Url","<\/id>","+","\"\/ErrorGeneratorServlet?errorCode=\"","+","<id>","error","Code","<\/id>",")",";","<id>","test","Url","<\/id>","(","<id>","url","<\/id>",",","<id>","error","Code","<\/id>",",","\"500.jsp\"",",","null",")",";","}","<SENTENCE_END\/>"],"file_name":"CustomErrorsUnitTestCase.java","formatted_lines":["{"," int errorCode = HttpURLConnection.HTTP_INTERNAL_ERROR;"," URL url = new URL(baseURL + \"\/ErrorGeneratorServlet?errorCode=\" + errorCode);"," testURL(url, errorCode, \"500.jsp\", null);","}"],"function_name":"test500Error","function_name_tokens":["test","500","error"],"id_body_hash":"8e0400541effcaa7d0fcb65d40e1b4f8","id_same_identifier_list":[0,1,2,3,3,4,5,5,5,6,7,7,7,8,9,10,11,12,13,14,15,15,16,17,18,19,19,20,21,22,22,23,24,25,26,26,27,28,29,30,31,32,33,34],"option_correct":"test500Error","options":["test404Error","test500","test500Error","testExceptionError","geTestMBeanSar","parseRecoveryEnvironmentElement","peekLast"],"options_nlp":["test 404 error","test 500","test 500 error","test exception error","ge test m bean sar","parse recovery environment element","peek last"],"options_random":["geTestMBeanSar","parseRecoveryEnvironmentElement","peekLast"],"options_tfidf":["test500","testExceptionError","test404Error"],"project_name":"wildfly","source_code_string":"@Test \n @OperateOnDeployment(\"error-producer.war\")\n public void test500Error(@ArquillianResource(ErrorGeneratorServlet.class) URL baseURL) throws Exception {\n int errorCode = HttpURLConnection.HTTP_INTERNAL_ERROR;\n URL url = new URL(baseURL + \"\/ErrorGeneratorServlet?errorCode=\" + errorCode);\n testURL(url, errorCode, \"500.jsp\", null);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"int","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"error","start_char":8,"line":1},{"index_id":3,"token_group":3,"text":"Code","start_char":13,"line":1},{"index_id":4,"token_group":3,"text":"=","start_char":18,"line":1},{"index_id":5,"token_group":4,"text":"http","start_char":20,"line":1},{"index_id":6,"token_group":5,"text":"Url","start_char":24,"line":1},{"index_id":7,"token_group":5,"text":"Connection","start_char":27,"line":1},{"index_id":8,"token_group":5,"text":".","start_char":37,"line":1},{"index_id":9,"token_group":6,"text":"http","start_char":38,"line":1},{"index_id":10,"token_group":7,"text":"Internal","start_char":43,"line":1},{"index_id":11,"token_group":7,"text":"Error","start_char":52,"line":1},{"index_id":12,"token_group":7,"text":";","start_char":57,"line":1},{"index_id":13,"token_group":8,"text":"url","start_char":4,"line":2},{"index_id":14,"token_group":9,"text":"url","start_char":8,"line":2},{"index_id":15,"token_group":10,"text":"=","start_char":12,"line":2},{"index_id":16,"token_group":11,"text":"new","start_char":14,"line":2},{"index_id":17,"token_group":12,"text":"url","start_char":18,"line":2},{"index_id":18,"token_group":13,"text":"(","start_char":21,"line":2},{"index_id":19,"token_group":14,"text":"base","start_char":22,"line":2},{"index_id":20,"token_group":15,"text":"Url","start_char":26,"line":2},{"index_id":21,"token_group":15,"text":"+","start_char":30,"line":2},{"index_id":22,"token_group":16,"text":"\"\/ErrorGeneratorServlet?errorCode=\"","start_char":32,"line":2},{"index_id":23,"token_group":17,"text":"+","start_char":68,"line":2},{"index_id":24,"token_group":18,"text":"error","start_char":70,"line":2},{"index_id":25,"token_group":19,"text":"Code","start_char":75,"line":2},{"index_id":26,"token_group":19,"text":")","start_char":79,"line":2},{"index_id":27,"token_group":20,"text":";","start_char":80,"line":2},{"index_id":28,"token_group":21,"text":"test","start_char":4,"line":3},{"index_id":29,"token_group":22,"text":"Url","start_char":8,"line":3},{"index_id":30,"token_group":22,"text":"(","start_char":11,"line":3},{"index_id":31,"token_group":23,"text":"url","start_char":12,"line":3},{"index_id":32,"token_group":24,"text":",","start_char":15,"line":3},{"index_id":33,"token_group":25,"text":"error","start_char":17,"line":3},{"index_id":34,"token_group":26,"text":"Code","start_char":22,"line":3},{"index_id":35,"token_group":26,"text":",","start_char":26,"line":3},{"index_id":36,"token_group":27,"text":"\"500.jsp\"","start_char":28,"line":3},{"index_id":37,"token_group":28,"text":",","start_char":37,"line":3},{"index_id":38,"token_group":29,"text":"null","start_char":39,"line":3},{"index_id":39,"token_group":30,"text":")","start_char":43,"line":3},{"index_id":40,"token_group":31,"text":";","start_char":44,"line":3},{"index_id":41,"token_group":32,"text":"}","start_char":0,"line":4}],"tokens_list":["{","int","error","Code","=","http","Url","Connection",".","http","Internal","Error",";","url","url","=","new","url","(","base","Url","+","\"\/ErrorGeneratorServlet?errorCode=\"","+","error","Code",")",";","test","Url","(","url",",","error","Code",",","\"500.jsp\"",",","null",")",";","}"],"uuid":"82ccc19e1d23bb954b4d9a4b749c9199"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","properties","<\/id>","<id>","properties","<\/id>","=","new","<id>","properties","<\/id>","(",")",";","for","(","<id>","string","<\/id>","<id>","key","Value","Pair","<\/id>",":","<id>","key","Value","Pairs","<\/id>",")","{","<id>","string","<\/id>","[","]","<id>","key","Value","<\/id>","=","<id>","string","Util","<\/id>",".","<id>","split","<\/id>","(","<id>","key","Value","Pair","<\/id>",",","<id>","char","Pool","<\/id>",".","<id>","equal","<\/id>",")",";","if","(","<id>","array","Util","<\/id>",".","<id>","is","Empty","<\/id>","(","<id>","key","Value","<\/id>",")",")","{","continue",";","}","<id>","string","<\/id>","<id>","value","<\/id>","=","<id>","string","Pool","<\/id>",".","<id>","blank","<\/id>",";","if","(","<id>","key","Value","<\/id>",".","<id>","length","<\/id>","==","2",")","{","<id>","value","<\/id>","=","<id>","key","Value","<\/id>","[","1","]",";","}","<id>","properties","<\/id>",".","<id>","put","<\/id>","(","<id>","key","Value","<\/id>","[","0","]",",","<id>","value","<\/id>",")",";","}","return","<id>","properties","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"DefaultLDAPSettings.java","formatted_lines":["{"," Properties properties = new Properties();",""," for (String keyValuePair : keyValuePairs)"," {"," String[] keyValue = StringUtil.split(keyValuePair, CharPool.EQUAL);",""," if (ArrayUtil.isEmpty(keyValue))"," {"," continue;"," }",""," String value = StringPool.BLANK;",""," if (keyValue.length == 2)"," {"," value = keyValue[1];"," }",""," properties.put(keyValue[0], value);"," }",""," return properties;","}"],"function_name":"getProperties","function_name_tokens":["get","properties"],"id_body_hash":"9970e971babbe1ea9e4cd04b24574139","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,13,13,14,15,15,15,16,17,18,19,20,21,21,22,23,23,24,25,26,27,27,27,28,29,29,30,31,32,33,34,35,36,36,37,38,38,39,40,40,41,42,43,44,45,46,47,48,49,50,50,51,52,53,54,55,56,56,57,58,59,60,61,62,63,64,65,65,66,67,68,69,70,71,72,73,74,75,75,76,77,78,79,80,81,82,83,84,85,86,87,88],"option_correct":"getProperties","options":["testEncryptUFCCRYPT","getCategoryProperties","_getProperties","getProperties","_authenticate","getAssetCategoryPropertyPersistence","getDefaultProperties"],"options_nlp":["test encrypt ufccrypt","get category properties"," get properties","get properties"," authenticate","get asset category property persistence","get default properties"],"options_random":["testEncryptUFCCRYPT","_authenticate","getAssetCategoryPropertyPersistence"],"options_tfidf":["getCategoryProperties","getDefaultProperties","_getProperties"],"project_name":"liferay-portal","source_code_string":"protected Properties getProperties(String[] keyValuePairs) {\n\t\tProperties properties = new Properties();\n\n\t\tfor (String keyValuePair : keyValuePairs) {\n\t\t\tString[] keyValue = StringUtil.split(keyValuePair, CharPool.EQUAL);\n\n\t\t\tif (ArrayUtil.isEmpty(keyValue)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tString value = StringPool.BLANK;\n\n\t\t\tif (keyValue.length == 2) {\n\t\t\t\tvalue = keyValue[1];\n\t\t\t}\n\n\t\t\tproperties.put(keyValue[0], value);\n\t\t}\n\n\t\treturn properties;\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"properties","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"properties","start_char":15,"line":1},{"index_id":3,"token_group":3,"text":"=","start_char":26,"line":1},{"index_id":4,"token_group":4,"text":"new","start_char":28,"line":1},{"index_id":5,"token_group":5,"text":"properties","start_char":32,"line":1},{"index_id":6,"token_group":6,"text":"(","start_char":42,"line":1},{"index_id":7,"token_group":7,"text":")","start_char":43,"line":1},{"index_id":8,"token_group":8,"text":";","start_char":44,"line":1},{"index_id":9,"token_group":9,"text":"for","start_char":4,"line":3},{"index_id":10,"token_group":10,"text":"(","start_char":8,"line":3},{"index_id":11,"token_group":11,"text":"string","start_char":9,"line":3},{"index_id":12,"token_group":12,"text":"key","start_char":16,"line":3},{"index_id":13,"token_group":13,"text":"Value","start_char":19,"line":3},{"index_id":14,"token_group":13,"text":"Pair","start_char":24,"line":3},{"index_id":15,"token_group":13,"text":":","start_char":29,"line":3},{"index_id":16,"token_group":14,"text":"key","start_char":31,"line":3},{"index_id":17,"token_group":15,"text":"Value","start_char":34,"line":3},{"index_id":18,"token_group":15,"text":"Pairs","start_char":39,"line":3},{"index_id":19,"token_group":15,"text":")","start_char":44,"line":3},{"index_id":20,"token_group":16,"text":"{","start_char":4,"line":4},{"index_id":21,"token_group":17,"text":"string","start_char":8,"line":5},{"index_id":22,"token_group":18,"text":"[","start_char":14,"line":5},{"index_id":23,"token_group":19,"text":"]","start_char":15,"line":5},{"index_id":24,"token_group":20,"text":"key","start_char":17,"line":5},{"index_id":25,"token_group":21,"text":"Value","start_char":20,"line":5},{"index_id":26,"token_group":21,"text":"=","start_char":26,"line":5},{"index_id":27,"token_group":22,"text":"string","start_char":28,"line":5},{"index_id":28,"token_group":23,"text":"Util","start_char":34,"line":5},{"index_id":29,"token_group":23,"text":".","start_char":38,"line":5},{"index_id":30,"token_group":24,"text":"split","start_char":39,"line":5},{"index_id":31,"token_group":25,"text":"(","start_char":44,"line":5},{"index_id":32,"token_group":26,"text":"key","start_char":45,"line":5},{"index_id":33,"token_group":27,"text":"Value","start_char":48,"line":5},{"index_id":34,"token_group":27,"text":"Pair","start_char":53,"line":5},{"index_id":35,"token_group":27,"text":",","start_char":57,"line":5},{"index_id":36,"token_group":28,"text":"char","start_char":59,"line":5},{"index_id":37,"token_group":29,"text":"Pool","start_char":63,"line":5},{"index_id":38,"token_group":29,"text":".","start_char":67,"line":5},{"index_id":39,"token_group":30,"text":"equal","start_char":68,"line":5},{"index_id":40,"token_group":31,"text":")","start_char":73,"line":5},{"index_id":41,"token_group":32,"text":";","start_char":74,"line":5},{"index_id":42,"token_group":33,"text":"if","start_char":8,"line":7},{"index_id":43,"token_group":34,"text":"(","start_char":11,"line":7},{"index_id":44,"token_group":35,"text":"array","start_char":12,"line":7},{"index_id":45,"token_group":36,"text":"Util","start_char":17,"line":7},{"index_id":46,"token_group":36,"text":".","start_char":21,"line":7},{"index_id":47,"token_group":37,"text":"is","start_char":22,"line":7},{"index_id":48,"token_group":38,"text":"Empty","start_char":24,"line":7},{"index_id":49,"token_group":38,"text":"(","start_char":29,"line":7},{"index_id":50,"token_group":39,"text":"key","start_char":30,"line":7},{"index_id":51,"token_group":40,"text":"Value","start_char":33,"line":7},{"index_id":52,"token_group":40,"text":")","start_char":38,"line":7},{"index_id":53,"token_group":41,"text":")","start_char":39,"line":7},{"index_id":54,"token_group":42,"text":"{","start_char":8,"line":8},{"index_id":55,"token_group":43,"text":"continue","start_char":12,"line":9},{"index_id":56,"token_group":44,"text":";","start_char":20,"line":9},{"index_id":57,"token_group":45,"text":"}","start_char":8,"line":10},{"index_id":58,"token_group":46,"text":"string","start_char":8,"line":12},{"index_id":59,"token_group":47,"text":"value","start_char":15,"line":12},{"index_id":60,"token_group":48,"text":"=","start_char":21,"line":12},{"index_id":61,"token_group":49,"text":"string","start_char":23,"line":12},{"index_id":62,"token_group":50,"text":"Pool","start_char":29,"line":12},{"index_id":63,"token_group":50,"text":".","start_char":33,"line":12},{"index_id":64,"token_group":51,"text":"blank","start_char":34,"line":12},{"index_id":65,"token_group":52,"text":";","start_char":39,"line":12},{"index_id":66,"token_group":53,"text":"if","start_char":8,"line":14},{"index_id":67,"token_group":54,"text":"(","start_char":11,"line":14},{"index_id":68,"token_group":55,"text":"key","start_char":12,"line":14},{"index_id":69,"token_group":56,"text":"Value","start_char":15,"line":14},{"index_id":70,"token_group":56,"text":".","start_char":20,"line":14},{"index_id":71,"token_group":57,"text":"length","start_char":21,"line":14},{"index_id":72,"token_group":58,"text":"==","start_char":28,"line":14},{"index_id":73,"token_group":59,"text":"2","start_char":31,"line":14},{"index_id":74,"token_group":60,"text":")","start_char":32,"line":14},{"index_id":75,"token_group":61,"text":"{","start_char":8,"line":15},{"index_id":76,"token_group":62,"text":"value","start_char":12,"line":16},{"index_id":77,"token_group":63,"text":"=","start_char":18,"line":16},{"index_id":78,"token_group":64,"text":"key","start_char":20,"line":16},{"index_id":79,"token_group":65,"text":"Value","start_char":23,"line":16},{"index_id":80,"token_group":65,"text":"[","start_char":28,"line":16},{"index_id":81,"token_group":66,"text":"1","start_char":29,"line":16},{"index_id":82,"token_group":67,"text":"]","start_char":30,"line":16},{"index_id":83,"token_group":68,"text":";","start_char":31,"line":16},{"index_id":84,"token_group":69,"text":"}","start_char":8,"line":17},{"index_id":85,"token_group":70,"text":"properties","start_char":8,"line":19},{"index_id":86,"token_group":71,"text":".","start_char":18,"line":19},{"index_id":87,"token_group":72,"text":"put","start_char":19,"line":19},{"index_id":88,"token_group":73,"text":"(","start_char":22,"line":19},{"index_id":89,"token_group":74,"text":"key","start_char":23,"line":19},{"index_id":90,"token_group":75,"text":"Value","start_char":26,"line":19},{"index_id":91,"token_group":75,"text":"[","start_char":31,"line":19},{"index_id":92,"token_group":76,"text":"0","start_char":32,"line":19},{"index_id":93,"token_group":77,"text":"]","start_char":33,"line":19},{"index_id":94,"token_group":78,"text":",","start_char":34,"line":19},{"index_id":95,"token_group":79,"text":"value","start_char":36,"line":19},{"index_id":96,"token_group":80,"text":")","start_char":41,"line":19},{"index_id":97,"token_group":81,"text":";","start_char":42,"line":19},{"index_id":98,"token_group":82,"text":"}","start_char":4,"line":20},{"index_id":99,"token_group":83,"text":"return","start_char":4,"line":22},{"index_id":100,"token_group":84,"text":"properties","start_char":11,"line":22},{"index_id":101,"token_group":85,"text":";","start_char":21,"line":22},{"index_id":102,"token_group":86,"text":"}","start_char":0,"line":23}],"tokens_list":["{","properties","properties","=","new","properties","(",")",";","for","(","string","key","Value","Pair",":","key","Value","Pairs",")","{","string","[","]","key","Value","=","string","Util",".","split","(","key","Value","Pair",",","char","Pool",".","equal",")",";","if","(","array","Util",".","is","Empty","(","key","Value",")",")","{","continue",";","}","string","value","=","string","Pool",".","blank",";","if","(","key","Value",".","length","==","2",")","{","value","=","key","Value","[","1","]",";","}","properties",".","put","(","key","Value","[","0","]",",","value",")",";","}","return","properties",";","}"],"uuid":"b33249e9e8fdc4409b3ff593e5454dfe"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","masters","<\/id>","=","<id>","masters","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"DetailSuperclass.java","formatted_lines":["{"," this.masters = masters;","}"],"function_name":"setMasters","function_name_tokens":["set","masters"],"id_body_hash":"4043bacfddddd24a6491e0a8b909cfc9","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9],"option_correct":"setMasters","options":["listEmailsOfEvent","set","testPlaceholderReplacement","setA","renderPropertySelect","setC","setMasters"],"options_nlp":["list emails of event","set","test placeholder replacement","set a","render property select","set c","set masters"],"options_random":["listEmailsOfEvent","testPlaceholderReplacement","renderPropertySelect"],"options_tfidf":["setC","setA","set"],"project_name":"hibernate-orm","source_code_string":"public void setMasters(List<Master> masters) {\n\t\tthis.masters = masters;\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":"masters","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"=","start_char":17,"line":1},{"index_id":5,"token_group":5,"text":"masters","start_char":19,"line":1},{"index_id":6,"token_group":6,"text":";","start_char":26,"line":1},{"index_id":7,"token_group":7,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","masters","=","masters",";","}"],"uuid":"75d3bababc51fdd972779ac5023eb63f"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","assert","<\/id>",".","<id>","not","Null","<\/id>","(","<id>","session","<\/id>",",","\"session must not be null\"",")",";","this",".","<id>","native","Session","<\/id>","=","<id>","session","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"AbstractWebSocketSession.java","formatted_lines":["{"," Assert.notNull(session, \"session must not be null\");"," this.nativeSession = session;","}"],"function_name":"initializeNativeSession","function_name_tokens":["initialize","native","session"],"id_body_hash":"e6c3b54f7986834cce67116e3ea84f38","id_same_identifier_list":[0,1,2,3,4,4,5,6,7,8,9,10,11,12,13,13,14,15,16,17,18],"option_correct":"initializeNativeSession","options":["executeWithNativeSession","isExposeNativeSession","isBridgeMethodFor","initializeNativeSession","getServer","buildFieldList","setExposeNativeSession"],"options_nlp":["execute with native session","is expose native session","is bridge method for","initialize native session","get server","build field list","set expose native session"],"options_random":["isBridgeMethodFor","getServer","buildFieldList"],"options_tfidf":["setExposeNativeSession","executeWithNativeSession","isExposeNativeSession"],"project_name":"spring-framework","source_code_string":"public void initializeNativeSession(T session) {\n\t\tAssert.notNull(session, \"session must not be null\");\n\t\tthis.nativeSession = session;\n\t}","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":".","start_char":10,"line":1},{"index_id":3,"token_group":3,"text":"not","start_char":11,"line":1},{"index_id":4,"token_group":4,"text":"Null","start_char":14,"line":1},{"index_id":5,"token_group":4,"text":"(","start_char":18,"line":1},{"index_id":6,"token_group":5,"text":"session","start_char":19,"line":1},{"index_id":7,"token_group":6,"text":",","start_char":26,"line":1},{"index_id":8,"token_group":7,"text":"\"session must not be null\"","start_char":28,"line":1},{"index_id":9,"token_group":8,"text":")","start_char":54,"line":1},{"index_id":10,"token_group":9,"text":";","start_char":55,"line":1},{"index_id":11,"token_group":10,"text":"this","start_char":4,"line":2},{"index_id":12,"token_group":11,"text":".","start_char":8,"line":2},{"index_id":13,"token_group":12,"text":"native","start_char":9,"line":2},{"index_id":14,"token_group":13,"text":"Session","start_char":15,"line":2},{"index_id":15,"token_group":13,"text":"=","start_char":23,"line":2},{"index_id":16,"token_group":14,"text":"session","start_char":25,"line":2},{"index_id":17,"token_group":15,"text":";","start_char":32,"line":2},{"index_id":18,"token_group":16,"text":"}","start_char":0,"line":3}],"tokens_list":["{","assert",".","not","Null","(","session",",","\"session must not be null\"",")",";","this",".","native","Session","=","session",";","}"],"uuid":"1add9f11a35d704cd4238c36a51f2c55"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","future","<\/id>","<","<id>","object","Value","Pair","<\/id>","<","byte","[","]",",","byte","[","]",">>","<id>","future","<\/id>","=","<id>","process","Util","<\/id>",".","<id>","execute","<\/id>","(","<id>","process","Util","<\/id>",".","<id>","collector","Output","Processor","<\/id>",",","\"jps\"",")",";","<id>","object","Value","Pair","<\/id>","<","byte","[","]",",","byte","[","]",">","<id>","object","Value","Pair","<\/id>","=","<id>","future","<\/id>",".","<id>","get","<\/id>","(",")",";","<id>","string","<\/id>","<id>","std","Out","String","<\/id>","=","new","<id>","string","<\/id>","(","<id>","object","Value","Pair","<\/id>",".","<id>","get","Key","<\/id>","(",")",")",";","if","(","!","<id>","std","Out","String","<\/id>",".","<id>","contains","<\/id>","(","<id>","string","<\/id>",".","<id>","value","Of","<\/id>","(","<id>","process","Id","<\/id>",")",")",")","{","throw","new","<id>","illegal","State","Exception","<\/id>","(","\"JPS cannot detect expected process ID \"","+","<id>","process","Id","<\/id>",")",";","}","byte","[","]","<id>","std","Err","Bytes","<\/id>","=","<id>","object","Value","Pair","<\/id>",".","<id>","get","Value","<\/id>","(",")",";","if","(","<id>","std","Err","Bytes","<\/id>",".","<id>","length","<\/id>","!=","0",")","{","throw","new","<id>","illegal","State","Exception","<\/id>","(","\"JPS returns with error: \"","+","new","<id>","string","<\/id>","(","<id>","std","Err","Bytes","<\/id>",")",")",";","}","}","<SENTENCE_END\/>"],"file_name":"HeapUtil.java","formatted_lines":["private static void _checkJPS(int processId) throws Exception {"," Future<ObjectValuePair<byte[], byte[]>> future = ProcessUtil.execute("," ProcessUtil.COLLECTOR_OUTPUT_PROCESSOR, \"jps\");",""," ObjectValuePair<byte[], byte[]> objectValuePair = future.get();",""," String stdOutString = new String(objectValuePair.getKey());",""," if (!stdOutString.contains(String.valueOf(processId)))"," {"," throw new IllegalStateException("," \"JPS cannot detect expected process ID \" + processId);"," }",""," byte[] stdErrBytes = objectValuePair.getValue();",""," if (stdErrBytes.length != 0)"," {"," throw new IllegalStateException("," \"JPS returns with error: \" + new String(stdErrBytes));"," }","}"],"function_name":"_checkJPS","function_name_tokens":["","check","jps"],"id_body_hash":"cb74b3d9eee2b0bbe36e27c8495a4bf5","id_same_identifier_list":[0,1,2,3,4,4,4,5,6,7,8,9,10,11,12,13,14,15,16,16,17,18,19,20,20,21,22,22,22,23,24,25,26,27,27,27,28,29,30,31,32,33,34,35,36,37,37,37,38,39,40,41,42,43,44,45,46,46,46,47,48,49,50,51,51,51,52,53,53,54,55,56,57,58,59,60,61,61,61,62,63,64,65,66,67,67,68,69,69,70,71,72,73,74,75,76,76,76,77,78,79,80,80,81,82,83,84,85,86,87,87,87,88,89,89,89,90,91,91,92,93,94,95,96,97,97,97,98,99,100,101,102,103,104,105,106,106,106,107,108,109,110,111,112,113,113,113,114,115,116,117,118,119],"option_correct":"_checkJPS","options":["checkAction","checkPermission","check","testCountByG_N","testCountStringEmptyArray","setPermissionService","_checkJPS"],"options_nlp":["check action","check permission","check","test count by g n","test count string empty array","set permission service"," check jps"],"options_random":["testCountStringEmptyArray","setPermissionService","testCountByG_N"],"options_tfidf":["checkPermission","checkAction","check"],"project_name":"liferay-portal","source_code_string":"private static void _checkJPS(int processId) throws Exception {\n\t\tFuture<ObjectValuePair<byte[], byte[]>> future = ProcessUtil.execute(\n\t\t\tProcessUtil.COLLECTOR_OUTPUT_PROCESSOR, \"jps\");\n\n\t\tObjectValuePair<byte[], byte[]> objectValuePair = future.get();\n\n\t\tString stdOutString = new String(objectValuePair.getKey());\n\n\t\tif (!stdOutString.contains(String.valueOf(processId))) {\n\t\t\tthrow new IllegalStateException(\n\t\t\t\t\"JPS cannot detect expected process ID \" + processId);\n\t\t}\n\n\t\tbyte[] stdErrBytes = objectValuePair.getValue();\n\n\t\tif (stdErrBytes.length != 0) {\n\t\t\tthrow new IllegalStateException(\n\t\t\t\t\"JPS returns with error: \" + new String(stdErrBytes));\n\t\t}\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":59,"line":0},{"index_id":1,"token_group":1,"text":"future","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"<","start_char":10,"line":1},{"index_id":3,"token_group":3,"text":"object","start_char":11,"line":1},{"index_id":4,"token_group":4,"text":"Value","start_char":17,"line":1},{"index_id":5,"token_group":4,"text":"Pair","start_char":22,"line":1},{"index_id":6,"token_group":4,"text":"<","start_char":26,"line":1},{"index_id":7,"token_group":5,"text":"byte","start_char":27,"line":1},{"index_id":8,"token_group":6,"text":"[","start_char":31,"line":1},{"index_id":9,"token_group":7,"text":"]","start_char":32,"line":1},{"index_id":10,"token_group":8,"text":",","start_char":33,"line":1},{"index_id":11,"token_group":9,"text":"byte","start_char":35,"line":1},{"index_id":12,"token_group":10,"text":"[","start_char":39,"line":1},{"index_id":13,"token_group":11,"text":"]","start_char":40,"line":1},{"index_id":14,"token_group":12,"text":">>","start_char":41,"line":1},{"index_id":15,"token_group":13,"text":"future","start_char":44,"line":1},{"index_id":16,"token_group":14,"text":"=","start_char":51,"line":1},{"index_id":17,"token_group":15,"text":"process","start_char":53,"line":1},{"index_id":18,"token_group":16,"text":"Util","start_char":60,"line":1},{"index_id":19,"token_group":16,"text":".","start_char":64,"line":1},{"index_id":20,"token_group":17,"text":"execute","start_char":65,"line":1},{"index_id":21,"token_group":18,"text":"(","start_char":72,"line":1},{"index_id":22,"token_group":19,"text":"process","start_char":12,"line":2},{"index_id":23,"token_group":20,"text":"Util","start_char":19,"line":2},{"index_id":24,"token_group":20,"text":".","start_char":23,"line":2},{"index_id":25,"token_group":21,"text":"collector","start_char":24,"line":2},{"index_id":26,"token_group":22,"text":"Output","start_char":34,"line":2},{"index_id":27,"token_group":22,"text":"Processor","start_char":41,"line":2},{"index_id":28,"token_group":22,"text":",","start_char":50,"line":2},{"index_id":29,"token_group":23,"text":"\"jps\"","start_char":52,"line":2},{"index_id":30,"token_group":24,"text":")","start_char":57,"line":2},{"index_id":31,"token_group":25,"text":";","start_char":58,"line":2},{"index_id":32,"token_group":26,"text":"object","start_char":4,"line":4},{"index_id":33,"token_group":27,"text":"Value","start_char":10,"line":4},{"index_id":34,"token_group":27,"text":"Pair","start_char":15,"line":4},{"index_id":35,"token_group":27,"text":"<","start_char":19,"line":4},{"index_id":36,"token_group":28,"text":"byte","start_char":20,"line":4},{"index_id":37,"token_group":29,"text":"[","start_char":24,"line":4},{"index_id":38,"token_group":30,"text":"]","start_char":25,"line":4},{"index_id":39,"token_group":31,"text":",","start_char":26,"line":4},{"index_id":40,"token_group":32,"text":"byte","start_char":28,"line":4},{"index_id":41,"token_group":33,"text":"[","start_char":32,"line":4},{"index_id":42,"token_group":34,"text":"]","start_char":33,"line":4},{"index_id":43,"token_group":35,"text":">","start_char":34,"line":4},{"index_id":44,"token_group":36,"text":"object","start_char":36,"line":4},{"index_id":45,"token_group":37,"text":"Value","start_char":42,"line":4},{"index_id":46,"token_group":37,"text":"Pair","start_char":47,"line":4},{"index_id":47,"token_group":37,"text":"=","start_char":52,"line":4},{"index_id":48,"token_group":38,"text":"future","start_char":54,"line":4},{"index_id":49,"token_group":39,"text":".","start_char":60,"line":4},{"index_id":50,"token_group":40,"text":"get","start_char":61,"line":4},{"index_id":51,"token_group":41,"text":"(","start_char":64,"line":4},{"index_id":52,"token_group":42,"text":")","start_char":65,"line":4},{"index_id":53,"token_group":43,"text":";","start_char":66,"line":4},{"index_id":54,"token_group":44,"text":"string","start_char":4,"line":6},{"index_id":55,"token_group":45,"text":"std","start_char":11,"line":6},{"index_id":56,"token_group":46,"text":"Out","start_char":14,"line":6},{"index_id":57,"token_group":46,"text":"String","start_char":17,"line":6},{"index_id":58,"token_group":46,"text":"=","start_char":24,"line":6},{"index_id":59,"token_group":47,"text":"new","start_char":26,"line":6},{"index_id":60,"token_group":48,"text":"string","start_char":30,"line":6},{"index_id":61,"token_group":49,"text":"(","start_char":36,"line":6},{"index_id":62,"token_group":50,"text":"object","start_char":37,"line":6},{"index_id":63,"token_group":51,"text":"Value","start_char":43,"line":6},{"index_id":64,"token_group":51,"text":"Pair","start_char":48,"line":6},{"index_id":65,"token_group":51,"text":".","start_char":52,"line":6},{"index_id":66,"token_group":52,"text":"get","start_char":53,"line":6},{"index_id":67,"token_group":53,"text":"Key","start_char":56,"line":6},{"index_id":68,"token_group":53,"text":"(","start_char":59,"line":6},{"index_id":69,"token_group":54,"text":")","start_char":60,"line":6},{"index_id":70,"token_group":55,"text":")","start_char":61,"line":6},{"index_id":71,"token_group":56,"text":";","start_char":62,"line":6},{"index_id":72,"token_group":57,"text":"if","start_char":4,"line":8},{"index_id":73,"token_group":58,"text":"(","start_char":7,"line":8},{"index_id":74,"token_group":59,"text":"!","start_char":8,"line":8},{"index_id":75,"token_group":60,"text":"std","start_char":9,"line":8},{"index_id":76,"token_group":61,"text":"Out","start_char":12,"line":8},{"index_id":77,"token_group":61,"text":"String","start_char":15,"line":8},{"index_id":78,"token_group":61,"text":".","start_char":21,"line":8},{"index_id":79,"token_group":62,"text":"contains","start_char":22,"line":8},{"index_id":80,"token_group":63,"text":"(","start_char":30,"line":8},{"index_id":81,"token_group":64,"text":"string","start_char":31,"line":8},{"index_id":82,"token_group":65,"text":".","start_char":37,"line":8},{"index_id":83,"token_group":66,"text":"value","start_char":38,"line":8},{"index_id":84,"token_group":67,"text":"Of","start_char":43,"line":8},{"index_id":85,"token_group":67,"text":"(","start_char":45,"line":8},{"index_id":86,"token_group":68,"text":"process","start_char":46,"line":8},{"index_id":87,"token_group":69,"text":"Id","start_char":53,"line":8},{"index_id":88,"token_group":69,"text":")","start_char":55,"line":8},{"index_id":89,"token_group":70,"text":")","start_char":56,"line":8},{"index_id":90,"token_group":71,"text":")","start_char":57,"line":8},{"index_id":91,"token_group":72,"text":"{","start_char":4,"line":9},{"index_id":92,"token_group":73,"text":"throw","start_char":8,"line":10},{"index_id":93,"token_group":74,"text":"new","start_char":14,"line":10},{"index_id":94,"token_group":75,"text":"illegal","start_char":18,"line":10},{"index_id":95,"token_group":76,"text":"State","start_char":25,"line":10},{"index_id":96,"token_group":76,"text":"Exception","start_char":30,"line":10},{"index_id":97,"token_group":76,"text":"(","start_char":39,"line":10},{"index_id":98,"token_group":77,"text":"\"JPS cannot detect expected process ID \"","start_char":12,"line":11},{"index_id":99,"token_group":78,"text":"+","start_char":53,"line":11},{"index_id":100,"token_group":79,"text":"process","start_char":55,"line":11},{"index_id":101,"token_group":80,"text":"Id","start_char":62,"line":11},{"index_id":102,"token_group":80,"text":")","start_char":64,"line":11},{"index_id":103,"token_group":81,"text":";","start_char":65,"line":11},{"index_id":104,"token_group":82,"text":"}","start_char":4,"line":12},{"index_id":105,"token_group":83,"text":"byte","start_char":4,"line":14},{"index_id":106,"token_group":84,"text":"[","start_char":8,"line":14},{"index_id":107,"token_group":85,"text":"]","start_char":9,"line":14},{"index_id":108,"token_group":86,"text":"std","start_char":11,"line":14},{"index_id":109,"token_group":87,"text":"Err","start_char":14,"line":14},{"index_id":110,"token_group":87,"text":"Bytes","start_char":17,"line":14},{"index_id":111,"token_group":87,"text":"=","start_char":23,"line":14},{"index_id":112,"token_group":88,"text":"object","start_char":25,"line":14},{"index_id":113,"token_group":89,"text":"Value","start_char":31,"line":14},{"index_id":114,"token_group":89,"text":"Pair","start_char":36,"line":14},{"index_id":115,"token_group":89,"text":".","start_char":40,"line":14},{"index_id":116,"token_group":90,"text":"get","start_char":41,"line":14},{"index_id":117,"token_group":91,"text":"Value","start_char":44,"line":14},{"index_id":118,"token_group":91,"text":"(","start_char":49,"line":14},{"index_id":119,"token_group":92,"text":")","start_char":50,"line":14},{"index_id":120,"token_group":93,"text":";","start_char":51,"line":14},{"index_id":121,"token_group":94,"text":"if","start_char":4,"line":16},{"index_id":122,"token_group":95,"text":"(","start_char":7,"line":16},{"index_id":123,"token_group":96,"text":"std","start_char":8,"line":16},{"index_id":124,"token_group":97,"text":"Err","start_char":11,"line":16},{"index_id":125,"token_group":97,"text":"Bytes","start_char":14,"line":16},{"index_id":126,"token_group":97,"text":".","start_char":19,"line":16},{"index_id":127,"token_group":98,"text":"length","start_char":20,"line":16},{"index_id":128,"token_group":99,"text":"!=","start_char":27,"line":16},{"index_id":129,"token_group":100,"text":"0","start_char":30,"line":16},{"index_id":130,"token_group":101,"text":")","start_char":31,"line":16},{"index_id":131,"token_group":102,"text":"{","start_char":4,"line":17},{"index_id":132,"token_group":103,"text":"throw","start_char":8,"line":18},{"index_id":133,"token_group":104,"text":"new","start_char":14,"line":18},{"index_id":134,"token_group":105,"text":"illegal","start_char":18,"line":18},{"index_id":135,"token_group":106,"text":"State","start_char":25,"line":18},{"index_id":136,"token_group":106,"text":"Exception","start_char":30,"line":18},{"index_id":137,"token_group":106,"text":"(","start_char":39,"line":18},{"index_id":138,"token_group":107,"text":"\"JPS returns with error: \"","start_char":12,"line":19},{"index_id":139,"token_group":108,"text":"+","start_char":39,"line":19},{"index_id":140,"token_group":109,"text":"new","start_char":41,"line":19},{"index_id":141,"token_group":110,"text":"string","start_char":45,"line":19},{"index_id":142,"token_group":111,"text":"(","start_char":51,"line":19},{"index_id":143,"token_group":112,"text":"std","start_char":52,"line":19},{"index_id":144,"token_group":113,"text":"Err","start_char":55,"line":19},{"index_id":145,"token_group":113,"text":"Bytes","start_char":58,"line":19},{"index_id":146,"token_group":113,"text":")","start_char":63,"line":19},{"index_id":147,"token_group":114,"text":")","start_char":64,"line":19},{"index_id":148,"token_group":115,"text":";","start_char":65,"line":19},{"index_id":149,"token_group":116,"text":"}","start_char":4,"line":20},{"index_id":150,"token_group":117,"text":"}","start_char":0,"line":21}],"tokens_list":["{","future","<","object","Value","Pair","<","byte","[","]",",","byte","[","]",">>","future","=","process","Util",".","execute","(","process","Util",".","collector","Output","Processor",",","\"jps\"",")",";","object","Value","Pair","<","byte","[","]",",","byte","[","]",">","object","Value","Pair","=","future",".","get","(",")",";","string","std","Out","String","=","new","string","(","object","Value","Pair",".","get","Key","(",")",")",";","if","(","!","std","Out","String",".","contains","(","string",".","value","Of","(","process","Id",")",")",")","{","throw","new","illegal","State","Exception","(","\"JPS cannot detect expected process ID \"","+","process","Id",")",";","}","byte","[","]","std","Err","Bytes","=","object","Value","Pair",".","get","Value","(",")",";","if","(","std","Err","Bytes",".","length","!=","0",")","{","throw","new","illegal","State","Exception","(","\"JPS returns with error: \"","+","new","string","(","std","Err","Bytes",")",")",";","}","}"],"uuid":"134925983dd3bcba8ee444dc5eeddd88"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","path","<\/id>","=","<id>","path","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"GroupTypeEntity.java","formatted_lines":["{"," this.path = path;","}"],"function_name":"setPath","function_name_tokens":["set","path"],"id_body_hash":"eddf8e04b2b342578004b87b268b56a9","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9],"option_correct":"setPath","options":["setPathAddress","testSession30","setModulePath","setPath","path","testCorrectNamingContextUsedForEjbInWar","push"],"options_nlp":["set path address","test session 30","set module path","set path","path","test correct naming context used for ejb in war","push"],"options_random":["testSession30","testCorrectNamingContextUsedForEjbInWar","push"],"options_tfidf":["path","setPathAddress","setModulePath"],"project_name":"wildfly","source_code_string":"public void setPath(String path) {\n this.path = path;\n }","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":"path","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"=","start_char":14,"line":1},{"index_id":5,"token_group":5,"text":"path","start_char":16,"line":1},{"index_id":6,"token_group":6,"text":";","start_char":20,"line":1},{"index_id":7,"token_group":7,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","path","=","path",";","}"],"uuid":"00758cdcaf1f01adade4976d721fe49c"},{"cap_original_tokens":["<SENTENCE_START>","{","for","(","<id>","language","<\/id>","<id>","l","<\/id>",":","<id>","language","<\/id>",".","<id>","get","Registered","Languages","<\/id>","(",")",")","{","if","(","<id>","is","Available","For","Language","<\/id>","(","<id>","l","<\/id>",")",")","{","return","false",";","}","}","return","true",";","}","<SENTENCE_END\/>"],"file_name":"BasePlatformRefactoringAction.java","formatted_lines":["{"," for(Language l : Language.getRegisteredLanguages())"," {"," if (isAvailableForLanguage(l))"," {"," return false;"," }"," }"," return true;","}"],"function_name":"calcHidden","function_name_tokens":["calc","hidden"],"id_body_hash":"acac1df5e11c484a0bef5c6242b40ea0","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,9,9,10,11,12,13,14,15,16,16,16,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],"option_correct":"calcHidden","options":["calcChildren","setHidden","visitImport","calcHidden","createConsoleChildConfigurable","testStableUpdatePreferredByDefault","calcValue"],"options_nlp":["calc children","set hidden","visit import","calc hidden","create console child configurable","test stable update preferred by default","calc value"],"options_random":["createConsoleChildConfigurable","testStableUpdatePreferredByDefault","visitImport"],"options_tfidf":["calcChildren","setHidden","calcValue"],"project_name":"intellij-community","source_code_string":"private boolean calcHidden() {\n for(Language l: Language.getRegisteredLanguages()) {\n if (isAvailableForLanguage(l)) {\n return false;\n }\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":"for","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"(","start_char":7,"line":1},{"index_id":3,"token_group":3,"text":"language","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"l","start_char":17,"line":1},{"index_id":5,"token_group":5,"text":":","start_char":19,"line":1},{"index_id":6,"token_group":6,"text":"language","start_char":21,"line":1},{"index_id":7,"token_group":7,"text":".","start_char":29,"line":1},{"index_id":8,"token_group":8,"text":"get","start_char":30,"line":1},{"index_id":9,"token_group":9,"text":"Registered","start_char":33,"line":1},{"index_id":10,"token_group":9,"text":"Languages","start_char":43,"line":1},{"index_id":11,"token_group":9,"text":"(","start_char":52,"line":1},{"index_id":12,"token_group":10,"text":")","start_char":53,"line":1},{"index_id":13,"token_group":11,"text":")","start_char":54,"line":1},{"index_id":14,"token_group":12,"text":"{","start_char":4,"line":2},{"index_id":15,"token_group":13,"text":"if","start_char":8,"line":3},{"index_id":16,"token_group":14,"text":"(","start_char":11,"line":3},{"index_id":17,"token_group":15,"text":"is","start_char":12,"line":3},{"index_id":18,"token_group":16,"text":"Available","start_char":14,"line":3},{"index_id":19,"token_group":16,"text":"For","start_char":23,"line":3},{"index_id":20,"token_group":16,"text":"Language","start_char":26,"line":3},{"index_id":21,"token_group":16,"text":"(","start_char":34,"line":3},{"index_id":22,"token_group":17,"text":"l","start_char":35,"line":3},{"index_id":23,"token_group":18,"text":")","start_char":36,"line":3},{"index_id":24,"token_group":19,"text":")","start_char":37,"line":3},{"index_id":25,"token_group":20,"text":"{","start_char":8,"line":4},{"index_id":26,"token_group":21,"text":"return","start_char":12,"line":5},{"index_id":27,"token_group":22,"text":"false","start_char":19,"line":5},{"index_id":28,"token_group":23,"text":";","start_char":24,"line":5},{"index_id":29,"token_group":24,"text":"}","start_char":8,"line":6},{"index_id":30,"token_group":25,"text":"}","start_char":4,"line":7},{"index_id":31,"token_group":26,"text":"return","start_char":4,"line":8},{"index_id":32,"token_group":27,"text":"true","start_char":11,"line":8},{"index_id":33,"token_group":28,"text":";","start_char":15,"line":8},{"index_id":34,"token_group":29,"text":"}","start_char":0,"line":9}],"tokens_list":["{","for","(","language","l",":","language",".","get","Registered","Languages","(",")",")","{","if","(","is","Available","For","Language","(","l",")",")","{","return","false",";","}","}","return","true",";","}"],"uuid":"ecc1a769ecb3aafaecced12a8a0da8e1"},{"cap_original_tokens":["<SENTENCE_START>","{","if","(","<id>","my","Library","Table","<\/id>","!=","null",")","{","<id>","application","Manager","<\/id>",".","<id>","get","Application","<\/id>","(",")",".","<id>","assert","Write","Access","Allowed","<\/id>","(",")",";","}","if","(","!","<id>","comparing","<\/id>",".","<id>","equal","<\/id>","(","<id>","from","Model","<\/id>",".","<id>","my","Name","<\/id>",",","<id>","my","Name","<\/id>",")",")","{","<id>","my","Name","<\/id>","=","<id>","from","Model","<\/id>",".","<id>","my","Name","<\/id>",";","if","(","<id>","my","Library","Table","<\/id>","Instanceof","<id>","library","Table","Base","<\/id>",")","{","(","(","<id>","library","Table","Base","<\/id>",")","<id>","my","Library","Table","<\/id>",")",".","<id>","fire","Library","Renamed","<\/id>","(","this",")",";","}","}","<id>","my","Kind","<\/id>","=","<id>","from","Model","<\/id>",".","<id>","get","Kind","<\/id>","(",")",";","<id>","my","Properties","<\/id>","=","<id>","from","Model","<\/id>",".","<id>","my","Properties","<\/id>",";","if","(","<id>","are","Roots","Changed","<\/id>","(","<id>","from","Model","<\/id>",")",")","{","<id>","dispose","My","Pointers","<\/id>","(",")",";","<id>","copy","Roots","From","<\/id>","(","<id>","from","Model","<\/id>",")",";","<id>","my","Jar","Directories","<\/id>",".","<id>","copy","From","<\/id>","(","<id>","from","Model","<\/id>",".","<id>","my","Jar","Directories","<\/id>",")",";","<id>","my","Roots","Watcher","<\/id>",".","<id>","update","Watched","Roots","<\/id>","(",")",";","<id>","my","Root","Provider","<\/id>",".","<id>","fire","Root","Set","Changed","<\/id>","(",")",";","}","}","<SENTENCE_END\/>"],"file_name":"LibraryImpl.java","formatted_lines":["{"," if (myLibraryTable != null)"," {"," ApplicationManager.getApplication().assertWriteAccessAllowed();"," }"," if (!Comparing.equal(fromModel.myName, myName))"," {"," myName = fromModel.myName;"," if (myLibraryTable instanceof LibraryTableBase)"," {"," ((LibraryTableBase)myLibraryTable).fireLibraryRenamed(this);"," }"," }"," myKind = fromModel.getKind();"," myProperties = fromModel.myProperties;"," if (areRootsChanged(fromModel))"," {"," disposeMyPointers();"," copyRootsFrom(fromModel);"," myJarDirectories.copyFrom(fromModel.myJarDirectories);"," myRootsWatcher.updateWatchedRoots();"," myRootProvider.fireRootSetChanged();"," }","}"],"function_name":"commit","function_name_tokens":["commit"],"id_body_hash":"04ac1091c12b8502efc36e006fb0c0a3","id_same_identifier_list":[0,1,2,3,4,4,4,5,6,7,8,9,9,10,11,11,12,13,14,15,15,15,15,16,17,18,19,20,21,22,23,24,25,26,27,27,28,29,29,30,31,31,32,33,34,35,35,36,37,37,38,39,39,40,41,42,43,43,43,44,45,45,45,46,47,48,49,50,50,50,51,52,52,52,53,54,55,55,55,56,57,58,59,60,61,62,62,63,64,64,65,66,66,67,68,69,70,70,71,72,72,73,74,74,75,76,77,78,78,78,79,80,80,81,82,83,84,84,84,85,86,87,88,88,88,89,90,90,91,92,93,93,93,94,95,95,96,97,97,98,99,99,99,100,101,102,102,102,103,104,104,104,105,106,107,108,108,108,109,110,110,110,110,111,112,113,114,115,116],"option_correct":"commit","options":["commit","assertExplodedLayout","setTemplateLanguage","doCommit","testRenameVarOuterConstToInnerConst","commitAll","_commit"],"options_nlp":["commit","assert exploded layout","set template language","do commit","test rename var outer const to inner const","commit all"," commit"],"options_random":["setTemplateLanguage","testRenameVarOuterConstToInnerConst","assertExplodedLayout"],"options_tfidf":["_commit","commitAll","doCommit"],"project_name":"intellij-community","source_code_string":"private void commit(@NotNull LibraryImpl fromModel) {\n if (myLibraryTable != null) {\n ApplicationManager.getApplication().assertWriteAccessAllowed();\n }\n if (!Comparing.equal(fromModel.myName, myName)) {\n myName = fromModel.myName;\n if (myLibraryTable instanceof LibraryTableBase) {\n ((LibraryTableBase)myLibraryTable).fireLibraryRenamed(this);\n }\n }\n myKind = fromModel.getKind();\n myProperties = fromModel.myProperties;\n if (areRootsChanged(fromModel)) {\n disposeMyPointers();\n copyRootsFrom(fromModel);\n myJarDirectories.copyFrom(fromModel.myJarDirectories);\n myRootsWatcher.updateWatchedRoots();\n myRootProvider.fireRootSetChanged();\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":"Library","start_char":10,"line":1},{"index_id":5,"token_group":4,"text":"Table","start_char":17,"line":1},{"index_id":6,"token_group":4,"text":"!=","start_char":23,"line":1},{"index_id":7,"token_group":5,"text":"null","start_char":26,"line":1},{"index_id":8,"token_group":6,"text":")","start_char":30,"line":1},{"index_id":9,"token_group":7,"text":"{","start_char":4,"line":2},{"index_id":10,"token_group":8,"text":"application","start_char":8,"line":3},{"index_id":11,"token_group":9,"text":"Manager","start_char":19,"line":3},{"index_id":12,"token_group":9,"text":".","start_char":26,"line":3},{"index_id":13,"token_group":10,"text":"get","start_char":27,"line":3},{"index_id":14,"token_group":11,"text":"Application","start_char":30,"line":3},{"index_id":15,"token_group":11,"text":"(","start_char":41,"line":3},{"index_id":16,"token_group":12,"text":")","start_char":42,"line":3},{"index_id":17,"token_group":13,"text":".","start_char":43,"line":3},{"index_id":18,"token_group":14,"text":"assert","start_char":44,"line":3},{"index_id":19,"token_group":15,"text":"Write","start_char":50,"line":3},{"index_id":20,"token_group":15,"text":"Access","start_char":55,"line":3},{"index_id":21,"token_group":15,"text":"Allowed","start_char":61,"line":3},{"index_id":22,"token_group":15,"text":"(","start_char":68,"line":3},{"index_id":23,"token_group":16,"text":")","start_char":69,"line":3},{"index_id":24,"token_group":17,"text":";","start_char":70,"line":3},{"index_id":25,"token_group":18,"text":"}","start_char":4,"line":4},{"index_id":26,"token_group":19,"text":"if","start_char":4,"line":5},{"index_id":27,"token_group":20,"text":"(","start_char":7,"line":5},{"index_id":28,"token_group":21,"text":"!","start_char":8,"line":5},{"index_id":29,"token_group":22,"text":"comparing","start_char":9,"line":5},{"index_id":30,"token_group":23,"text":".","start_char":18,"line":5},{"index_id":31,"token_group":24,"text":"equal","start_char":19,"line":5},{"index_id":32,"token_group":25,"text":"(","start_char":24,"line":5},{"index_id":33,"token_group":26,"text":"from","start_char":25,"line":5},{"index_id":34,"token_group":27,"text":"Model","start_char":29,"line":5},{"index_id":35,"token_group":27,"text":".","start_char":34,"line":5},{"index_id":36,"token_group":28,"text":"my","start_char":35,"line":5},{"index_id":37,"token_group":29,"text":"Name","start_char":37,"line":5},{"index_id":38,"token_group":29,"text":",","start_char":41,"line":5},{"index_id":39,"token_group":30,"text":"my","start_char":43,"line":5},{"index_id":40,"token_group":31,"text":"Name","start_char":45,"line":5},{"index_id":41,"token_group":31,"text":")","start_char":49,"line":5},{"index_id":42,"token_group":32,"text":")","start_char":50,"line":5},{"index_id":43,"token_group":33,"text":"{","start_char":4,"line":6},{"index_id":44,"token_group":34,"text":"my","start_char":8,"line":7},{"index_id":45,"token_group":35,"text":"Name","start_char":10,"line":7},{"index_id":46,"token_group":35,"text":"=","start_char":15,"line":7},{"index_id":47,"token_group":36,"text":"from","start_char":17,"line":7},{"index_id":48,"token_group":37,"text":"Model","start_char":21,"line":7},{"index_id":49,"token_group":37,"text":".","start_char":26,"line":7},{"index_id":50,"token_group":38,"text":"my","start_char":27,"line":7},{"index_id":51,"token_group":39,"text":"Name","start_char":29,"line":7},{"index_id":52,"token_group":39,"text":";","start_char":33,"line":7},{"index_id":53,"token_group":40,"text":"if","start_char":8,"line":8},{"index_id":54,"token_group":41,"text":"(","start_char":11,"line":8},{"index_id":55,"token_group":42,"text":"my","start_char":12,"line":8},{"index_id":56,"token_group":43,"text":"Library","start_char":14,"line":8},{"index_id":57,"token_group":43,"text":"Table","start_char":21,"line":8},{"index_id":58,"token_group":43,"text":"Instanceof","start_char":27,"line":8},{"index_id":59,"token_group":44,"text":"library","start_char":38,"line":8},{"index_id":60,"token_group":45,"text":"Table","start_char":45,"line":8},{"index_id":61,"token_group":45,"text":"Base","start_char":50,"line":8},{"index_id":62,"token_group":45,"text":")","start_char":54,"line":8},{"index_id":63,"token_group":46,"text":"{","start_char":8,"line":9},{"index_id":64,"token_group":47,"text":"(","start_char":12,"line":10},{"index_id":65,"token_group":48,"text":"(","start_char":13,"line":10},{"index_id":66,"token_group":49,"text":"library","start_char":14,"line":10},{"index_id":67,"token_group":50,"text":"Table","start_char":21,"line":10},{"index_id":68,"token_group":50,"text":"Base","start_char":26,"line":10},{"index_id":69,"token_group":50,"text":")","start_char":30,"line":10},{"index_id":70,"token_group":51,"text":"my","start_char":31,"line":10},{"index_id":71,"token_group":52,"text":"Library","start_char":33,"line":10},{"index_id":72,"token_group":52,"text":"Table","start_char":40,"line":10},{"index_id":73,"token_group":52,"text":")","start_char":45,"line":10},{"index_id":74,"token_group":53,"text":".","start_char":46,"line":10},{"index_id":75,"token_group":54,"text":"fire","start_char":47,"line":10},{"index_id":76,"token_group":55,"text":"Library","start_char":51,"line":10},{"index_id":77,"token_group":55,"text":"Renamed","start_char":58,"line":10},{"index_id":78,"token_group":55,"text":"(","start_char":65,"line":10},{"index_id":79,"token_group":56,"text":"this","start_char":66,"line":10},{"index_id":80,"token_group":57,"text":")","start_char":70,"line":10},{"index_id":81,"token_group":58,"text":";","start_char":71,"line":10},{"index_id":82,"token_group":59,"text":"}","start_char":8,"line":11},{"index_id":83,"token_group":60,"text":"}","start_char":4,"line":12},{"index_id":84,"token_group":61,"text":"my","start_char":4,"line":13},{"index_id":85,"token_group":62,"text":"Kind","start_char":6,"line":13},{"index_id":86,"token_group":62,"text":"=","start_char":11,"line":13},{"index_id":87,"token_group":63,"text":"from","start_char":13,"line":13},{"index_id":88,"token_group":64,"text":"Model","start_char":17,"line":13},{"index_id":89,"token_group":64,"text":".","start_char":22,"line":13},{"index_id":90,"token_group":65,"text":"get","start_char":23,"line":13},{"index_id":91,"token_group":66,"text":"Kind","start_char":26,"line":13},{"index_id":92,"token_group":66,"text":"(","start_char":30,"line":13},{"index_id":93,"token_group":67,"text":")","start_char":31,"line":13},{"index_id":94,"token_group":68,"text":";","start_char":32,"line":13},{"index_id":95,"token_group":69,"text":"my","start_char":4,"line":14},{"index_id":96,"token_group":70,"text":"Properties","start_char":6,"line":14},{"index_id":97,"token_group":70,"text":"=","start_char":17,"line":14},{"index_id":98,"token_group":71,"text":"from","start_char":19,"line":14},{"index_id":99,"token_group":72,"text":"Model","start_char":23,"line":14},{"index_id":100,"token_group":72,"text":".","start_char":28,"line":14},{"index_id":101,"token_group":73,"text":"my","start_char":29,"line":14},{"index_id":102,"token_group":74,"text":"Properties","start_char":31,"line":14},{"index_id":103,"token_group":74,"text":";","start_char":41,"line":14},{"index_id":104,"token_group":75,"text":"if","start_char":4,"line":15},{"index_id":105,"token_group":76,"text":"(","start_char":7,"line":15},{"index_id":106,"token_group":77,"text":"are","start_char":8,"line":15},{"index_id":107,"token_group":78,"text":"Roots","start_char":11,"line":15},{"index_id":108,"token_group":78,"text":"Changed","start_char":16,"line":15},{"index_id":109,"token_group":78,"text":"(","start_char":23,"line":15},{"index_id":110,"token_group":79,"text":"from","start_char":24,"line":15},{"index_id":111,"token_group":80,"text":"Model","start_char":28,"line":15},{"index_id":112,"token_group":80,"text":")","start_char":33,"line":15},{"index_id":113,"token_group":81,"text":")","start_char":34,"line":15},{"index_id":114,"token_group":82,"text":"{","start_char":4,"line":16},{"index_id":115,"token_group":83,"text":"dispose","start_char":8,"line":17},{"index_id":116,"token_group":84,"text":"My","start_char":15,"line":17},{"index_id":117,"token_group":84,"text":"Pointers","start_char":17,"line":17},{"index_id":118,"token_group":84,"text":"(","start_char":25,"line":17},{"index_id":119,"token_group":85,"text":")","start_char":26,"line":17},{"index_id":120,"token_group":86,"text":";","start_char":27,"line":17},{"index_id":121,"token_group":87,"text":"copy","start_char":8,"line":18},{"index_id":122,"token_group":88,"text":"Roots","start_char":12,"line":18},{"index_id":123,"token_group":88,"text":"From","start_char":17,"line":18},{"index_id":124,"token_group":88,"text":"(","start_char":21,"line":18},{"index_id":125,"token_group":89,"text":"from","start_char":22,"line":18},{"index_id":126,"token_group":90,"text":"Model","start_char":26,"line":18},{"index_id":127,"token_group":90,"text":")","start_char":31,"line":18},{"index_id":128,"token_group":91,"text":";","start_char":32,"line":18},{"index_id":129,"token_group":92,"text":"my","start_char":8,"line":19},{"index_id":130,"token_group":93,"text":"Jar","start_char":10,"line":19},{"index_id":131,"token_group":93,"text":"Directories","start_char":13,"line":19},{"index_id":132,"token_group":93,"text":".","start_char":24,"line":19},{"index_id":133,"token_group":94,"text":"copy","start_char":25,"line":19},{"index_id":134,"token_group":95,"text":"From","start_char":29,"line":19},{"index_id":135,"token_group":95,"text":"(","start_char":33,"line":19},{"index_id":136,"token_group":96,"text":"from","start_char":34,"line":19},{"index_id":137,"token_group":97,"text":"Model","start_char":38,"line":19},{"index_id":138,"token_group":97,"text":".","start_char":43,"line":19},{"index_id":139,"token_group":98,"text":"my","start_char":44,"line":19},{"index_id":140,"token_group":99,"text":"Jar","start_char":46,"line":19},{"index_id":141,"token_group":99,"text":"Directories","start_char":49,"line":19},{"index_id":142,"token_group":99,"text":")","start_char":60,"line":19},{"index_id":143,"token_group":100,"text":";","start_char":61,"line":19},{"index_id":144,"token_group":101,"text":"my","start_char":8,"line":20},{"index_id":145,"token_group":102,"text":"Roots","start_char":10,"line":20},{"index_id":146,"token_group":102,"text":"Watcher","start_char":15,"line":20},{"index_id":147,"token_group":102,"text":".","start_char":22,"line":20},{"index_id":148,"token_group":103,"text":"update","start_char":23,"line":20},{"index_id":149,"token_group":104,"text":"Watched","start_char":29,"line":20},{"index_id":150,"token_group":104,"text":"Roots","start_char":36,"line":20},{"index_id":151,"token_group":104,"text":"(","start_char":41,"line":20},{"index_id":152,"token_group":105,"text":")","start_char":42,"line":20},{"index_id":153,"token_group":106,"text":";","start_char":43,"line":20},{"index_id":154,"token_group":107,"text":"my","start_char":8,"line":21},{"index_id":155,"token_group":108,"text":"Root","start_char":10,"line":21},{"index_id":156,"token_group":108,"text":"Provider","start_char":14,"line":21},{"index_id":157,"token_group":108,"text":".","start_char":22,"line":21},{"index_id":158,"token_group":109,"text":"fire","start_char":23,"line":21},{"index_id":159,"token_group":110,"text":"Root","start_char":27,"line":21},{"index_id":160,"token_group":110,"text":"Set","start_char":31,"line":21},{"index_id":161,"token_group":110,"text":"Changed","start_char":34,"line":21},{"index_id":162,"token_group":110,"text":"(","start_char":41,"line":21},{"index_id":163,"token_group":111,"text":")","start_char":42,"line":21},{"index_id":164,"token_group":112,"text":";","start_char":43,"line":21},{"index_id":165,"token_group":113,"text":"}","start_char":4,"line":22},{"index_id":166,"token_group":114,"text":"}","start_char":0,"line":23}],"tokens_list":["{","if","(","my","Library","Table","!=","null",")","{","application","Manager",".","get","Application","(",")",".","assert","Write","Access","Allowed","(",")",";","}","if","(","!","comparing",".","equal","(","from","Model",".","my","Name",",","my","Name",")",")","{","my","Name","=","from","Model",".","my","Name",";","if","(","my","Library","Table","Instanceof","library","Table","Base",")","{","(","(","library","Table","Base",")","my","Library","Table",")",".","fire","Library","Renamed","(","this",")",";","}","}","my","Kind","=","from","Model",".","get","Kind","(",")",";","my","Properties","=","from","Model",".","my","Properties",";","if","(","are","Roots","Changed","(","from","Model",")",")","{","dispose","My","Pointers","(",")",";","copy","Roots","From","(","from","Model",")",";","my","Jar","Directories",".","copy","From","(","from","Model",".","my","Jar","Directories",")",";","my","Roots","Watcher",".","update","Watched","Roots","(",")",";","my","Root","Provider",".","fire","Root","Set","Changed","(",")",";","}","}"],"uuid":"bb279f6d86484313af55dd27a1c0a2ff"},{"cap_original_tokens":["<SENTENCE_START>","{","throw","new","<id>","unsupported","Operation","Exception","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"AbstractCopyTask.java","formatted_lines":["{"," throw new UnsupportedOperationException();","}"],"function_name":"getFileResolver","function_name_tokens":["get","file","resolver"],"id_body_hash":"8ca0ac882b6b44bac711b5429ba53019","id_same_identifier_list":[0,1,2,3,4,4,4,5,6,7,8,9],"option_correct":"getFileResolver","options":["getSourcesToCompile","providesAFileResolver","getFileResolver","providesAFileSystem","resolver","createFileResolver","withQuietLoggingOptions"],"options_nlp":["get sources to compile","provides a file resolver","get file resolver","provides a file system","resolver","create file resolver","with quiet logging options"],"options_random":["providesAFileSystem","getSourcesToCompile","withQuietLoggingOptions"],"options_tfidf":["resolver","providesAFileResolver","createFileResolver"],"project_name":"gradle","source_code_string":"@Inject\n protected FileResolver getFileResolver() {\n throw new UnsupportedOperationException();\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"throw","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"new","start_char":10,"line":1},{"index_id":3,"token_group":3,"text":"unsupported","start_char":14,"line":1},{"index_id":4,"token_group":4,"text":"Operation","start_char":25,"line":1},{"index_id":5,"token_group":4,"text":"Exception","start_char":34,"line":1},{"index_id":6,"token_group":4,"text":"(","start_char":43,"line":1},{"index_id":7,"token_group":5,"text":")","start_char":44,"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":["{","throw","new","unsupported","Operation","Exception","(",")",";","}"],"uuid":"f436cebdeb1da08d1804e61e2ab7adb2"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","register","Function","<\/id>","(","\"current_time\"",",","new","<id>","no","Arg","Sql","Function","<\/id>","(","\"current_time\"",",","<id>","standard","Basic","Types","<\/id>",".","<id>","time","<\/id>",",","false",")",")",";","<id>","register","Function","<\/id>","(","\"current_timestamp\"",",","new","<id>","no","Arg","Sql","Function","<\/id>","(","\"current_timestamp\"",",","<id>","standard","Basic","Types","<\/id>",".","<id>","timestamp","<\/id>",",","false",")",")",";","<id>","register","Function","<\/id>","(","\"current_date\"",",","new","<id>","no","Arg","Sql","Function","<\/id>","(","\"current_date\"",",","<id>","standard","Basic","Types","<\/id>",".","<id>","date","<\/id>",",","false",")",")",";","}","<SENTENCE_END\/>"],"file_name":"Ingres9Dialect.java","formatted_lines":["{"," registerFunction( \"current_time\", new NoArgSQLFunction( \"current_time\","," StandardBasicTypes.TIME, false ) );"," registerFunction("," \"current_timestamp\", new NoArgSQLFunction("," \"current_timestamp\","," StandardBasicTypes.TIMESTAMP,"," false"," )"," );"," registerFunction( \"current_date\", new NoArgSQLFunction( \"current_date\","," StandardBasicTypes.DATE, false ) );","}"],"function_name":"registerDateTimeFunctions","function_name_tokens":["register","date","time","functions"],"id_body_hash":"5545df49f903ac1f48c1f1913f2c3eb1","id_same_identifier_list":[0,1,2,2,3,4,5,6,7,7,7,7,8,9,10,11,11,11,12,13,14,15,16,17,18,19,19,20,21,22,23,24,24,24,24,25,26,27,28,28,28,29,30,31,32,33,34,35,36,36,37,38,39,40,41,41,41,41,42,43,44,45,45,45,46,47,48,49,50,51,52,53,54],"option_correct":"registerDateTimeFunctions","options":["in","testSameMappingValues","appendElementColumns","testTimeAsDate","registerDateTimeFunctions","registerDateTimeColumnTypes","register71Functions"],"options_nlp":["in","test same mapping values","append element columns","test time as date","register date time functions","register date time column types","register 71 functions"],"options_random":["testSameMappingValues","appendElementColumns","in"],"options_tfidf":["registerDateTimeColumnTypes","testTimeAsDate","register71Functions"],"project_name":"hibernate-orm","source_code_string":"protected void registerDateTimeFunctions() {\n\t\tregisterFunction( \"current_time\", new NoArgSQLFunction( \"current_time\", StandardBasicTypes.TIME, false ) );\n\t\tregisterFunction(\n\t\t\t\t\"current_timestamp\", new NoArgSQLFunction(\n\t\t\t\t\"current_timestamp\",\n\t\t\t\tStandardBasicTypes.TIMESTAMP,\n\t\t\t\tfalse\n\t\t)\n\t\t);\n\t\tregisterFunction( \"current_date\", new NoArgSQLFunction( \"current_date\", StandardBasicTypes.DATE, false ) );\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"register","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Function","start_char":12,"line":1},{"index_id":3,"token_group":2,"text":"(","start_char":20,"line":1},{"index_id":4,"token_group":3,"text":"\"current_time\"","start_char":22,"line":1},{"index_id":5,"token_group":4,"text":",","start_char":36,"line":1},{"index_id":6,"token_group":5,"text":"new","start_char":38,"line":1},{"index_id":7,"token_group":6,"text":"no","start_char":42,"line":1},{"index_id":8,"token_group":7,"text":"Arg","start_char":44,"line":1},{"index_id":9,"token_group":7,"text":"Sql","start_char":47,"line":1},{"index_id":10,"token_group":7,"text":"Function","start_char":50,"line":1},{"index_id":11,"token_group":7,"text":"(","start_char":58,"line":1},{"index_id":12,"token_group":8,"text":"\"current_time\"","start_char":60,"line":1},{"index_id":13,"token_group":9,"text":",","start_char":74,"line":1},{"index_id":14,"token_group":10,"text":"standard","start_char":22,"line":2},{"index_id":15,"token_group":11,"text":"Basic","start_char":30,"line":2},{"index_id":16,"token_group":11,"text":"Types","start_char":35,"line":2},{"index_id":17,"token_group":11,"text":".","start_char":40,"line":2},{"index_id":18,"token_group":12,"text":"time","start_char":41,"line":2},{"index_id":19,"token_group":13,"text":",","start_char":45,"line":2},{"index_id":20,"token_group":14,"text":"false","start_char":47,"line":2},{"index_id":21,"token_group":15,"text":")","start_char":53,"line":2},{"index_id":22,"token_group":16,"text":")","start_char":55,"line":2},{"index_id":23,"token_group":17,"text":";","start_char":56,"line":2},{"index_id":24,"token_group":18,"text":"register","start_char":4,"line":3},{"index_id":25,"token_group":19,"text":"Function","start_char":12,"line":3},{"index_id":26,"token_group":19,"text":"(","start_char":20,"line":3},{"index_id":27,"token_group":20,"text":"\"current_timestamp\"","start_char":8,"line":4},{"index_id":28,"token_group":21,"text":",","start_char":27,"line":4},{"index_id":29,"token_group":22,"text":"new","start_char":29,"line":4},{"index_id":30,"token_group":23,"text":"no","start_char":33,"line":4},{"index_id":31,"token_group":24,"text":"Arg","start_char":35,"line":4},{"index_id":32,"token_group":24,"text":"Sql","start_char":38,"line":4},{"index_id":33,"token_group":24,"text":"Function","start_char":41,"line":4},{"index_id":34,"token_group":24,"text":"(","start_char":49,"line":4},{"index_id":35,"token_group":25,"text":"\"current_timestamp\"","start_char":12,"line":5},{"index_id":36,"token_group":26,"text":",","start_char":31,"line":5},{"index_id":37,"token_group":27,"text":"standard","start_char":12,"line":6},{"index_id":38,"token_group":28,"text":"Basic","start_char":20,"line":6},{"index_id":39,"token_group":28,"text":"Types","start_char":25,"line":6},{"index_id":40,"token_group":28,"text":".","start_char":30,"line":6},{"index_id":41,"token_group":29,"text":"timestamp","start_char":31,"line":6},{"index_id":42,"token_group":30,"text":",","start_char":40,"line":6},{"index_id":43,"token_group":31,"text":"false","start_char":12,"line":7},{"index_id":44,"token_group":32,"text":")","start_char":8,"line":8},{"index_id":45,"token_group":33,"text":")","start_char":4,"line":9},{"index_id":46,"token_group":34,"text":";","start_char":5,"line":9},{"index_id":47,"token_group":35,"text":"register","start_char":4,"line":10},{"index_id":48,"token_group":36,"text":"Function","start_char":12,"line":10},{"index_id":49,"token_group":36,"text":"(","start_char":20,"line":10},{"index_id":50,"token_group":37,"text":"\"current_date\"","start_char":22,"line":10},{"index_id":51,"token_group":38,"text":",","start_char":36,"line":10},{"index_id":52,"token_group":39,"text":"new","start_char":38,"line":10},{"index_id":53,"token_group":40,"text":"no","start_char":42,"line":10},{"index_id":54,"token_group":41,"text":"Arg","start_char":44,"line":10},{"index_id":55,"token_group":41,"text":"Sql","start_char":47,"line":10},{"index_id":56,"token_group":41,"text":"Function","start_char":50,"line":10},{"index_id":57,"token_group":41,"text":"(","start_char":58,"line":10},{"index_id":58,"token_group":42,"text":"\"current_date\"","start_char":60,"line":10},{"index_id":59,"token_group":43,"text":",","start_char":74,"line":10},{"index_id":60,"token_group":44,"text":"standard","start_char":22,"line":11},{"index_id":61,"token_group":45,"text":"Basic","start_char":30,"line":11},{"index_id":62,"token_group":45,"text":"Types","start_char":35,"line":11},{"index_id":63,"token_group":45,"text":".","start_char":40,"line":11},{"index_id":64,"token_group":46,"text":"date","start_char":41,"line":11},{"index_id":65,"token_group":47,"text":",","start_char":45,"line":11},{"index_id":66,"token_group":48,"text":"false","start_char":47,"line":11},{"index_id":67,"token_group":49,"text":")","start_char":53,"line":11},{"index_id":68,"token_group":50,"text":")","start_char":55,"line":11},{"index_id":69,"token_group":51,"text":";","start_char":56,"line":11},{"index_id":70,"token_group":52,"text":"}","start_char":0,"line":12}],"tokens_list":["{","register","Function","(","\"current_time\"",",","new","no","Arg","Sql","Function","(","\"current_time\"",",","standard","Basic","Types",".","time",",","false",")",")",";","register","Function","(","\"current_timestamp\"",",","new","no","Arg","Sql","Function","(","\"current_timestamp\"",",","standard","Basic","Types",".","timestamp",",","false",")",")",";","register","Function","(","\"current_date\"",",","new","no","Arg","Sql","Function","(","\"current_date\"",",","standard","Basic","Types",".","date",",","false",")",")",";","}"],"uuid":"8c9ba43b3072ed93f1b0d2a133a22b74"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","","Group","Id","<\/id>","=","<id>","group","Id","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"FolderSoap.java","formatted_lines":["{"," _groupId = groupId;","}"],"function_name":"setGroupId","function_name_tokens":["set","group","id"],"id_body_hash":"9ddd4b66d27f84bf37a021ccf2c3d0ce","id_same_identifier_list":[0,1,2,2,2,3,4,4,5,6,7],"option_correct":"setGroupId","options":["setRuleGroupId","addDDMStructureVersion","setUserGroupId","setGroupId","testSingleRangeByte","setManagementBarFilterItems","setId"],"options_nlp":["set rule group id","add ddm structure version","set user group id","set group id","test single range byte","set management bar filter items","set id"],"options_random":["testSingleRangeByte","addDDMStructureVersion","setManagementBarFilterItems"],"options_tfidf":["setRuleGroupId","setId","setUserGroupId"],"project_name":"liferay-portal","source_code_string":"public void setGroupId(long groupId) {\n\t\t_groupId = groupId;\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":"Group","start_char":5,"line":1},{"index_id":3,"token_group":2,"text":"Id","start_char":10,"line":1},{"index_id":4,"token_group":2,"text":"=","start_char":13,"line":1},{"index_id":5,"token_group":3,"text":"group","start_char":15,"line":1},{"index_id":6,"token_group":4,"text":"Id","start_char":20,"line":1},{"index_id":7,"token_group":4,"text":";","start_char":22,"line":1},{"index_id":8,"token_group":5,"text":"}","start_char":0,"line":2}],"tokens_list":["{","","Group","Id","=","group","Id",";","}"],"uuid":"b75d85412bf4ea5e6ed9920a70bfca20"}]