-
Notifications
You must be signed in to change notification settings - Fork 1
/
experiment_0000089.json
1 lines (1 loc) · 168 KB
/
experiment_0000089.json
1
[{"cap_original_tokens":["<SENTENCE_START>","{","<id>","matcher","<\/id>","<id>","matcher","<\/id>","=","<id>","stack","Trace","Pattern","<\/id>",".","<id>","matcher","<\/id>","(","<id>","stack","<\/id>",")",";","if","(","<id>","matcher","<\/id>",".","<id>","matches","<\/id>","(",")",")","{","<id>","string","<\/id>","<id>","declaring","Class","<\/id>","=","<id>","matcher","<\/id>",".","<id>","group","<\/id>","(","1",")",";","<id>","string","<\/id>","<id>","method","Name","<\/id>","=","<id>","matcher","<\/id>",".","<id>","group","<\/id>","(","2",")",";","<id>","string","<\/id>","<id>","file","Name","<\/id>","=","<id>","matcher","<\/id>",".","<id>","group","<\/id>","(","3",")",";","int","<id>","number","<\/id>","=","-","1",";","if","(","<id>","file","Name","<\/id>",".","<id>","equals","<\/id>","(","\"Native Method\"",")",")","{","<id>","file","Name","<\/id>","=","null",";","<id>","number","<\/id>","=","-","2",";","}","else","if","(","<id>","matcher","<\/id>",".","<id>","group","<\/id>","(","4",")","!=","null",")","{","<id>","number","<\/id>","=","<id>","integer","<\/id>",".","<id>","parse","Int","<\/id>","(","<id>","matcher","<\/id>",".","<id>","group","<\/id>","(","4",")",")",";","}","return","new","<id>","stack","Trace","Element","<\/id>","(","<id>","declaring","Class","<\/id>",",","<id>","method","Name","<\/id>",",","<id>","file","Name","<\/id>",",","<id>","number","<\/id>",")",";","}","return","new","<id>","stack","Trace","Element","<\/id>","(","\"Unknown\"",",","<id>","stack","<\/id>",",","null",",","-","1",")",";","}","<SENTENCE_END\/>"],"file_name":"ExecutionFailureInfo.java","formatted_lines":["{"," Matcher matcher = STACK_TRACE_PATTERN.matcher(stack);"," if (matcher.matches())"," {"," String declaringClass = matcher.group(1);"," String methodName = matcher.group(2);"," String fileName = matcher.group(3);"," int number = -1;"," if (fileName.equals(\"Native Method\"))"," {"," fileName = null;"," number = -2;"," }"," else if (matcher.group(4) != null)"," {"," number = Integer.parseInt(matcher.group(4));"," }"," return new StackTraceElement(declaringClass, methodName, fileName, number);"," }"," return new StackTraceElement(\"Unknown\", stack, null, -1);","}"],"function_name":"toStackTraceElement","function_name_tokens":["to","stack","trace","element"],"id_body_hash":"065597a8c65fb9a95c9803dc3a7de9e5","id_same_identifier_list":[0,1,2,3,4,5,5,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,22,23,24,25,26,27,28,29,30,31,32,32,33,34,35,36,37,38,39,40,41,42,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,59,60,61,62,63,64,65,66,67,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,94,95,96,97,98,99,100,101,102,103,104,105,106,107,107,107,108,109,109,110,111,111,112,113,113,114,115,116,117,118,119,120,121,121,121,122,123,124,125,126,127,128,129,130,131,132,133,134],"option_correct":"toStackTraceElement","options":["toStackTraceElement","getTimestampColumnCheckpoints","ifNotNullGoto","shouldAddStackTrace","stackRepresentationToObject","getRemoteClientAddress","toStackRepresentation"],"options_nlp":["to stack trace element","get timestamp column checkpoints","if not null goto","should add stack trace","stack representation to object","get remote client address","to stack representation"],"options_random":["ifNotNullGoto","getRemoteClientAddress","getTimestampColumnCheckpoints"],"options_tfidf":["shouldAddStackTrace","toStackRepresentation","stackRepresentationToObject"],"project_name":"presto","source_code_string":"public static StackTraceElement toStackTraceElement(String stack)\n {\n Matcher matcher = STACK_TRACE_PATTERN.matcher(stack);\n if (matcher.matches()) {\n String declaringClass = matcher.group(1);\n String methodName = matcher.group(2);\n String fileName = matcher.group(3);\n int number = -1;\n if (fileName.equals(\"Native Method\")) {\n fileName = null;\n number = -2;\n }\n else if (matcher.group(4) != null) {\n number = Integer.parseInt(matcher.group(4));\n }\n return new StackTraceElement(declaringClass, methodName, fileName, number);\n }\n return new StackTraceElement(\"Unknown\", stack, null, -1);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"matcher","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"matcher","start_char":12,"line":1},{"index_id":3,"token_group":3,"text":"=","start_char":20,"line":1},{"index_id":4,"token_group":4,"text":"stack","start_char":22,"line":1},{"index_id":5,"token_group":5,"text":"Trace","start_char":28,"line":1},{"index_id":6,"token_group":5,"text":"Pattern","start_char":34,"line":1},{"index_id":7,"token_group":5,"text":".","start_char":41,"line":1},{"index_id":8,"token_group":6,"text":"matcher","start_char":42,"line":1},{"index_id":9,"token_group":7,"text":"(","start_char":49,"line":1},{"index_id":10,"token_group":8,"text":"stack","start_char":50,"line":1},{"index_id":11,"token_group":9,"text":")","start_char":55,"line":1},{"index_id":12,"token_group":10,"text":";","start_char":56,"line":1},{"index_id":13,"token_group":11,"text":"if","start_char":4,"line":2},{"index_id":14,"token_group":12,"text":"(","start_char":7,"line":2},{"index_id":15,"token_group":13,"text":"matcher","start_char":8,"line":2},{"index_id":16,"token_group":14,"text":".","start_char":15,"line":2},{"index_id":17,"token_group":15,"text":"matches","start_char":16,"line":2},{"index_id":18,"token_group":16,"text":"(","start_char":23,"line":2},{"index_id":19,"token_group":17,"text":")","start_char":24,"line":2},{"index_id":20,"token_group":18,"text":")","start_char":25,"line":2},{"index_id":21,"token_group":19,"text":"{","start_char":4,"line":3},{"index_id":22,"token_group":20,"text":"string","start_char":8,"line":4},{"index_id":23,"token_group":21,"text":"declaring","start_char":15,"line":4},{"index_id":24,"token_group":22,"text":"Class","start_char":24,"line":4},{"index_id":25,"token_group":22,"text":"=","start_char":30,"line":4},{"index_id":26,"token_group":23,"text":"matcher","start_char":32,"line":4},{"index_id":27,"token_group":24,"text":".","start_char":39,"line":4},{"index_id":28,"token_group":25,"text":"group","start_char":40,"line":4},{"index_id":29,"token_group":26,"text":"(","start_char":45,"line":4},{"index_id":30,"token_group":27,"text":"1","start_char":46,"line":4},{"index_id":31,"token_group":28,"text":")","start_char":47,"line":4},{"index_id":32,"token_group":29,"text":";","start_char":48,"line":4},{"index_id":33,"token_group":30,"text":"string","start_char":8,"line":5},{"index_id":34,"token_group":31,"text":"method","start_char":15,"line":5},{"index_id":35,"token_group":32,"text":"Name","start_char":21,"line":5},{"index_id":36,"token_group":32,"text":"=","start_char":26,"line":5},{"index_id":37,"token_group":33,"text":"matcher","start_char":28,"line":5},{"index_id":38,"token_group":34,"text":".","start_char":35,"line":5},{"index_id":39,"token_group":35,"text":"group","start_char":36,"line":5},{"index_id":40,"token_group":36,"text":"(","start_char":41,"line":5},{"index_id":41,"token_group":37,"text":"2","start_char":42,"line":5},{"index_id":42,"token_group":38,"text":")","start_char":43,"line":5},{"index_id":43,"token_group":39,"text":";","start_char":44,"line":5},{"index_id":44,"token_group":40,"text":"string","start_char":8,"line":6},{"index_id":45,"token_group":41,"text":"file","start_char":15,"line":6},{"index_id":46,"token_group":42,"text":"Name","start_char":19,"line":6},{"index_id":47,"token_group":42,"text":"=","start_char":24,"line":6},{"index_id":48,"token_group":43,"text":"matcher","start_char":26,"line":6},{"index_id":49,"token_group":44,"text":".","start_char":33,"line":6},{"index_id":50,"token_group":45,"text":"group","start_char":34,"line":6},{"index_id":51,"token_group":46,"text":"(","start_char":39,"line":6},{"index_id":52,"token_group":47,"text":"3","start_char":40,"line":6},{"index_id":53,"token_group":48,"text":")","start_char":41,"line":6},{"index_id":54,"token_group":49,"text":";","start_char":42,"line":6},{"index_id":55,"token_group":50,"text":"int","start_char":8,"line":7},{"index_id":56,"token_group":51,"text":"number","start_char":12,"line":7},{"index_id":57,"token_group":52,"text":"=","start_char":19,"line":7},{"index_id":58,"token_group":53,"text":"-","start_char":21,"line":7},{"index_id":59,"token_group":54,"text":"1","start_char":22,"line":7},{"index_id":60,"token_group":55,"text":";","start_char":23,"line":7},{"index_id":61,"token_group":56,"text":"if","start_char":8,"line":8},{"index_id":62,"token_group":57,"text":"(","start_char":11,"line":8},{"index_id":63,"token_group":58,"text":"file","start_char":12,"line":8},{"index_id":64,"token_group":59,"text":"Name","start_char":16,"line":8},{"index_id":65,"token_group":59,"text":".","start_char":20,"line":8},{"index_id":66,"token_group":60,"text":"equals","start_char":21,"line":8},{"index_id":67,"token_group":61,"text":"(","start_char":27,"line":8},{"index_id":68,"token_group":62,"text":"\"Native Method\"","start_char":28,"line":8},{"index_id":69,"token_group":63,"text":")","start_char":43,"line":8},{"index_id":70,"token_group":64,"text":")","start_char":44,"line":8},{"index_id":71,"token_group":65,"text":"{","start_char":8,"line":9},{"index_id":72,"token_group":66,"text":"file","start_char":12,"line":10},{"index_id":73,"token_group":67,"text":"Name","start_char":16,"line":10},{"index_id":74,"token_group":67,"text":"=","start_char":21,"line":10},{"index_id":75,"token_group":68,"text":"null","start_char":23,"line":10},{"index_id":76,"token_group":69,"text":";","start_char":27,"line":10},{"index_id":77,"token_group":70,"text":"number","start_char":12,"line":11},{"index_id":78,"token_group":71,"text":"=","start_char":19,"line":11},{"index_id":79,"token_group":72,"text":"-","start_char":21,"line":11},{"index_id":80,"token_group":73,"text":"2","start_char":22,"line":11},{"index_id":81,"token_group":74,"text":";","start_char":23,"line":11},{"index_id":82,"token_group":75,"text":"}","start_char":8,"line":12},{"index_id":83,"token_group":76,"text":"else","start_char":8,"line":13},{"index_id":84,"token_group":77,"text":"if","start_char":13,"line":13},{"index_id":85,"token_group":78,"text":"(","start_char":16,"line":13},{"index_id":86,"token_group":79,"text":"matcher","start_char":17,"line":13},{"index_id":87,"token_group":80,"text":".","start_char":24,"line":13},{"index_id":88,"token_group":81,"text":"group","start_char":25,"line":13},{"index_id":89,"token_group":82,"text":"(","start_char":30,"line":13},{"index_id":90,"token_group":83,"text":"4","start_char":31,"line":13},{"index_id":91,"token_group":84,"text":")","start_char":32,"line":13},{"index_id":92,"token_group":85,"text":"!=","start_char":34,"line":13},{"index_id":93,"token_group":86,"text":"null","start_char":37,"line":13},{"index_id":94,"token_group":87,"text":")","start_char":41,"line":13},{"index_id":95,"token_group":88,"text":"{","start_char":8,"line":14},{"index_id":96,"token_group":89,"text":"number","start_char":12,"line":15},{"index_id":97,"token_group":90,"text":"=","start_char":19,"line":15},{"index_id":98,"token_group":91,"text":"integer","start_char":21,"line":15},{"index_id":99,"token_group":92,"text":".","start_char":28,"line":15},{"index_id":100,"token_group":93,"text":"parse","start_char":29,"line":15},{"index_id":101,"token_group":94,"text":"Int","start_char":34,"line":15},{"index_id":102,"token_group":94,"text":"(","start_char":37,"line":15},{"index_id":103,"token_group":95,"text":"matcher","start_char":38,"line":15},{"index_id":104,"token_group":96,"text":".","start_char":45,"line":15},{"index_id":105,"token_group":97,"text":"group","start_char":46,"line":15},{"index_id":106,"token_group":98,"text":"(","start_char":51,"line":15},{"index_id":107,"token_group":99,"text":"4","start_char":52,"line":15},{"index_id":108,"token_group":100,"text":")","start_char":53,"line":15},{"index_id":109,"token_group":101,"text":")","start_char":54,"line":15},{"index_id":110,"token_group":102,"text":";","start_char":55,"line":15},{"index_id":111,"token_group":103,"text":"}","start_char":8,"line":16},{"index_id":112,"token_group":104,"text":"return","start_char":8,"line":17},{"index_id":113,"token_group":105,"text":"new","start_char":15,"line":17},{"index_id":114,"token_group":106,"text":"stack","start_char":19,"line":17},{"index_id":115,"token_group":107,"text":"Trace","start_char":24,"line":17},{"index_id":116,"token_group":107,"text":"Element","start_char":29,"line":17},{"index_id":117,"token_group":107,"text":"(","start_char":36,"line":17},{"index_id":118,"token_group":108,"text":"declaring","start_char":37,"line":17},{"index_id":119,"token_group":109,"text":"Class","start_char":46,"line":17},{"index_id":120,"token_group":109,"text":",","start_char":51,"line":17},{"index_id":121,"token_group":110,"text":"method","start_char":53,"line":17},{"index_id":122,"token_group":111,"text":"Name","start_char":59,"line":17},{"index_id":123,"token_group":111,"text":",","start_char":63,"line":17},{"index_id":124,"token_group":112,"text":"file","start_char":65,"line":17},{"index_id":125,"token_group":113,"text":"Name","start_char":69,"line":17},{"index_id":126,"token_group":113,"text":",","start_char":73,"line":17},{"index_id":127,"token_group":114,"text":"number","start_char":75,"line":17},{"index_id":128,"token_group":115,"text":")","start_char":81,"line":17},{"index_id":129,"token_group":116,"text":";","start_char":82,"line":17},{"index_id":130,"token_group":117,"text":"}","start_char":4,"line":18},{"index_id":131,"token_group":118,"text":"return","start_char":4,"line":19},{"index_id":132,"token_group":119,"text":"new","start_char":11,"line":19},{"index_id":133,"token_group":120,"text":"stack","start_char":15,"line":19},{"index_id":134,"token_group":121,"text":"Trace","start_char":20,"line":19},{"index_id":135,"token_group":121,"text":"Element","start_char":25,"line":19},{"index_id":136,"token_group":121,"text":"(","start_char":32,"line":19},{"index_id":137,"token_group":122,"text":"\"Unknown\"","start_char":33,"line":19},{"index_id":138,"token_group":123,"text":",","start_char":42,"line":19},{"index_id":139,"token_group":124,"text":"stack","start_char":44,"line":19},{"index_id":140,"token_group":125,"text":",","start_char":49,"line":19},{"index_id":141,"token_group":126,"text":"null","start_char":51,"line":19},{"index_id":142,"token_group":127,"text":",","start_char":55,"line":19},{"index_id":143,"token_group":128,"text":"-","start_char":57,"line":19},{"index_id":144,"token_group":129,"text":"1","start_char":58,"line":19},{"index_id":145,"token_group":130,"text":")","start_char":59,"line":19},{"index_id":146,"token_group":131,"text":";","start_char":60,"line":19},{"index_id":147,"token_group":132,"text":"}","start_char":0,"line":20}],"tokens_list":["{","matcher","matcher","=","stack","Trace","Pattern",".","matcher","(","stack",")",";","if","(","matcher",".","matches","(",")",")","{","string","declaring","Class","=","matcher",".","group","(","1",")",";","string","method","Name","=","matcher",".","group","(","2",")",";","string","file","Name","=","matcher",".","group","(","3",")",";","int","number","=","-","1",";","if","(","file","Name",".","equals","(","\"Native Method\"",")",")","{","file","Name","=","null",";","number","=","-","2",";","}","else","if","(","matcher",".","group","(","4",")","!=","null",")","{","number","=","integer",".","parse","Int","(","matcher",".","group","(","4",")",")",";","}","return","new","stack","Trace","Element","(","declaring","Class",",","method","Name",",","file","Name",",","number",")",";","}","return","new","stack","Trace","Element","(","\"Unknown\"",",","stack",",","null",",","-","1",")",";","}"],"uuid":"8848fbe67ea2bf04a06cad33f673f6a2"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","model","Node","<\/id>","<id>","read","Resource","<\/id>","=","new","<id>","model","Node","<\/id>","(",")",";","<id>","read","Resource","<\/id>",".","<id>","get","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","address","<\/id>",")",".","<id>","add","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","deployment","<\/id>",",","<id>","deployment","Name","<\/id>",")",";","<id>","read","Resource","<\/id>",".","<id>","get","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","op","<\/id>",")",".","<id>","set","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","read","Resource","Operation","<\/id>",")",";","<id>","read","Resource","<\/id>",".","<id>","get","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","include","Runtime","<\/id>",")",".","<id>","set","<\/id>","(","true",")",";","<id>","read","Resource","<\/id>",".","<id>","get","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","recursive","<\/id>",")",".","<id>","set","<\/id>","(","true",")",";","<id>","model","Node","<\/id>","<id>","result","<\/id>","=","<id>","controller","Client","<\/id>",".","<id>","execute","<\/id>","(","<id>","read","Resource","<\/id>",")",";","<id>","assert","<\/id>",".","<id>","assert","True","<\/id>","(","\"Failed to list resources: \"","+","<id>","result","<\/id>",",","<id>","operations","<\/id>",".","<id>","is","Successful","Outcome","<\/id>","(","<id>","result","<\/id>",")",")",";","}","<SENTENCE_END\/>"],"file_name":"StatelessEJBRemoteHomeRuntimeNameTestCase.java","formatted_lines":["{",""," ModelNode readResource = new ModelNode();"," readResource.get(ModelDescriptionConstants.ADDRESS).add(ModelDescriptionConstants.DEPLOYMENT, DEPLOYMENT_NAME);"," readResource.get(ModelDescriptionConstants.OP).set(ModelDescriptionConstants.READ_RESOURCE_OPERATION);"," readResource.get(ModelDescriptionConstants.INCLUDE_RUNTIME).set(true);"," readResource.get(ModelDescriptionConstants.RECURSIVE).set(true);"," ModelNode result = controllerClient.execute(readResource);","",""," Assert.assertTrue(\"Failed to list resources: \" + result, Operations.isSuccessfulOutcome(result));","}"],"function_name":"testRecursive","function_name_tokens":["test","recursive"],"id_body_hash":"445b2fb1c85fdf0004200a8869de1f3a","id_same_identifier_list":[0,1,2,2,3,3,4,5,6,6,7,8,9,10,10,11,12,13,14,14,14,15,16,17,18,19,20,21,21,21,22,23,24,25,25,26,27,28,28,29,30,31,32,32,32,33,34,35,36,37,38,39,39,39,40,41,41,41,42,43,44,44,45,46,47,48,48,48,49,50,50,51,52,53,54,55,56,57,58,58,59,60,61,62,62,62,63,64,65,66,67,68,69,70,71,72,72,73,74,75,75,76,77,78,79,79,80,81,82,83,84,84,85,86,87,88,89,90,91,92,92,92,93,94,95,96,97,98,99],"option_correct":"testRecursive","options":["testRecursiveJARResourceRetrievalForSpecifiedRootDir","testRecursiveJARResourceRetrieval","testRecursive","checkTestPropertyInJSP","getNumber","testNonRecursiveJARResourceRetrieval","createTimer"],"options_nlp":["test recursive jar resource retrieval for specified root dir","test recursive jar resource retrieval","test recursive","check test property in jsp","get number","test non recursive jar resource retrieval","create timer"],"options_random":["checkTestPropertyInJSP","getNumber","createTimer"],"options_tfidf":["testNonRecursiveJARResourceRetrieval","testRecursiveJARResourceRetrieval","testRecursiveJARResourceRetrievalForSpecifiedRootDir"],"project_name":"wildfly","source_code_string":"@Test\n @InSequence(value = 4)\n public void testRecursive() throws Exception {\n\n ModelNode readResource = new ModelNode();\n readResource.get(ModelDescriptionConstants.ADDRESS).add(ModelDescriptionConstants.DEPLOYMENT, DEPLOYMENT_NAME);\n readResource.get(ModelDescriptionConstants.OP).set(ModelDescriptionConstants.READ_RESOURCE_OPERATION);\n readResource.get(ModelDescriptionConstants.INCLUDE_RUNTIME).set(true);\n readResource.get(ModelDescriptionConstants.RECURSIVE).set(true);\n ModelNode result = controllerClient.execute(readResource);\n\n \n Assert.assertTrue(\"Failed to list resources: \" + result, Operations.isSuccessfulOutcome(result));\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"model","start_char":4,"line":2},{"index_id":2,"token_group":2,"text":"Node","start_char":9,"line":2},{"index_id":3,"token_group":2,"text":"read","start_char":14,"line":2},{"index_id":4,"token_group":3,"text":"Resource","start_char":18,"line":2},{"index_id":5,"token_group":3,"text":"=","start_char":27,"line":2},{"index_id":6,"token_group":4,"text":"new","start_char":29,"line":2},{"index_id":7,"token_group":5,"text":"model","start_char":33,"line":2},{"index_id":8,"token_group":6,"text":"Node","start_char":38,"line":2},{"index_id":9,"token_group":6,"text":"(","start_char":42,"line":2},{"index_id":10,"token_group":7,"text":")","start_char":43,"line":2},{"index_id":11,"token_group":8,"text":";","start_char":44,"line":2},{"index_id":12,"token_group":9,"text":"read","start_char":4,"line":3},{"index_id":13,"token_group":10,"text":"Resource","start_char":8,"line":3},{"index_id":14,"token_group":10,"text":".","start_char":16,"line":3},{"index_id":15,"token_group":11,"text":"get","start_char":17,"line":3},{"index_id":16,"token_group":12,"text":"(","start_char":20,"line":3},{"index_id":17,"token_group":13,"text":"model","start_char":21,"line":3},{"index_id":18,"token_group":14,"text":"Description","start_char":26,"line":3},{"index_id":19,"token_group":14,"text":"Constants","start_char":37,"line":3},{"index_id":20,"token_group":14,"text":".","start_char":46,"line":3},{"index_id":21,"token_group":15,"text":"address","start_char":47,"line":3},{"index_id":22,"token_group":16,"text":")","start_char":54,"line":3},{"index_id":23,"token_group":17,"text":".","start_char":55,"line":3},{"index_id":24,"token_group":18,"text":"add","start_char":56,"line":3},{"index_id":25,"token_group":19,"text":"(","start_char":59,"line":3},{"index_id":26,"token_group":20,"text":"model","start_char":60,"line":3},{"index_id":27,"token_group":21,"text":"Description","start_char":65,"line":3},{"index_id":28,"token_group":21,"text":"Constants","start_char":76,"line":3},{"index_id":29,"token_group":21,"text":".","start_char":85,"line":3},{"index_id":30,"token_group":22,"text":"deployment","start_char":86,"line":3},{"index_id":31,"token_group":23,"text":",","start_char":96,"line":3},{"index_id":32,"token_group":24,"text":"deployment","start_char":98,"line":3},{"index_id":33,"token_group":25,"text":"Name","start_char":109,"line":3},{"index_id":34,"token_group":25,"text":")","start_char":113,"line":3},{"index_id":35,"token_group":26,"text":";","start_char":114,"line":3},{"index_id":36,"token_group":27,"text":"read","start_char":4,"line":4},{"index_id":37,"token_group":28,"text":"Resource","start_char":8,"line":4},{"index_id":38,"token_group":28,"text":".","start_char":16,"line":4},{"index_id":39,"token_group":29,"text":"get","start_char":17,"line":4},{"index_id":40,"token_group":30,"text":"(","start_char":20,"line":4},{"index_id":41,"token_group":31,"text":"model","start_char":21,"line":4},{"index_id":42,"token_group":32,"text":"Description","start_char":26,"line":4},{"index_id":43,"token_group":32,"text":"Constants","start_char":37,"line":4},{"index_id":44,"token_group":32,"text":".","start_char":46,"line":4},{"index_id":45,"token_group":33,"text":"op","start_char":47,"line":4},{"index_id":46,"token_group":34,"text":")","start_char":49,"line":4},{"index_id":47,"token_group":35,"text":".","start_char":50,"line":4},{"index_id":48,"token_group":36,"text":"set","start_char":51,"line":4},{"index_id":49,"token_group":37,"text":"(","start_char":54,"line":4},{"index_id":50,"token_group":38,"text":"model","start_char":55,"line":4},{"index_id":51,"token_group":39,"text":"Description","start_char":60,"line":4},{"index_id":52,"token_group":39,"text":"Constants","start_char":71,"line":4},{"index_id":53,"token_group":39,"text":".","start_char":80,"line":4},{"index_id":54,"token_group":40,"text":"read","start_char":81,"line":4},{"index_id":55,"token_group":41,"text":"Resource","start_char":86,"line":4},{"index_id":56,"token_group":41,"text":"Operation","start_char":95,"line":4},{"index_id":57,"token_group":41,"text":")","start_char":104,"line":4},{"index_id":58,"token_group":42,"text":";","start_char":105,"line":4},{"index_id":59,"token_group":43,"text":"read","start_char":4,"line":5},{"index_id":60,"token_group":44,"text":"Resource","start_char":8,"line":5},{"index_id":61,"token_group":44,"text":".","start_char":16,"line":5},{"index_id":62,"token_group":45,"text":"get","start_char":17,"line":5},{"index_id":63,"token_group":46,"text":"(","start_char":20,"line":5},{"index_id":64,"token_group":47,"text":"model","start_char":21,"line":5},{"index_id":65,"token_group":48,"text":"Description","start_char":26,"line":5},{"index_id":66,"token_group":48,"text":"Constants","start_char":37,"line":5},{"index_id":67,"token_group":48,"text":".","start_char":46,"line":5},{"index_id":68,"token_group":49,"text":"include","start_char":47,"line":5},{"index_id":69,"token_group":50,"text":"Runtime","start_char":55,"line":5},{"index_id":70,"token_group":50,"text":")","start_char":62,"line":5},{"index_id":71,"token_group":51,"text":".","start_char":63,"line":5},{"index_id":72,"token_group":52,"text":"set","start_char":64,"line":5},{"index_id":73,"token_group":53,"text":"(","start_char":67,"line":5},{"index_id":74,"token_group":54,"text":"true","start_char":68,"line":5},{"index_id":75,"token_group":55,"text":")","start_char":72,"line":5},{"index_id":76,"token_group":56,"text":";","start_char":73,"line":5},{"index_id":77,"token_group":57,"text":"read","start_char":4,"line":6},{"index_id":78,"token_group":58,"text":"Resource","start_char":8,"line":6},{"index_id":79,"token_group":58,"text":".","start_char":16,"line":6},{"index_id":80,"token_group":59,"text":"get","start_char":17,"line":6},{"index_id":81,"token_group":60,"text":"(","start_char":20,"line":6},{"index_id":82,"token_group":61,"text":"model","start_char":21,"line":6},{"index_id":83,"token_group":62,"text":"Description","start_char":26,"line":6},{"index_id":84,"token_group":62,"text":"Constants","start_char":37,"line":6},{"index_id":85,"token_group":62,"text":".","start_char":46,"line":6},{"index_id":86,"token_group":63,"text":"recursive","start_char":47,"line":6},{"index_id":87,"token_group":64,"text":")","start_char":56,"line":6},{"index_id":88,"token_group":65,"text":".","start_char":57,"line":6},{"index_id":89,"token_group":66,"text":"set","start_char":58,"line":6},{"index_id":90,"token_group":67,"text":"(","start_char":61,"line":6},{"index_id":91,"token_group":68,"text":"true","start_char":62,"line":6},{"index_id":92,"token_group":69,"text":")","start_char":66,"line":6},{"index_id":93,"token_group":70,"text":";","start_char":67,"line":6},{"index_id":94,"token_group":71,"text":"model","start_char":4,"line":7},{"index_id":95,"token_group":72,"text":"Node","start_char":9,"line":7},{"index_id":96,"token_group":72,"text":"result","start_char":14,"line":7},{"index_id":97,"token_group":73,"text":"=","start_char":21,"line":7},{"index_id":98,"token_group":74,"text":"controller","start_char":23,"line":7},{"index_id":99,"token_group":75,"text":"Client","start_char":33,"line":7},{"index_id":100,"token_group":75,"text":".","start_char":39,"line":7},{"index_id":101,"token_group":76,"text":"execute","start_char":40,"line":7},{"index_id":102,"token_group":77,"text":"(","start_char":47,"line":7},{"index_id":103,"token_group":78,"text":"read","start_char":48,"line":7},{"index_id":104,"token_group":79,"text":"Resource","start_char":52,"line":7},{"index_id":105,"token_group":79,"text":")","start_char":60,"line":7},{"index_id":106,"token_group":80,"text":";","start_char":61,"line":7},{"index_id":107,"token_group":81,"text":"assert","start_char":4,"line":10},{"index_id":108,"token_group":82,"text":".","start_char":10,"line":10},{"index_id":109,"token_group":83,"text":"assert","start_char":11,"line":10},{"index_id":110,"token_group":84,"text":"True","start_char":17,"line":10},{"index_id":111,"token_group":84,"text":"(","start_char":21,"line":10},{"index_id":112,"token_group":85,"text":"\"Failed to list resources: \"","start_char":22,"line":10},{"index_id":113,"token_group":86,"text":"+","start_char":51,"line":10},{"index_id":114,"token_group":87,"text":"result","start_char":53,"line":10},{"index_id":115,"token_group":88,"text":",","start_char":59,"line":10},{"index_id":116,"token_group":89,"text":"operations","start_char":61,"line":10},{"index_id":117,"token_group":90,"text":".","start_char":71,"line":10},{"index_id":118,"token_group":91,"text":"is","start_char":72,"line":10},{"index_id":119,"token_group":92,"text":"Successful","start_char":74,"line":10},{"index_id":120,"token_group":92,"text":"Outcome","start_char":84,"line":10},{"index_id":121,"token_group":92,"text":"(","start_char":91,"line":10},{"index_id":122,"token_group":93,"text":"result","start_char":92,"line":10},{"index_id":123,"token_group":94,"text":")","start_char":98,"line":10},{"index_id":124,"token_group":95,"text":")","start_char":99,"line":10},{"index_id":125,"token_group":96,"text":";","start_char":100,"line":10},{"index_id":126,"token_group":97,"text":"}","start_char":0,"line":11}],"tokens_list":["{","model","Node","read","Resource","=","new","model","Node","(",")",";","read","Resource",".","get","(","model","Description","Constants",".","address",")",".","add","(","model","Description","Constants",".","deployment",",","deployment","Name",")",";","read","Resource",".","get","(","model","Description","Constants",".","op",")",".","set","(","model","Description","Constants",".","read","Resource","Operation",")",";","read","Resource",".","get","(","model","Description","Constants",".","include","Runtime",")",".","set","(","true",")",";","read","Resource",".","get","(","model","Description","Constants",".","recursive",")",".","set","(","true",")",";","model","Node","result","=","controller","Client",".","execute","(","read","Resource",")",";","assert",".","assert","True","(","\"Failed to list resources: \"","+","result",",","operations",".","is","Successful","Outcome","(","result",")",")",";","}"],"uuid":"920a91b7249d8db45363aa3cb53bbc1f"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","current","<\/id>","=","<id>","fs","<\/id>",".","<id>","make","Qualified","<\/id>","(","<id>","current","<\/id>",")",";","if","(","!","<id>","check","Public","Perms","For","All","<\/id>","(","<id>","fs","<\/id>",",","<id>","s","Stat","<\/id>",",","<id>","fs","Action","<\/id>",".","<id>","read","Execute","<\/id>",",","<id>","fs","Action","<\/id>",".","<id>","read","<\/id>",")",")","{","return","false",";","}","if","(","<id>","shell","<\/id>",".","<id>","windows","<\/id>","&&","<id>","fs","<\/id>","Instanceof","<id>","local","File","System","<\/id>",")","{","return","true",";","}","return","<id>","ancestors","Have","Execute","Permissions","<\/id>","(","<id>","fs","<\/id>",",","<id>","current","<\/id>",".","<id>","get","Parent","<\/id>","(",")",",","<id>","stat","Cache","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"FSDownload.java","formatted_lines":["{"," current = fs.makeQualified(current);",""," if (!checkPublicPermsForAll(fs, sStat, FsAction.READ_EXECUTE, FsAction.READ))"," {"," return false;"," }",""," if (Shell.WINDOWS && fs instanceof LocalFileSystem)"," {","","","","","",""," return true;"," }"," return ancestorsHaveExecutePermissions(fs, current.getParent(), statCache);","}"],"function_name":"isPublic","function_name_tokens":["is","public"],"id_body_hash":"d3208427260331374e4f74336ec3b850","id_same_identifier_list":[0,1,2,3,4,5,6,6,7,8,9,10,11,12,13,14,14,14,14,14,15,16,17,18,18,19,20,20,21,22,22,23,24,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,42,42,43,44,45,46,47,48,49,50,50,50,50,51,52,53,54,55,56,56,57,58,59,60,60,61,62,63,64],"option_correct":"isPublic","options":["primePublicContainer","testDownloadPublicWithStatCache","checkState","pipeline_Fi_02","isDir","isPublic","saveLegacyOIVImage"],"options_nlp":["prime public container","test download public with stat cache","check state","pipeline fi 02","is dir","is public","save legacy oiv image"],"options_random":["pipeline_Fi_02","saveLegacyOIVImage","checkState"],"options_tfidf":["isDir","testDownloadPublicWithStatCache","primePublicContainer"],"project_name":"hadoop-common","source_code_string":"@VisibleForTesting\n static boolean isPublic(FileSystem fs, Path current, FileStatus sStat,\n LoadingCache<Path,Future<FileStatus>> statCache) throws IOException {\n current = fs.makeQualified(current);\n \n if (!checkPublicPermsForAll(fs, sStat, FsAction.READ_EXECUTE, FsAction.READ)) {\n return false;\n }\n\n if (Shell.WINDOWS && fs instanceof LocalFileSystem) {\n \n \n \n \n \n \n return true;\n }\n return ancestorsHaveExecutePermissions(fs, current.getParent(), statCache);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"current","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"=","start_char":12,"line":1},{"index_id":3,"token_group":3,"text":"fs","start_char":14,"line":1},{"index_id":4,"token_group":4,"text":".","start_char":16,"line":1},{"index_id":5,"token_group":5,"text":"make","start_char":17,"line":1},{"index_id":6,"token_group":6,"text":"Qualified","start_char":21,"line":1},{"index_id":7,"token_group":6,"text":"(","start_char":30,"line":1},{"index_id":8,"token_group":7,"text":"current","start_char":31,"line":1},{"index_id":9,"token_group":8,"text":")","start_char":38,"line":1},{"index_id":10,"token_group":9,"text":";","start_char":39,"line":1},{"index_id":11,"token_group":10,"text":"if","start_char":4,"line":3},{"index_id":12,"token_group":11,"text":"(","start_char":7,"line":3},{"index_id":13,"token_group":12,"text":"!","start_char":8,"line":3},{"index_id":14,"token_group":13,"text":"check","start_char":9,"line":3},{"index_id":15,"token_group":14,"text":"Public","start_char":14,"line":3},{"index_id":16,"token_group":14,"text":"Perms","start_char":20,"line":3},{"index_id":17,"token_group":14,"text":"For","start_char":25,"line":3},{"index_id":18,"token_group":14,"text":"All","start_char":28,"line":3},{"index_id":19,"token_group":14,"text":"(","start_char":31,"line":3},{"index_id":20,"token_group":15,"text":"fs","start_char":32,"line":3},{"index_id":21,"token_group":16,"text":",","start_char":34,"line":3},{"index_id":22,"token_group":17,"text":"s","start_char":36,"line":3},{"index_id":23,"token_group":18,"text":"Stat","start_char":37,"line":3},{"index_id":24,"token_group":18,"text":",","start_char":41,"line":3},{"index_id":25,"token_group":19,"text":"fs","start_char":43,"line":3},{"index_id":26,"token_group":20,"text":"Action","start_char":45,"line":3},{"index_id":27,"token_group":20,"text":".","start_char":51,"line":3},{"index_id":28,"token_group":21,"text":"read","start_char":52,"line":3},{"index_id":29,"token_group":22,"text":"Execute","start_char":57,"line":3},{"index_id":30,"token_group":22,"text":",","start_char":64,"line":3},{"index_id":31,"token_group":23,"text":"fs","start_char":66,"line":3},{"index_id":32,"token_group":24,"text":"Action","start_char":68,"line":3},{"index_id":33,"token_group":24,"text":".","start_char":74,"line":3},{"index_id":34,"token_group":25,"text":"read","start_char":75,"line":3},{"index_id":35,"token_group":26,"text":")","start_char":79,"line":3},{"index_id":36,"token_group":27,"text":")","start_char":80,"line":3},{"index_id":37,"token_group":28,"text":"{","start_char":4,"line":4},{"index_id":38,"token_group":29,"text":"return","start_char":8,"line":5},{"index_id":39,"token_group":30,"text":"false","start_char":15,"line":5},{"index_id":40,"token_group":31,"text":";","start_char":20,"line":5},{"index_id":41,"token_group":32,"text":"}","start_char":4,"line":6},{"index_id":42,"token_group":33,"text":"if","start_char":4,"line":8},{"index_id":43,"token_group":34,"text":"(","start_char":7,"line":8},{"index_id":44,"token_group":35,"text":"shell","start_char":8,"line":8},{"index_id":45,"token_group":36,"text":".","start_char":13,"line":8},{"index_id":46,"token_group":37,"text":"windows","start_char":14,"line":8},{"index_id":47,"token_group":38,"text":"&&","start_char":22,"line":8},{"index_id":48,"token_group":39,"text":"fs","start_char":25,"line":8},{"index_id":49,"token_group":40,"text":"Instanceof","start_char":28,"line":8},{"index_id":50,"token_group":41,"text":"local","start_char":39,"line":8},{"index_id":51,"token_group":42,"text":"File","start_char":44,"line":8},{"index_id":52,"token_group":42,"text":"System","start_char":48,"line":8},{"index_id":53,"token_group":42,"text":")","start_char":54,"line":8},{"index_id":54,"token_group":43,"text":"{","start_char":4,"line":9},{"index_id":55,"token_group":44,"text":"return","start_char":8,"line":16},{"index_id":56,"token_group":45,"text":"true","start_char":15,"line":16},{"index_id":57,"token_group":46,"text":";","start_char":19,"line":16},{"index_id":58,"token_group":47,"text":"}","start_char":4,"line":17},{"index_id":59,"token_group":48,"text":"return","start_char":4,"line":18},{"index_id":60,"token_group":49,"text":"ancestors","start_char":11,"line":18},{"index_id":61,"token_group":50,"text":"Have","start_char":20,"line":18},{"index_id":62,"token_group":50,"text":"Execute","start_char":24,"line":18},{"index_id":63,"token_group":50,"text":"Permissions","start_char":31,"line":18},{"index_id":64,"token_group":50,"text":"(","start_char":42,"line":18},{"index_id":65,"token_group":51,"text":"fs","start_char":43,"line":18},{"index_id":66,"token_group":52,"text":",","start_char":45,"line":18},{"index_id":67,"token_group":53,"text":"current","start_char":47,"line":18},{"index_id":68,"token_group":54,"text":".","start_char":54,"line":18},{"index_id":69,"token_group":55,"text":"get","start_char":55,"line":18},{"index_id":70,"token_group":56,"text":"Parent","start_char":58,"line":18},{"index_id":71,"token_group":56,"text":"(","start_char":64,"line":18},{"index_id":72,"token_group":57,"text":")","start_char":65,"line":18},{"index_id":73,"token_group":58,"text":",","start_char":66,"line":18},{"index_id":74,"token_group":59,"text":"stat","start_char":68,"line":18},{"index_id":75,"token_group":60,"text":"Cache","start_char":72,"line":18},{"index_id":76,"token_group":60,"text":")","start_char":77,"line":18},{"index_id":77,"token_group":61,"text":";","start_char":78,"line":18},{"index_id":78,"token_group":62,"text":"}","start_char":0,"line":19}],"tokens_list":["{","current","=","fs",".","make","Qualified","(","current",")",";","if","(","!","check","Public","Perms","For","All","(","fs",",","s","Stat",",","fs","Action",".","read","Execute",",","fs","Action",".","read",")",")","{","return","false",";","}","if","(","shell",".","windows","&&","fs","Instanceof","local","File","System",")","{","return","true",";","}","return","ancestors","Have","Execute","Permissions","(","fs",",","current",".","get","Parent","(",")",",","stat","Cache",")",";","}"],"uuid":"9d87ae0d147ead7a095267f39ec6b1d0"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","path","Address","<\/id>",".","<id>","path","Address","<\/id>","(","<id>","operation","<\/id>",".","<id>","require","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","op","Addr","<\/id>",")",")",";","}","<SENTENCE_END\/>"],"file_name":"Operations.java","formatted_lines":["{"," return PathAddress.pathAddress(operation.require("," ModelDescriptionConstants.OP_ADDR));","}"],"function_name":"getPathAddress","function_name_tokens":["get","path","address"],"id_body_hash":"00b7852a168435983e86c7bdde9bb62a","id_same_identifier_list":[0,1,2,3,3,4,5,5,6,7,8,9,10,11,11,11,12,13,13,14,15,16,17,18],"option_correct":"getPathAddress","options":["testSuspendAndActivate","getPathAddress","isOtherResourceAvailableThroughResourceEnvRef","getAddress","path","setActiveNamingStore","getPath"],"options_nlp":["test suspend and activate","get path address","is other resource available through resource env ref","get address","path","set active naming store","get path"],"options_random":["testSuspendAndActivate","setActiveNamingStore","isOtherResourceAvailableThroughResourceEnvRef"],"options_tfidf":["getAddress","getPath","path"],"project_name":"wildfly","source_code_string":"public static PathAddress getPathAddress(ModelNode operation) {\n return PathAddress.pathAddress(operation.require(ModelDescriptionConstants.OP_ADDR));\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":"path","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Address","start_char":15,"line":1},{"index_id":4,"token_group":3,"text":".","start_char":22,"line":1},{"index_id":5,"token_group":4,"text":"path","start_char":23,"line":1},{"index_id":6,"token_group":5,"text":"Address","start_char":27,"line":1},{"index_id":7,"token_group":5,"text":"(","start_char":34,"line":1},{"index_id":8,"token_group":6,"text":"operation","start_char":35,"line":1},{"index_id":9,"token_group":7,"text":".","start_char":44,"line":1},{"index_id":10,"token_group":8,"text":"require","start_char":45,"line":1},{"index_id":11,"token_group":9,"text":"(","start_char":52,"line":1},{"index_id":12,"token_group":10,"text":"model","start_char":39,"line":2},{"index_id":13,"token_group":11,"text":"Description","start_char":44,"line":2},{"index_id":14,"token_group":11,"text":"Constants","start_char":55,"line":2},{"index_id":15,"token_group":11,"text":".","start_char":64,"line":2},{"index_id":16,"token_group":12,"text":"op","start_char":65,"line":2},{"index_id":17,"token_group":13,"text":"Addr","start_char":68,"line":2},{"index_id":18,"token_group":13,"text":")","start_char":72,"line":2},{"index_id":19,"token_group":14,"text":")","start_char":73,"line":2},{"index_id":20,"token_group":15,"text":";","start_char":74,"line":2},{"index_id":21,"token_group":16,"text":"}","start_char":0,"line":3}],"tokens_list":["{","return","path","Address",".","path","Address","(","operation",".","require","(","model","Description","Constants",".","op","Addr",")",")",";","}"],"uuid":"2fcfae2d7c29c8b9ec62494cb7e1327a"},{"cap_original_tokens":["<SENTENCE_START>","{","final","<id>","psi","Type","<\/id>","<id>","type","<\/id>","=","<id>","parameter","<\/id>",".","<id>","get","Type","<\/id>","(",")",";","if","(","<id>","type","<\/id>","Instanceof","<id>","psi","Ellipsis","Type","<\/id>",")","{","return","(","(","<id>","psi","Ellipsis","Type","<\/id>",")","<id>","type","<\/id>",")",".","<id>","get","Component","Type","<\/id>","(",")",";","}","return","<id>","type","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"LambdaUtil.java","formatted_lines":["{"," final PsiType type = parameter.getType();"," if (type instanceof PsiEllipsisType)"," {"," return ((PsiEllipsisType)type).getComponentType();"," }"," return type;","}"],"function_name":"getNormalizedType","function_name_tokens":["get","normalized","type"],"id_body_hash":"1f9c2a398b993f8e1a0205544281bd09","id_same_identifier_list":[0,1,2,3,3,4,5,6,7,8,8,9,10,11,12,13,14,15,16,16,16,17,18,19,20,21,22,22,22,23,24,25,26,27,27,27,28,29,30,31,32,33,34,35,36],"option_correct":"getNormalizedType","options":["getType","checkForCommandExpressionSyntax","surround","getTestType","getNormalizedType","getProjectStructureContext","getNormalizedPath"],"options_nlp":["get type","check for command expression syntax","surround","get test type","get normalized type","get project structure context","get normalized path"],"options_random":["checkForCommandExpressionSyntax","surround","getProjectStructureContext"],"options_tfidf":["getType","getNormalizedPath","getTestType"],"project_name":"intellij-community","source_code_string":"private static PsiType getNormalizedType(PsiParameter parameter) {\n final PsiType type = parameter.getType();\n if (type instanceof PsiEllipsisType) {\n return ((PsiEllipsisType)type).getComponentType();\n }\n return type;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"final","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"psi","start_char":10,"line":1},{"index_id":3,"token_group":3,"text":"Type","start_char":13,"line":1},{"index_id":4,"token_group":3,"text":"type","start_char":18,"line":1},{"index_id":5,"token_group":4,"text":"=","start_char":23,"line":1},{"index_id":6,"token_group":5,"text":"parameter","start_char":25,"line":1},{"index_id":7,"token_group":6,"text":".","start_char":34,"line":1},{"index_id":8,"token_group":7,"text":"get","start_char":35,"line":1},{"index_id":9,"token_group":8,"text":"Type","start_char":38,"line":1},{"index_id":10,"token_group":8,"text":"(","start_char":42,"line":1},{"index_id":11,"token_group":9,"text":")","start_char":43,"line":1},{"index_id":12,"token_group":10,"text":";","start_char":44,"line":1},{"index_id":13,"token_group":11,"text":"if","start_char":4,"line":2},{"index_id":14,"token_group":12,"text":"(","start_char":7,"line":2},{"index_id":15,"token_group":13,"text":"type","start_char":8,"line":2},{"index_id":16,"token_group":14,"text":"Instanceof","start_char":13,"line":2},{"index_id":17,"token_group":15,"text":"psi","start_char":24,"line":2},{"index_id":18,"token_group":16,"text":"Ellipsis","start_char":27,"line":2},{"index_id":19,"token_group":16,"text":"Type","start_char":35,"line":2},{"index_id":20,"token_group":16,"text":")","start_char":39,"line":2},{"index_id":21,"token_group":17,"text":"{","start_char":4,"line":3},{"index_id":22,"token_group":18,"text":"return","start_char":8,"line":4},{"index_id":23,"token_group":19,"text":"(","start_char":15,"line":4},{"index_id":24,"token_group":20,"text":"(","start_char":16,"line":4},{"index_id":25,"token_group":21,"text":"psi","start_char":17,"line":4},{"index_id":26,"token_group":22,"text":"Ellipsis","start_char":20,"line":4},{"index_id":27,"token_group":22,"text":"Type","start_char":28,"line":4},{"index_id":28,"token_group":22,"text":")","start_char":32,"line":4},{"index_id":29,"token_group":23,"text":"type","start_char":33,"line":4},{"index_id":30,"token_group":24,"text":")","start_char":37,"line":4},{"index_id":31,"token_group":25,"text":".","start_char":38,"line":4},{"index_id":32,"token_group":26,"text":"get","start_char":39,"line":4},{"index_id":33,"token_group":27,"text":"Component","start_char":42,"line":4},{"index_id":34,"token_group":27,"text":"Type","start_char":51,"line":4},{"index_id":35,"token_group":27,"text":"(","start_char":55,"line":4},{"index_id":36,"token_group":28,"text":")","start_char":56,"line":4},{"index_id":37,"token_group":29,"text":";","start_char":57,"line":4},{"index_id":38,"token_group":30,"text":"}","start_char":4,"line":5},{"index_id":39,"token_group":31,"text":"return","start_char":4,"line":6},{"index_id":40,"token_group":32,"text":"type","start_char":11,"line":6},{"index_id":41,"token_group":33,"text":";","start_char":15,"line":6},{"index_id":42,"token_group":34,"text":"}","start_char":0,"line":7}],"tokens_list":["{","final","psi","Type","type","=","parameter",".","get","Type","(",")",";","if","(","type","Instanceof","psi","Ellipsis","Type",")","{","return","(","(","psi","Ellipsis","Type",")","type",")",".","get","Component","Type","(",")",";","}","return","type",";","}"],"uuid":"f48b5dc2d8f964b8ac6c89cc95fb357e"},{"cap_original_tokens":["<SENTENCE_START>","{","return","(","(","<id>","comparable","<\/id>",")","<id>","x","<\/id>",")",".","<id>","compare","To","<\/id>","(","<id>","y","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"AbstractType.java","formatted_lines":["{"," return ( (Comparable) x ).compareTo(y);","}"],"function_name":"compare","function_name_tokens":["compare"],"id_body_hash":"fbcac339c87012cec18ea5f7ebb2b558","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,10,11,12,13,14,15,16],"option_correct":"compare","options":["listEventsOfOrganizer","getValue","compare","forUnitTesting","mutateRowValueConstructorSyntax","getId","getReference"],"options_nlp":["list events of organizer","get value","compare","for unit testing","mutate row value constructor syntax","get id","get reference"],"options_random":["forUnitTesting","mutateRowValueConstructorSyntax","listEventsOfOrganizer"],"options_tfidf":["getId","getValue","getReference"],"project_name":"hibernate-orm","source_code_string":"public int compare(Object x, Object y) {\n\t\treturn ( (Comparable) x ).compareTo(y);\n\t}","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":"(","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"(","start_char":13,"line":1},{"index_id":4,"token_group":4,"text":"comparable","start_char":14,"line":1},{"index_id":5,"token_group":5,"text":")","start_char":24,"line":1},{"index_id":6,"token_group":6,"text":"x","start_char":26,"line":1},{"index_id":7,"token_group":7,"text":")","start_char":28,"line":1},{"index_id":8,"token_group":8,"text":".","start_char":29,"line":1},{"index_id":9,"token_group":9,"text":"compare","start_char":30,"line":1},{"index_id":10,"token_group":10,"text":"To","start_char":37,"line":1},{"index_id":11,"token_group":10,"text":"(","start_char":39,"line":1},{"index_id":12,"token_group":11,"text":"y","start_char":40,"line":1},{"index_id":13,"token_group":12,"text":")","start_char":41,"line":1},{"index_id":14,"token_group":13,"text":";","start_char":42,"line":1},{"index_id":15,"token_group":14,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","(","(","comparable",")","x",")",".","compare","To","(","y",")",";","}"],"uuid":"fd6b22e11c52e324a0e091877cb979b2"},{"cap_original_tokens":["<SENTENCE_START>","{","if","(","<id>","query","<\/id>","!=","null","&&","<id>","query","<\/id>",".","<id>","length","<\/id>","(",")",">","0",")","{","<id>","conf","<\/id>",".","<id>","set","<\/id>","(","<id>","db","Configuration","<\/id>",".","<id>","input","Query","<\/id>",",","<id>","query","<\/id>",")",";","}","}","<SENTENCE_END\/>"],"file_name":"DBConfiguration.java","formatted_lines":["{"," if(query != null && query.length() > 0)"," {"," conf.set(DBConfiguration.INPUT_QUERY, query);"," }","}"],"function_name":"setInputQuery","function_name_tokens":["set","input","query"],"id_body_hash":"902081789abd093a0439171ff5e9f650","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,21,22,23,23,24,25,26,27,28,29,30],"option_correct":"setInputQuery","options":["setInputCountQuery","mockAppAttempt","setInputBoundingQuery","testJobIdDefault","setInputQuery","build","setBoundingQuery"],"options_nlp":["set input count query","mock app attempt","set input bounding query","test job id default","set input query","build","set bounding query"],"options_random":["build","mockAppAttempt","testJobIdDefault"],"options_tfidf":["setInputCountQuery","setBoundingQuery","setInputBoundingQuery"],"project_name":"hadoop-common","source_code_string":"public void setInputQuery(String query) {\n if(query != null && query.length() >0) {\n conf.set(DBConfiguration.INPUT_QUERY, query);\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":6,"line":1},{"index_id":3,"token_group":3,"text":"query","start_char":7,"line":1},{"index_id":4,"token_group":4,"text":"!=","start_char":13,"line":1},{"index_id":5,"token_group":5,"text":"null","start_char":16,"line":1},{"index_id":6,"token_group":6,"text":"&&","start_char":21,"line":1},{"index_id":7,"token_group":7,"text":"query","start_char":24,"line":1},{"index_id":8,"token_group":8,"text":".","start_char":29,"line":1},{"index_id":9,"token_group":9,"text":"length","start_char":30,"line":1},{"index_id":10,"token_group":10,"text":"(","start_char":36,"line":1},{"index_id":11,"token_group":11,"text":")","start_char":37,"line":1},{"index_id":12,"token_group":12,"text":">","start_char":39,"line":1},{"index_id":13,"token_group":13,"text":"0","start_char":41,"line":1},{"index_id":14,"token_group":14,"text":")","start_char":42,"line":1},{"index_id":15,"token_group":15,"text":"{","start_char":4,"line":2},{"index_id":16,"token_group":16,"text":"conf","start_char":8,"line":3},{"index_id":17,"token_group":17,"text":".","start_char":12,"line":3},{"index_id":18,"token_group":18,"text":"set","start_char":13,"line":3},{"index_id":19,"token_group":19,"text":"(","start_char":16,"line":3},{"index_id":20,"token_group":20,"text":"db","start_char":17,"line":3},{"index_id":21,"token_group":21,"text":"Configuration","start_char":19,"line":3},{"index_id":22,"token_group":21,"text":".","start_char":32,"line":3},{"index_id":23,"token_group":22,"text":"input","start_char":33,"line":3},{"index_id":24,"token_group":23,"text":"Query","start_char":39,"line":3},{"index_id":25,"token_group":23,"text":",","start_char":44,"line":3},{"index_id":26,"token_group":24,"text":"query","start_char":46,"line":3},{"index_id":27,"token_group":25,"text":")","start_char":51,"line":3},{"index_id":28,"token_group":26,"text":";","start_char":52,"line":3},{"index_id":29,"token_group":27,"text":"}","start_char":4,"line":4},{"index_id":30,"token_group":28,"text":"}","start_char":0,"line":5}],"tokens_list":["{","if","(","query","!=","null","&&","query",".","length","(",")",">","0",")","{","conf",".","set","(","db","Configuration",".","input","Query",",","query",")",";","}","}"],"uuid":"fff2516d0ee049c1982eb821c429c564"},{"cap_original_tokens":["<SENTENCE_START>","{","class","<id>","widening","Primitive","Conversion","<\/id>","{","public","int","<id>","get","X","<\/id>","(","long","<id>","i","<\/id>",")","{","return","10",";","}","}","final","<id>","integer","<\/id>","<id>","integer","Value","<\/id>","=","<id>","integer","<\/id>",".","<id>","value","Of","<\/id>","(","7",")",";","<id>","widening","Primitive","Conversion","<\/id>","<id>","target","<\/id>","=","new","<id>","widening","Primitive","Conversion","<\/id>","(",")",";","<id>","evaluation","Context","<\/id>","<id>","empty","Eval","Context","<\/id>","=","new","<id>","standard","Evaluation","Context","<\/id>","(",")",";","<id>","list","<\/id>","<","<id>","type","Descriptor","<\/id>",">","<id>","args","<\/id>","=","new","<id>","array","List","<\/id>","<","<id>","type","Descriptor","<\/id>",">","(",")",";","<id>","args","<\/id>",".","<id>","add","<\/id>","(","<id>","type","Descriptor","<\/id>",".","<id>","for","Object","<\/id>","(","<id>","integer","Value","<\/id>",")",")",";","<id>","method","Executor","<\/id>","<id>","me","<\/id>","=","new","<id>","reflective","Method","Resolver","<\/id>","(","true",")",".","<id>","resolve","<\/id>","(","<id>","empty","Eval","Context","<\/id>",",","<id>","target","<\/id>",",","\"getX\"",",","<id>","args","<\/id>",")",";","final","int","<id>","actual","<\/id>","=","(","<id>","integer","<\/id>",")","<id>","me","<\/id>",".","<id>","execute","<\/id>","(","<id>","empty","Eval","Context","<\/id>",",","<id>","target","<\/id>",",","<id>","integer","Value","<\/id>",")",".","<id>","get","Value","<\/id>","(",")",";","final","int","<id>","compiler","<\/id>","=","<id>","target","<\/id>",".","<id>","get","X","<\/id>","(","<id>","integer","Value","<\/id>",")",";","<id>","assert","Equals","<\/id>","(","<id>","compiler","<\/id>",",","<id>","actual","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"SpelReproTests.java","formatted_lines":["{",""," class WideningPrimitiveConversion {"," public int getX(long i)"," {"," return 10;"," }"," }",""," final Integer INTEGER_VALUE = Integer.valueOf(7);"," WideningPrimitiveConversion target = new WideningPrimitiveConversion();"," EvaluationContext emptyEvalContext = new StandardEvaluationContext();",""," List<TypeDescriptor> args = new ArrayList<TypeDescriptor>();"," args.add(TypeDescriptor.forObject(INTEGER_VALUE));",""," MethodExecutor me = new ReflectiveMethodResolver(true).resolve(emptyEvalContext, target, \"getX\", args);"," final int actual = (Integer) me.execute(emptyEvalContext, target, INTEGER_VALUE).getValue();",""," final int compiler = target.getX(INTEGER_VALUE);"," assertEquals(compiler, actual);","}"],"function_name":"wideningPrimitiveConversion_8224","function_name_tokens":["widening","primitive","conversion","8224"],"id_body_hash":"4091536b33a1f330d3fa483432e3412d","id_same_identifier_list":[0,1,2,3,3,3,4,5,6,7,7,8,9,10,11,12,13,14,15,16,17,18,19,20,20,21,22,23,24,24,25,26,27,28,29,29,29,30,31,32,33,33,33,34,35,36,37,37,38,38,38,39,40,41,41,41,42,43,44,45,46,47,47,48,49,50,51,52,52,53,54,54,55,56,57,58,59,60,61,62,63,63,64,65,65,66,67,67,68,69,70,71,71,72,73,74,75,75,75,76,77,78,79,80,81,82,82,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,102,102,103,104,105,106,106,107,108,109,109,110,111,112,113,114,115,116,117,118,119,119,120,121,121,122,123,124,124,125,126,127,128,129,130,131,132],"option_correct":"wideningPrimitiveConversion_8224","options":["setHeartbeatValue","valueOf","primitiveDouble","getImplicitFrame","primitiveBoolean","conversionPriority_8224","wideningPrimitiveConversion_8224"],"options_nlp":["set heartbeat value","value of","primitive double","get implicit frame","primitive boolean","conversion priority 8224","widening primitive conversion 8224"],"options_random":["setHeartbeatValue","getImplicitFrame","valueOf"],"options_tfidf":["conversionPriority_8224","primitiveDouble","primitiveBoolean"],"project_name":"spring-framework","source_code_string":"@Test\n\tpublic void wideningPrimitiveConversion_8224() throws Exception {\n\n\t\tclass WideningPrimitiveConversion {\n\t\t\tpublic int getX(long i) {\n\t\t\t\treturn 10;\n\t\t\t}\n\t\t}\n\n\t\tfinal Integer INTEGER_VALUE = Integer.valueOf(7);\n\t\tWideningPrimitiveConversion target = new WideningPrimitiveConversion();\n\t\tEvaluationContext emptyEvalContext = new StandardEvaluationContext();\n\n\t\tList<TypeDescriptor> args = new ArrayList<TypeDescriptor>();\n\t\targs.add(TypeDescriptor.forObject(INTEGER_VALUE));\n\n\t\tMethodExecutor me = new ReflectiveMethodResolver(true).resolve(emptyEvalContext, target, \"getX\", args);\n\t\tfinal int actual = (Integer) me.execute(emptyEvalContext, target, INTEGER_VALUE).getValue();\n\n\t\tfinal int compiler = target.getX(INTEGER_VALUE);\n\t\tassertEquals(compiler, actual);\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"class","start_char":4,"line":2},{"index_id":2,"token_group":2,"text":"widening","start_char":10,"line":2},{"index_id":3,"token_group":3,"text":"Primitive","start_char":18,"line":2},{"index_id":4,"token_group":3,"text":"Conversion","start_char":27,"line":2},{"index_id":5,"token_group":3,"text":"{","start_char":38,"line":2},{"index_id":6,"token_group":4,"text":"public","start_char":8,"line":3},{"index_id":7,"token_group":5,"text":"int","start_char":15,"line":3},{"index_id":8,"token_group":6,"text":"get","start_char":19,"line":3},{"index_id":9,"token_group":7,"text":"X","start_char":22,"line":3},{"index_id":10,"token_group":7,"text":"(","start_char":23,"line":3},{"index_id":11,"token_group":8,"text":"long","start_char":24,"line":3},{"index_id":12,"token_group":9,"text":"i","start_char":29,"line":3},{"index_id":13,"token_group":10,"text":")","start_char":30,"line":3},{"index_id":14,"token_group":11,"text":"{","start_char":8,"line":4},{"index_id":15,"token_group":12,"text":"return","start_char":12,"line":5},{"index_id":16,"token_group":13,"text":"10","start_char":19,"line":5},{"index_id":17,"token_group":14,"text":";","start_char":21,"line":5},{"index_id":18,"token_group":15,"text":"}","start_char":8,"line":6},{"index_id":19,"token_group":16,"text":"}","start_char":4,"line":7},{"index_id":20,"token_group":17,"text":"final","start_char":4,"line":9},{"index_id":21,"token_group":18,"text":"integer","start_char":10,"line":9},{"index_id":22,"token_group":19,"text":"integer","start_char":18,"line":9},{"index_id":23,"token_group":20,"text":"Value","start_char":26,"line":9},{"index_id":24,"token_group":20,"text":"=","start_char":32,"line":9},{"index_id":25,"token_group":21,"text":"integer","start_char":34,"line":9},{"index_id":26,"token_group":22,"text":".","start_char":41,"line":9},{"index_id":27,"token_group":23,"text":"value","start_char":42,"line":9},{"index_id":28,"token_group":24,"text":"Of","start_char":47,"line":9},{"index_id":29,"token_group":24,"text":"(","start_char":49,"line":9},{"index_id":30,"token_group":25,"text":"7","start_char":50,"line":9},{"index_id":31,"token_group":26,"text":")","start_char":51,"line":9},{"index_id":32,"token_group":27,"text":";","start_char":52,"line":9},{"index_id":33,"token_group":28,"text":"widening","start_char":4,"line":10},{"index_id":34,"token_group":29,"text":"Primitive","start_char":12,"line":10},{"index_id":35,"token_group":29,"text":"Conversion","start_char":21,"line":10},{"index_id":36,"token_group":29,"text":"target","start_char":32,"line":10},{"index_id":37,"token_group":30,"text":"=","start_char":39,"line":10},{"index_id":38,"token_group":31,"text":"new","start_char":41,"line":10},{"index_id":39,"token_group":32,"text":"widening","start_char":45,"line":10},{"index_id":40,"token_group":33,"text":"Primitive","start_char":53,"line":10},{"index_id":41,"token_group":33,"text":"Conversion","start_char":62,"line":10},{"index_id":42,"token_group":33,"text":"(","start_char":72,"line":10},{"index_id":43,"token_group":34,"text":")","start_char":73,"line":10},{"index_id":44,"token_group":35,"text":";","start_char":74,"line":10},{"index_id":45,"token_group":36,"text":"evaluation","start_char":4,"line":11},{"index_id":46,"token_group":37,"text":"Context","start_char":14,"line":11},{"index_id":47,"token_group":37,"text":"empty","start_char":22,"line":11},{"index_id":48,"token_group":38,"text":"Eval","start_char":27,"line":11},{"index_id":49,"token_group":38,"text":"Context","start_char":31,"line":11},{"index_id":50,"token_group":38,"text":"=","start_char":39,"line":11},{"index_id":51,"token_group":39,"text":"new","start_char":41,"line":11},{"index_id":52,"token_group":40,"text":"standard","start_char":45,"line":11},{"index_id":53,"token_group":41,"text":"Evaluation","start_char":53,"line":11},{"index_id":54,"token_group":41,"text":"Context","start_char":63,"line":11},{"index_id":55,"token_group":41,"text":"(","start_char":70,"line":11},{"index_id":56,"token_group":42,"text":")","start_char":71,"line":11},{"index_id":57,"token_group":43,"text":";","start_char":72,"line":11},{"index_id":58,"token_group":44,"text":"list","start_char":4,"line":13},{"index_id":59,"token_group":45,"text":"<","start_char":8,"line":13},{"index_id":60,"token_group":46,"text":"type","start_char":9,"line":13},{"index_id":61,"token_group":47,"text":"Descriptor","start_char":13,"line":13},{"index_id":62,"token_group":47,"text":">","start_char":23,"line":13},{"index_id":63,"token_group":48,"text":"args","start_char":25,"line":13},{"index_id":64,"token_group":49,"text":"=","start_char":30,"line":13},{"index_id":65,"token_group":50,"text":"new","start_char":32,"line":13},{"index_id":66,"token_group":51,"text":"array","start_char":36,"line":13},{"index_id":67,"token_group":52,"text":"List","start_char":41,"line":13},{"index_id":68,"token_group":52,"text":"<","start_char":45,"line":13},{"index_id":69,"token_group":53,"text":"type","start_char":46,"line":13},{"index_id":70,"token_group":54,"text":"Descriptor","start_char":50,"line":13},{"index_id":71,"token_group":54,"text":">","start_char":60,"line":13},{"index_id":72,"token_group":55,"text":"(","start_char":61,"line":13},{"index_id":73,"token_group":56,"text":")","start_char":62,"line":13},{"index_id":74,"token_group":57,"text":";","start_char":63,"line":13},{"index_id":75,"token_group":58,"text":"args","start_char":4,"line":14},{"index_id":76,"token_group":59,"text":".","start_char":8,"line":14},{"index_id":77,"token_group":60,"text":"add","start_char":9,"line":14},{"index_id":78,"token_group":61,"text":"(","start_char":12,"line":14},{"index_id":79,"token_group":62,"text":"type","start_char":13,"line":14},{"index_id":80,"token_group":63,"text":"Descriptor","start_char":17,"line":14},{"index_id":81,"token_group":63,"text":".","start_char":27,"line":14},{"index_id":82,"token_group":64,"text":"for","start_char":28,"line":14},{"index_id":83,"token_group":65,"text":"Object","start_char":31,"line":14},{"index_id":84,"token_group":65,"text":"(","start_char":37,"line":14},{"index_id":85,"token_group":66,"text":"integer","start_char":38,"line":14},{"index_id":86,"token_group":67,"text":"Value","start_char":46,"line":14},{"index_id":87,"token_group":67,"text":")","start_char":51,"line":14},{"index_id":88,"token_group":68,"text":")","start_char":52,"line":14},{"index_id":89,"token_group":69,"text":";","start_char":53,"line":14},{"index_id":90,"token_group":70,"text":"method","start_char":4,"line":16},{"index_id":91,"token_group":71,"text":"Executor","start_char":10,"line":16},{"index_id":92,"token_group":71,"text":"me","start_char":19,"line":16},{"index_id":93,"token_group":72,"text":"=","start_char":22,"line":16},{"index_id":94,"token_group":73,"text":"new","start_char":24,"line":16},{"index_id":95,"token_group":74,"text":"reflective","start_char":28,"line":16},{"index_id":96,"token_group":75,"text":"Method","start_char":38,"line":16},{"index_id":97,"token_group":75,"text":"Resolver","start_char":44,"line":16},{"index_id":98,"token_group":75,"text":"(","start_char":52,"line":16},{"index_id":99,"token_group":76,"text":"true","start_char":53,"line":16},{"index_id":100,"token_group":77,"text":")","start_char":57,"line":16},{"index_id":101,"token_group":78,"text":".","start_char":58,"line":16},{"index_id":102,"token_group":79,"text":"resolve","start_char":59,"line":16},{"index_id":103,"token_group":80,"text":"(","start_char":66,"line":16},{"index_id":104,"token_group":81,"text":"empty","start_char":67,"line":16},{"index_id":105,"token_group":82,"text":"Eval","start_char":72,"line":16},{"index_id":106,"token_group":82,"text":"Context","start_char":76,"line":16},{"index_id":107,"token_group":82,"text":",","start_char":83,"line":16},{"index_id":108,"token_group":83,"text":"target","start_char":85,"line":16},{"index_id":109,"token_group":84,"text":",","start_char":91,"line":16},{"index_id":110,"token_group":85,"text":"\"getX\"","start_char":93,"line":16},{"index_id":111,"token_group":86,"text":",","start_char":99,"line":16},{"index_id":112,"token_group":87,"text":"args","start_char":101,"line":16},{"index_id":113,"token_group":88,"text":")","start_char":105,"line":16},{"index_id":114,"token_group":89,"text":";","start_char":106,"line":16},{"index_id":115,"token_group":90,"text":"final","start_char":4,"line":17},{"index_id":116,"token_group":91,"text":"int","start_char":10,"line":17},{"index_id":117,"token_group":92,"text":"actual","start_char":14,"line":17},{"index_id":118,"token_group":93,"text":"=","start_char":21,"line":17},{"index_id":119,"token_group":94,"text":"(","start_char":23,"line":17},{"index_id":120,"token_group":95,"text":"integer","start_char":24,"line":17},{"index_id":121,"token_group":96,"text":")","start_char":31,"line":17},{"index_id":122,"token_group":97,"text":"me","start_char":33,"line":17},{"index_id":123,"token_group":98,"text":".","start_char":35,"line":17},{"index_id":124,"token_group":99,"text":"execute","start_char":36,"line":17},{"index_id":125,"token_group":100,"text":"(","start_char":43,"line":17},{"index_id":126,"token_group":101,"text":"empty","start_char":44,"line":17},{"index_id":127,"token_group":102,"text":"Eval","start_char":49,"line":17},{"index_id":128,"token_group":102,"text":"Context","start_char":53,"line":17},{"index_id":129,"token_group":102,"text":",","start_char":60,"line":17},{"index_id":130,"token_group":103,"text":"target","start_char":62,"line":17},{"index_id":131,"token_group":104,"text":",","start_char":68,"line":17},{"index_id":132,"token_group":105,"text":"integer","start_char":70,"line":17},{"index_id":133,"token_group":106,"text":"Value","start_char":78,"line":17},{"index_id":134,"token_group":106,"text":")","start_char":83,"line":17},{"index_id":135,"token_group":107,"text":".","start_char":84,"line":17},{"index_id":136,"token_group":108,"text":"get","start_char":85,"line":17},{"index_id":137,"token_group":109,"text":"Value","start_char":88,"line":17},{"index_id":138,"token_group":109,"text":"(","start_char":93,"line":17},{"index_id":139,"token_group":110,"text":")","start_char":94,"line":17},{"index_id":140,"token_group":111,"text":";","start_char":95,"line":17},{"index_id":141,"token_group":112,"text":"final","start_char":4,"line":19},{"index_id":142,"token_group":113,"text":"int","start_char":10,"line":19},{"index_id":143,"token_group":114,"text":"compiler","start_char":14,"line":19},{"index_id":144,"token_group":115,"text":"=","start_char":23,"line":19},{"index_id":145,"token_group":116,"text":"target","start_char":25,"line":19},{"index_id":146,"token_group":117,"text":".","start_char":31,"line":19},{"index_id":147,"token_group":118,"text":"get","start_char":32,"line":19},{"index_id":148,"token_group":119,"text":"X","start_char":35,"line":19},{"index_id":149,"token_group":119,"text":"(","start_char":36,"line":19},{"index_id":150,"token_group":120,"text":"integer","start_char":37,"line":19},{"index_id":151,"token_group":121,"text":"Value","start_char":45,"line":19},{"index_id":152,"token_group":121,"text":")","start_char":50,"line":19},{"index_id":153,"token_group":122,"text":";","start_char":51,"line":19},{"index_id":154,"token_group":123,"text":"assert","start_char":4,"line":20},{"index_id":155,"token_group":124,"text":"Equals","start_char":10,"line":20},{"index_id":156,"token_group":124,"text":"(","start_char":16,"line":20},{"index_id":157,"token_group":125,"text":"compiler","start_char":17,"line":20},{"index_id":158,"token_group":126,"text":",","start_char":25,"line":20},{"index_id":159,"token_group":127,"text":"actual","start_char":27,"line":20},{"index_id":160,"token_group":128,"text":")","start_char":33,"line":20},{"index_id":161,"token_group":129,"text":";","start_char":34,"line":20},{"index_id":162,"token_group":130,"text":"}","start_char":0,"line":21}],"tokens_list":["{","class","widening","Primitive","Conversion","{","public","int","get","X","(","long","i",")","{","return","10",";","}","}","final","integer","integer","Value","=","integer",".","value","Of","(","7",")",";","widening","Primitive","Conversion","target","=","new","widening","Primitive","Conversion","(",")",";","evaluation","Context","empty","Eval","Context","=","new","standard","Evaluation","Context","(",")",";","list","<","type","Descriptor",">","args","=","new","array","List","<","type","Descriptor",">","(",")",";","args",".","add","(","type","Descriptor",".","for","Object","(","integer","Value",")",")",";","method","Executor","me","=","new","reflective","Method","Resolver","(","true",")",".","resolve","(","empty","Eval","Context",",","target",",","\"getX\"",",","args",")",";","final","int","actual","=","(","integer",")","me",".","execute","(","empty","Eval","Context",",","target",",","integer","Value",")",".","get","Value","(",")",";","final","int","compiler","=","target",".","get","X","(","integer","Value",")",";","assert","Equals","(","compiler",",","actual",")",";","}"],"uuid":"cf37761d7ca13bc7a8dd70fe7e4d3bed"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","column","Specification","<\/id>","<id>","receiver","<\/id>","=","<id>","column","Def","<\/id>",";","<id>","check","False","<\/id>","(","!","<id>","column","Def","<\/id>",".","<id>","is","Primary","Key","Column","<\/id>","(",")","&&","<id>","is","Dense","<\/id>",",","\"Predicates on the non-primary-key column (%s) of a COMPACT table are not yet supported\"",",","<id>","column","Def","<\/id>",".","<id>","name","<\/id>",")",";","if","(","<id>","is","In","<\/id>","(",")",")","{","<id>","check","False","<\/id>","(","!","<id>","column","Def","<\/id>",".","<id>","is","Primary","Key","Column","<\/id>","(",")","&&","!","<id>","can","Have","Only","One","Value","<\/id>","(",")",",","\"IN predicates on non-primary-key columns (%s) is not yet supported\"",",","<id>","column","Def","<\/id>",".","<id>","name","<\/id>",")",";","}","else","if","(","<id>","is","Slice","<\/id>","(",")",")","{","<id>","check","False","<\/id>","(","<id>","column","Def","<\/id>",".","<id>","is","Partition","Key","<\/id>","(",")",",","\"Only EQ and IN relation are supported on the partition key (unless you use the token() function)\"",")",";","}","<id>","check","False","<\/id>","(","<id>","is","Contains","Key","<\/id>","(",")","&&","!","(","<id>","receiver","<\/id>",".","<id>","type","<\/id>","Instanceof","<id>","map","Type","<\/id>",")",",","\"Cannot use CONTAINS KEY on non-map column %s\"",",","<id>","receiver","<\/id>",".","<id>","name","<\/id>",")",";","<id>","check","False","<\/id>","(","<id>","is","Contains","<\/id>","(",")","&&","!","(","<id>","receiver","<\/id>",".","<id>","type","<\/id>",".","<id>","is","Collection","<\/id>","(",")",")",",","\"Cannot use CONTAINS on non-collection column %s\"",",","<id>","receiver","<\/id>",".","<id>","name","<\/id>",")",";","if","(","<id>","map","Key","<\/id>","!=","null",")","{","<id>","check","False","<\/id>","(","<id>","receiver","<\/id>",".","<id>","type","<\/id>","Instanceof","<id>","list","Type","<\/id>",",","\"Indexes on list entries (%s[index] = value) are not currently supported.\"",",","<id>","receiver","<\/id>",".","<id>","name","<\/id>",")",";","<id>","check","True","<\/id>","(","<id>","receiver","<\/id>",".","<id>","type","<\/id>","Instanceof","<id>","map","Type","<\/id>",",","\"Column %s cannot be used as a map\"",",","<id>","receiver","<\/id>",".","<id>","name","<\/id>",")",";","<id>","check","True","<\/id>","(","<id>","receiver","<\/id>",".","<id>","type","<\/id>",".","<id>","is","Multi","Cell","<\/id>","(",")",",","\"Map-entry equality predicates on frozen map column %s are not supported\"",",","<id>","receiver","<\/id>",".","<id>","name","<\/id>",")",";","<id>","check","True","<\/id>","(","<id>","is","Eq","<\/id>","(",")",",","\"Only EQ relations are supported on map entries\"",")",";","}","if","(","<id>","receiver","<\/id>",".","<id>","type","<\/id>",".","<id>","is","Collection","<\/id>","(",")",")","{","<id>","check","False","<\/id>","(","<id>","receiver","<\/id>",".","<id>","type","<\/id>",".","<id>","is","Multi","Cell","<\/id>","(",")","&&","!","<id>","is","Legal","Relation","For","Non","Frozen","Collection","<\/id>","(",")",",","\"Collection column '%s' (%s) cannot be restricted by a '%s' relation\"",",","<id>","receiver","<\/id>",".","<id>","name","<\/id>",",","<id>","receiver","<\/id>",".","<id>","type","<\/id>",".","<id>","as","Cql","3","Type","<\/id>","(",")",",","<id>","operator","<\/id>","(",")",")",";","if","(","<id>","is","Contains","Key","<\/id>","(",")","||","<id>","is","Contains","<\/id>","(",")",")","{","<id>","receiver","<\/id>","=","<id>","make","Collection","Receiver","<\/id>","(","<id>","receiver","<\/id>",",","<id>","is","Contains","Key","<\/id>","(",")",")",";","}","else","if","(","<id>","receiver","<\/id>",".","<id>","type","<\/id>",".","<id>","is","Multi","Cell","<\/id>","(",")","&&","<id>","map","Key","<\/id>","!=","null","&&","<id>","is","Eq","<\/id>","(",")",")","{","<id>","list","<\/id>","<","<id>","column","Specification","<\/id>",">","<id>","receivers","<\/id>","=","new","<id>","array","List","<\/id>","<",">","(","2",")",";","<id>","receivers","<\/id>",".","<id>","add","<\/id>","(","<id>","make","Collection","Receiver","<\/id>","(","<id>","receiver","<\/id>",",","true",")",")",";","<id>","receivers","<\/id>",".","<id>","add","<\/id>","(","<id>","make","Collection","Receiver","<\/id>","(","<id>","receiver","<\/id>",",","false",")",")",";","return","<id>","receivers","<\/id>",";","}","}","return","<id>","collections","<\/id>",".","<id>","singleton","List","<\/id>","(","<id>","receiver","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"SingleColumnRelation.java","formatted_lines":["{"," ColumnSpecification receiver = columnDef;",""," checkFalse(!columnDef.isPrimaryKeyColumn() && isDense,"," \"Predicates on the non-primary-key column (%s) of a COMPACT table are not yet supported\","," columnDef.name);",""," if (isIN())"," {","","","",""," checkFalse(!columnDef.isPrimaryKeyColumn() && !canHaveOnlyOneValue(),"," \"IN predicates on non-primary-key columns (%s) is not yet supported\","," columnDef.name);"," }"," else if (isSlice())"," {","","","","","","",""," checkFalse(columnDef.isPartitionKey(),"," \"Only EQ and IN relation are supported on the partition key (unless you use the token() function)\");"," }",""," checkFalse(isContainsKey() && !(receiver.type instanceof MapType), \"Cannot use CONTAINS KEY on non-map column %s\", receiver.name);"," checkFalse(isContains() && !(receiver.type.isCollection()), \"Cannot use CONTAINS on non-collection column %s\", receiver.name);",""," if (mapKey != null)"," {"," checkFalse(receiver.type instanceof ListType,"," \"Indexes on list entries (%s[index] = value) are not currently supported.\","," receiver.name);"," checkTrue(receiver.type instanceof MapType, \"Column %s cannot be used as a map\","," receiver.name);"," checkTrue(receiver.type.isMultiCell(),"," \"Map-entry equality predicates on frozen map column %s are not supported\","," receiver.name);"," checkTrue(isEQ(), \"Only EQ relations are supported on map entries\");"," }",""," if (receiver.type.isCollection())"," {",""," checkFalse(receiver.type.isMultiCell() &&"," !isLegalRelationForNonFrozenCollection(),"," \"Collection column '%s' (%s) cannot be restricted by a '%s' relation\","," receiver.name,"," receiver.type.asCQL3Type(),"," operator());",""," if (isContainsKey() || isContains())"," {"," receiver = makeCollectionReceiver(receiver, isContainsKey());"," }"," else if (receiver.type.isMultiCell() && mapKey != null && isEQ())"," {"," List<ColumnSpecification> receivers = new ArrayList<>(2);"," receivers.add(makeCollectionReceiver(receiver, true));"," receivers.add(makeCollectionReceiver(receiver, false));"," return receivers;"," }"," }",""," return Collections.singletonList(receiver);","}"],"function_name":"toReceivers","function_name_tokens":["to","receivers"],"id_body_hash":"bedea6f1bbe9a732365c11fb12acf2c5","id_same_identifier_list":[0,1,2,2,3,4,5,5,6,7,7,8,9,10,10,11,12,12,12,12,13,14,15,16,16,17,18,19,20,20,21,22,23,24,25,26,27,27,28,29,30,31,32,32,33,34,35,35,36,37,37,37,37,38,39,40,41,42,42,42,42,42,43,44,45,46,47,48,48,49,50,51,52,53,54,55,56,57,57,58,59,60,61,62,62,63,64,64,65,66,66,66,67,68,69,70,71,72,73,74,74,75,76,76,76,77,78,79,80,81,82,83,84,85,86,86,87,88,89,90,91,92,93,94,95,96,96,97,98,98,99,100,101,102,103,104,105,106,107,108,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,122,123,124,125,126,127,127,128,129,130,131,132,133,133,134,135,136,137,138,139,140,141,142,142,143,144,145,146,147,148,148,149,150,151,152,153,154,155,156,157,157,158,159,160,161,162,163,163,163,164,165,166,167,168,169,170,171,172,173,174,174,175,176,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,190,191,192,193,194,195,195,196,197,198,199,200,201,201,201,202,203,204,205,206,206,206,206,206,206,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,220,220,220,221,222,223,224,225,226,227,228,229,230,231,231,231,232,233,234,235,235,236,237,238,239,240,241,242,242,242,243,244,245,246,246,246,247,248,249,250,251,252,253,254,255,256,257,258,259,259,259,260,261,262,263,263,264,265,266,267,267,268,269,270,271,272,273,274,274,275,276,277,278,279,279,280,281,282,283,284,285,286,287,288,289,290,290,290,291,292,293,294,295,296,297,298,299,300,301,302,302,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,318,319,320,321,322,323,324],"option_correct":"toReceivers","options":["addTo","writeColumnFamily","toReceivers","toString","rotl64","isSetTimestamp","toType"],"options_nlp":["add to","write column family","to receivers","to string","rotl 64","is set timestamp","to type"],"options_random":["isSetTimestamp","writeColumnFamily","rotl64"],"options_tfidf":["addTo","toString","toType"],"project_name":"cassandra","source_code_string":"private List<? extends ColumnSpecification> toReceivers(ColumnDefinition columnDef, boolean isDense) throws InvalidRequestException\n {\n ColumnSpecification receiver = columnDef;\n\n checkFalse(!columnDef.isPrimaryKeyColumn() && isDense,\n \"Predicates on the non-primary-key column (%s) of a COMPACT table are not yet supported\",\n columnDef.name);\n\n if (isIN())\n {\n \n \n \n \n checkFalse(!columnDef.isPrimaryKeyColumn() && !canHaveOnlyOneValue(),\n \"IN predicates on non-primary-key columns (%s) is not yet supported\", columnDef.name);\n }\n else if (isSlice())\n {\n \n \n \n \n \n \n \n checkFalse(columnDef.isPartitionKey(), \"Only EQ and IN relation are supported on the partition key (unless you use the token() function)\");\n }\n\n checkFalse(isContainsKey() && !(receiver.type instanceof MapType), \"Cannot use CONTAINS KEY on non-map column %s\", receiver.name);\n checkFalse(isContains() && !(receiver.type.isCollection()), \"Cannot use CONTAINS on non-collection column %s\", receiver.name);\n\n if (mapKey != null)\n {\n checkFalse(receiver.type instanceof ListType, \"Indexes on list entries (%s[index] = value) are not currently supported.\", receiver.name);\n checkTrue(receiver.type instanceof MapType, \"Column %s cannot be used as a map\", receiver.name);\n checkTrue(receiver.type.isMultiCell(), \"Map-entry equality predicates on frozen map column %s are not supported\", receiver.name);\n checkTrue(isEQ(), \"Only EQ relations are supported on map entries\");\n }\n\n if (receiver.type.isCollection())\n {\n \n checkFalse(receiver.type.isMultiCell() && !isLegalRelationForNonFrozenCollection(),\n \"Collection column '%s' (%s) cannot be restricted by a '%s' relation\",\n receiver.name,\n receiver.type.asCQL3Type(),\n operator());\n\n if (isContainsKey() || isContains())\n {\n receiver = makeCollectionReceiver(receiver, isContainsKey());\n }\n else if (receiver.type.isMultiCell() && mapKey != null && isEQ())\n {\n List<ColumnSpecification> receivers = new ArrayList<>(2);\n receivers.add(makeCollectionReceiver(receiver, true));\n receivers.add(makeCollectionReceiver(receiver, false));\n return receivers;\n }\n }\n\n return Collections.singletonList(receiver);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"column","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Specification","start_char":10,"line":1},{"index_id":3,"token_group":2,"text":"receiver","start_char":24,"line":1},{"index_id":4,"token_group":3,"text":"=","start_char":33,"line":1},{"index_id":5,"token_group":4,"text":"column","start_char":35,"line":1},{"index_id":6,"token_group":5,"text":"Def","start_char":41,"line":1},{"index_id":7,"token_group":5,"text":";","start_char":44,"line":1},{"index_id":8,"token_group":6,"text":"check","start_char":4,"line":3},{"index_id":9,"token_group":7,"text":"False","start_char":9,"line":3},{"index_id":10,"token_group":7,"text":"(","start_char":14,"line":3},{"index_id":11,"token_group":8,"text":"!","start_char":15,"line":3},{"index_id":12,"token_group":9,"text":"column","start_char":16,"line":3},{"index_id":13,"token_group":10,"text":"Def","start_char":22,"line":3},{"index_id":14,"token_group":10,"text":".","start_char":25,"line":3},{"index_id":15,"token_group":11,"text":"is","start_char":26,"line":3},{"index_id":16,"token_group":12,"text":"Primary","start_char":28,"line":3},{"index_id":17,"token_group":12,"text":"Key","start_char":35,"line":3},{"index_id":18,"token_group":12,"text":"Column","start_char":38,"line":3},{"index_id":19,"token_group":12,"text":"(","start_char":44,"line":3},{"index_id":20,"token_group":13,"text":")","start_char":45,"line":3},{"index_id":21,"token_group":14,"text":"&&","start_char":47,"line":3},{"index_id":22,"token_group":15,"text":"is","start_char":50,"line":3},{"index_id":23,"token_group":16,"text":"Dense","start_char":52,"line":3},{"index_id":24,"token_group":16,"text":",","start_char":57,"line":3},{"index_id":25,"token_group":17,"text":"\"Predicates on the non-primary-key column (%s) of a COMPACT table are not yet supported\"","start_char":15,"line":4},{"index_id":26,"token_group":18,"text":",","start_char":103,"line":4},{"index_id":27,"token_group":19,"text":"column","start_char":15,"line":5},{"index_id":28,"token_group":20,"text":"Def","start_char":21,"line":5},{"index_id":29,"token_group":20,"text":".","start_char":24,"line":5},{"index_id":30,"token_group":21,"text":"name","start_char":25,"line":5},{"index_id":31,"token_group":22,"text":")","start_char":29,"line":5},{"index_id":32,"token_group":23,"text":";","start_char":30,"line":5},{"index_id":33,"token_group":24,"text":"if","start_char":4,"line":7},{"index_id":34,"token_group":25,"text":"(","start_char":7,"line":7},{"index_id":35,"token_group":26,"text":"is","start_char":8,"line":7},{"index_id":36,"token_group":27,"text":"In","start_char":10,"line":7},{"index_id":37,"token_group":27,"text":"(","start_char":12,"line":7},{"index_id":38,"token_group":28,"text":")","start_char":13,"line":7},{"index_id":39,"token_group":29,"text":")","start_char":14,"line":7},{"index_id":40,"token_group":30,"text":"{","start_char":4,"line":8},{"index_id":41,"token_group":31,"text":"check","start_char":8,"line":13},{"index_id":42,"token_group":32,"text":"False","start_char":13,"line":13},{"index_id":43,"token_group":32,"text":"(","start_char":18,"line":13},{"index_id":44,"token_group":33,"text":"!","start_char":19,"line":13},{"index_id":45,"token_group":34,"text":"column","start_char":20,"line":13},{"index_id":46,"token_group":35,"text":"Def","start_char":26,"line":13},{"index_id":47,"token_group":35,"text":".","start_char":29,"line":13},{"index_id":48,"token_group":36,"text":"is","start_char":30,"line":13},{"index_id":49,"token_group":37,"text":"Primary","start_char":32,"line":13},{"index_id":50,"token_group":37,"text":"Key","start_char":39,"line":13},{"index_id":51,"token_group":37,"text":"Column","start_char":42,"line":13},{"index_id":52,"token_group":37,"text":"(","start_char":48,"line":13},{"index_id":53,"token_group":38,"text":")","start_char":49,"line":13},{"index_id":54,"token_group":39,"text":"&&","start_char":51,"line":13},{"index_id":55,"token_group":40,"text":"!","start_char":54,"line":13},{"index_id":56,"token_group":41,"text":"can","start_char":55,"line":13},{"index_id":57,"token_group":42,"text":"Have","start_char":58,"line":13},{"index_id":58,"token_group":42,"text":"Only","start_char":62,"line":13},{"index_id":59,"token_group":42,"text":"One","start_char":66,"line":13},{"index_id":60,"token_group":42,"text":"Value","start_char":69,"line":13},{"index_id":61,"token_group":42,"text":"(","start_char":74,"line":13},{"index_id":62,"token_group":43,"text":")","start_char":75,"line":13},{"index_id":63,"token_group":44,"text":",","start_char":76,"line":13},{"index_id":64,"token_group":45,"text":"\"IN predicates on non-primary-key columns (%s) is not yet supported\"","start_char":19,"line":14},{"index_id":65,"token_group":46,"text":",","start_char":87,"line":14},{"index_id":66,"token_group":47,"text":"column","start_char":19,"line":15},{"index_id":67,"token_group":48,"text":"Def","start_char":25,"line":15},{"index_id":68,"token_group":48,"text":".","start_char":28,"line":15},{"index_id":69,"token_group":49,"text":"name","start_char":29,"line":15},{"index_id":70,"token_group":50,"text":")","start_char":33,"line":15},{"index_id":71,"token_group":51,"text":";","start_char":34,"line":15},{"index_id":72,"token_group":52,"text":"}","start_char":4,"line":16},{"index_id":73,"token_group":53,"text":"else","start_char":4,"line":17},{"index_id":74,"token_group":54,"text":"if","start_char":9,"line":17},{"index_id":75,"token_group":55,"text":"(","start_char":12,"line":17},{"index_id":76,"token_group":56,"text":"is","start_char":13,"line":17},{"index_id":77,"token_group":57,"text":"Slice","start_char":15,"line":17},{"index_id":78,"token_group":57,"text":"(","start_char":20,"line":17},{"index_id":79,"token_group":58,"text":")","start_char":21,"line":17},{"index_id":80,"token_group":59,"text":")","start_char":22,"line":17},{"index_id":81,"token_group":60,"text":"{","start_char":4,"line":18},{"index_id":82,"token_group":61,"text":"check","start_char":8,"line":26},{"index_id":83,"token_group":62,"text":"False","start_char":13,"line":26},{"index_id":84,"token_group":62,"text":"(","start_char":18,"line":26},{"index_id":85,"token_group":63,"text":"column","start_char":19,"line":26},{"index_id":86,"token_group":64,"text":"Def","start_char":25,"line":26},{"index_id":87,"token_group":64,"text":".","start_char":28,"line":26},{"index_id":88,"token_group":65,"text":"is","start_char":29,"line":26},{"index_id":89,"token_group":66,"text":"Partition","start_char":31,"line":26},{"index_id":90,"token_group":66,"text":"Key","start_char":40,"line":26},{"index_id":91,"token_group":66,"text":"(","start_char":43,"line":26},{"index_id":92,"token_group":67,"text":")","start_char":44,"line":26},{"index_id":93,"token_group":68,"text":",","start_char":45,"line":26},{"index_id":94,"token_group":69,"text":"\"Only EQ and IN relation are supported on the partition key (unless you use the token() function)\"","start_char":19,"line":27},{"index_id":95,"token_group":70,"text":")","start_char":117,"line":27},{"index_id":96,"token_group":71,"text":";","start_char":118,"line":27},{"index_id":97,"token_group":72,"text":"}","start_char":4,"line":28},{"index_id":98,"token_group":73,"text":"check","start_char":4,"line":30},{"index_id":99,"token_group":74,"text":"False","start_char":9,"line":30},{"index_id":100,"token_group":74,"text":"(","start_char":14,"line":30},{"index_id":101,"token_group":75,"text":"is","start_char":15,"line":30},{"index_id":102,"token_group":76,"text":"Contains","start_char":17,"line":30},{"index_id":103,"token_group":76,"text":"Key","start_char":25,"line":30},{"index_id":104,"token_group":76,"text":"(","start_char":28,"line":30},{"index_id":105,"token_group":77,"text":")","start_char":29,"line":30},{"index_id":106,"token_group":78,"text":"&&","start_char":31,"line":30},{"index_id":107,"token_group":79,"text":"!","start_char":34,"line":30},{"index_id":108,"token_group":80,"text":"(","start_char":35,"line":30},{"index_id":109,"token_group":81,"text":"receiver","start_char":36,"line":30},{"index_id":110,"token_group":82,"text":".","start_char":44,"line":30},{"index_id":111,"token_group":83,"text":"type","start_char":45,"line":30},{"index_id":112,"token_group":84,"text":"Instanceof","start_char":50,"line":30},{"index_id":113,"token_group":85,"text":"map","start_char":61,"line":30},{"index_id":114,"token_group":86,"text":"Type","start_char":64,"line":30},{"index_id":115,"token_group":86,"text":")","start_char":68,"line":30},{"index_id":116,"token_group":87,"text":",","start_char":69,"line":30},{"index_id":117,"token_group":88,"text":"\"Cannot use CONTAINS KEY on non-map column %s\"","start_char":71,"line":30},{"index_id":118,"token_group":89,"text":",","start_char":117,"line":30},{"index_id":119,"token_group":90,"text":"receiver","start_char":119,"line":30},{"index_id":120,"token_group":91,"text":".","start_char":127,"line":30},{"index_id":121,"token_group":92,"text":"name","start_char":128,"line":30},{"index_id":122,"token_group":93,"text":")","start_char":132,"line":30},{"index_id":123,"token_group":94,"text":";","start_char":133,"line":30},{"index_id":124,"token_group":95,"text":"check","start_char":4,"line":31},{"index_id":125,"token_group":96,"text":"False","start_char":9,"line":31},{"index_id":126,"token_group":96,"text":"(","start_char":14,"line":31},{"index_id":127,"token_group":97,"text":"is","start_char":15,"line":31},{"index_id":128,"token_group":98,"text":"Contains","start_char":17,"line":31},{"index_id":129,"token_group":98,"text":"(","start_char":25,"line":31},{"index_id":130,"token_group":99,"text":")","start_char":26,"line":31},{"index_id":131,"token_group":100,"text":"&&","start_char":28,"line":31},{"index_id":132,"token_group":101,"text":"!","start_char":31,"line":31},{"index_id":133,"token_group":102,"text":"(","start_char":32,"line":31},{"index_id":134,"token_group":103,"text":"receiver","start_char":33,"line":31},{"index_id":135,"token_group":104,"text":".","start_char":41,"line":31},{"index_id":136,"token_group":105,"text":"type","start_char":42,"line":31},{"index_id":137,"token_group":106,"text":".","start_char":46,"line":31},{"index_id":138,"token_group":107,"text":"is","start_char":47,"line":31},{"index_id":139,"token_group":108,"text":"Collection","start_char":49,"line":31},{"index_id":140,"token_group":108,"text":"(","start_char":59,"line":31},{"index_id":141,"token_group":109,"text":")","start_char":60,"line":31},{"index_id":142,"token_group":110,"text":")","start_char":61,"line":31},{"index_id":143,"token_group":111,"text":",","start_char":62,"line":31},{"index_id":144,"token_group":112,"text":"\"Cannot use CONTAINS on non-collection column %s\"","start_char":64,"line":31},{"index_id":145,"token_group":113,"text":",","start_char":113,"line":31},{"index_id":146,"token_group":114,"text":"receiver","start_char":115,"line":31},{"index_id":147,"token_group":115,"text":".","start_char":123,"line":31},{"index_id":148,"token_group":116,"text":"name","start_char":124,"line":31},{"index_id":149,"token_group":117,"text":")","start_char":128,"line":31},{"index_id":150,"token_group":118,"text":";","start_char":129,"line":31},{"index_id":151,"token_group":119,"text":"if","start_char":4,"line":33},{"index_id":152,"token_group":120,"text":"(","start_char":7,"line":33},{"index_id":153,"token_group":121,"text":"map","start_char":8,"line":33},{"index_id":154,"token_group":122,"text":"Key","start_char":11,"line":33},{"index_id":155,"token_group":122,"text":"!=","start_char":15,"line":33},{"index_id":156,"token_group":123,"text":"null","start_char":18,"line":33},{"index_id":157,"token_group":124,"text":")","start_char":22,"line":33},{"index_id":158,"token_group":125,"text":"{","start_char":4,"line":34},{"index_id":159,"token_group":126,"text":"check","start_char":8,"line":35},{"index_id":160,"token_group":127,"text":"False","start_char":13,"line":35},{"index_id":161,"token_group":127,"text":"(","start_char":18,"line":35},{"index_id":162,"token_group":128,"text":"receiver","start_char":19,"line":35},{"index_id":163,"token_group":129,"text":".","start_char":27,"line":35},{"index_id":164,"token_group":130,"text":"type","start_char":28,"line":35},{"index_id":165,"token_group":131,"text":"Instanceof","start_char":33,"line":35},{"index_id":166,"token_group":132,"text":"list","start_char":44,"line":35},{"index_id":167,"token_group":133,"text":"Type","start_char":48,"line":35},{"index_id":168,"token_group":133,"text":",","start_char":52,"line":35},{"index_id":169,"token_group":134,"text":"\"Indexes on list entries (%s[index] = value) are not currently supported.\"","start_char":19,"line":36},{"index_id":170,"token_group":135,"text":",","start_char":93,"line":36},{"index_id":171,"token_group":136,"text":"receiver","start_char":19,"line":37},{"index_id":172,"token_group":137,"text":".","start_char":27,"line":37},{"index_id":173,"token_group":138,"text":"name","start_char":28,"line":37},{"index_id":174,"token_group":139,"text":")","start_char":32,"line":37},{"index_id":175,"token_group":140,"text":";","start_char":33,"line":37},{"index_id":176,"token_group":141,"text":"check","start_char":8,"line":38},{"index_id":177,"token_group":142,"text":"True","start_char":13,"line":38},{"index_id":178,"token_group":142,"text":"(","start_char":17,"line":38},{"index_id":179,"token_group":143,"text":"receiver","start_char":18,"line":38},{"index_id":180,"token_group":144,"text":".","start_char":26,"line":38},{"index_id":181,"token_group":145,"text":"type","start_char":27,"line":38},{"index_id":182,"token_group":146,"text":"Instanceof","start_char":32,"line":38},{"index_id":183,"token_group":147,"text":"map","start_char":43,"line":38},{"index_id":184,"token_group":148,"text":"Type","start_char":46,"line":38},{"index_id":185,"token_group":148,"text":",","start_char":50,"line":38},{"index_id":186,"token_group":149,"text":"\"Column %s cannot be used as a map\"","start_char":52,"line":38},{"index_id":187,"token_group":150,"text":",","start_char":87,"line":38},{"index_id":188,"token_group":151,"text":"receiver","start_char":18,"line":39},{"index_id":189,"token_group":152,"text":".","start_char":26,"line":39},{"index_id":190,"token_group":153,"text":"name","start_char":27,"line":39},{"index_id":191,"token_group":154,"text":")","start_char":31,"line":39},{"index_id":192,"token_group":155,"text":";","start_char":32,"line":39},{"index_id":193,"token_group":156,"text":"check","start_char":8,"line":40},{"index_id":194,"token_group":157,"text":"True","start_char":13,"line":40},{"index_id":195,"token_group":157,"text":"(","start_char":17,"line":40},{"index_id":196,"token_group":158,"text":"receiver","start_char":18,"line":40},{"index_id":197,"token_group":159,"text":".","start_char":26,"line":40},{"index_id":198,"token_group":160,"text":"type","start_char":27,"line":40},{"index_id":199,"token_group":161,"text":".","start_char":31,"line":40},{"index_id":200,"token_group":162,"text":"is","start_char":32,"line":40},{"index_id":201,"token_group":163,"text":"Multi","start_char":34,"line":40},{"index_id":202,"token_group":163,"text":"Cell","start_char":39,"line":40},{"index_id":203,"token_group":163,"text":"(","start_char":43,"line":40},{"index_id":204,"token_group":164,"text":")","start_char":44,"line":40},{"index_id":205,"token_group":165,"text":",","start_char":45,"line":40},{"index_id":206,"token_group":166,"text":"\"Map-entry equality predicates on frozen map column %s are not supported\"","start_char":18,"line":41},{"index_id":207,"token_group":167,"text":",","start_char":91,"line":41},{"index_id":208,"token_group":168,"text":"receiver","start_char":18,"line":42},{"index_id":209,"token_group":169,"text":".","start_char":26,"line":42},{"index_id":210,"token_group":170,"text":"name","start_char":27,"line":42},{"index_id":211,"token_group":171,"text":")","start_char":31,"line":42},{"index_id":212,"token_group":172,"text":";","start_char":32,"line":42},{"index_id":213,"token_group":173,"text":"check","start_char":8,"line":43},{"index_id":214,"token_group":174,"text":"True","start_char":13,"line":43},{"index_id":215,"token_group":174,"text":"(","start_char":17,"line":43},{"index_id":216,"token_group":175,"text":"is","start_char":18,"line":43},{"index_id":217,"token_group":176,"text":"Eq","start_char":20,"line":43},{"index_id":218,"token_group":176,"text":"(","start_char":22,"line":43},{"index_id":219,"token_group":177,"text":")","start_char":23,"line":43},{"index_id":220,"token_group":178,"text":",","start_char":24,"line":43},{"index_id":221,"token_group":179,"text":"\"Only EQ relations are supported on map entries\"","start_char":26,"line":43},{"index_id":222,"token_group":180,"text":")","start_char":74,"line":43},{"index_id":223,"token_group":181,"text":";","start_char":75,"line":43},{"index_id":224,"token_group":182,"text":"}","start_char":4,"line":44},{"index_id":225,"token_group":183,"text":"if","start_char":4,"line":46},{"index_id":226,"token_group":184,"text":"(","start_char":7,"line":46},{"index_id":227,"token_group":185,"text":"receiver","start_char":8,"line":46},{"index_id":228,"token_group":186,"text":".","start_char":16,"line":46},{"index_id":229,"token_group":187,"text":"type","start_char":17,"line":46},{"index_id":230,"token_group":188,"text":".","start_char":21,"line":46},{"index_id":231,"token_group":189,"text":"is","start_char":22,"line":46},{"index_id":232,"token_group":190,"text":"Collection","start_char":24,"line":46},{"index_id":233,"token_group":190,"text":"(","start_char":34,"line":46},{"index_id":234,"token_group":191,"text":")","start_char":35,"line":46},{"index_id":235,"token_group":192,"text":")","start_char":36,"line":46},{"index_id":236,"token_group":193,"text":"{","start_char":4,"line":47},{"index_id":237,"token_group":194,"text":"check","start_char":8,"line":49},{"index_id":238,"token_group":195,"text":"False","start_char":13,"line":49},{"index_id":239,"token_group":195,"text":"(","start_char":18,"line":49},{"index_id":240,"token_group":196,"text":"receiver","start_char":19,"line":49},{"index_id":241,"token_group":197,"text":".","start_char":27,"line":49},{"index_id":242,"token_group":198,"text":"type","start_char":28,"line":49},{"index_id":243,"token_group":199,"text":".","start_char":32,"line":49},{"index_id":244,"token_group":200,"text":"is","start_char":33,"line":49},{"index_id":245,"token_group":201,"text":"Multi","start_char":35,"line":49},{"index_id":246,"token_group":201,"text":"Cell","start_char":40,"line":49},{"index_id":247,"token_group":201,"text":"(","start_char":44,"line":49},{"index_id":248,"token_group":202,"text":")","start_char":45,"line":49},{"index_id":249,"token_group":203,"text":"&&","start_char":47,"line":49},{"index_id":250,"token_group":204,"text":"!","start_char":19,"line":50},{"index_id":251,"token_group":205,"text":"is","start_char":20,"line":50},{"index_id":252,"token_group":206,"text":"Legal","start_char":22,"line":50},{"index_id":253,"token_group":206,"text":"Relation","start_char":27,"line":50},{"index_id":254,"token_group":206,"text":"For","start_char":35,"line":50},{"index_id":255,"token_group":206,"text":"Non","start_char":38,"line":50},{"index_id":256,"token_group":206,"text":"Frozen","start_char":41,"line":50},{"index_id":257,"token_group":206,"text":"Collection","start_char":47,"line":50},{"index_id":258,"token_group":206,"text":"(","start_char":57,"line":50},{"index_id":259,"token_group":207,"text":")","start_char":58,"line":50},{"index_id":260,"token_group":208,"text":",","start_char":59,"line":50},{"index_id":261,"token_group":209,"text":"\"Collection column '%s' (%s) cannot be restricted by a '%s' relation\"","start_char":19,"line":51},{"index_id":262,"token_group":210,"text":",","start_char":88,"line":51},{"index_id":263,"token_group":211,"text":"receiver","start_char":19,"line":52},{"index_id":264,"token_group":212,"text":".","start_char":27,"line":52},{"index_id":265,"token_group":213,"text":"name","start_char":28,"line":52},{"index_id":266,"token_group":214,"text":",","start_char":32,"line":52},{"index_id":267,"token_group":215,"text":"receiver","start_char":19,"line":53},{"index_id":268,"token_group":216,"text":".","start_char":27,"line":53},{"index_id":269,"token_group":217,"text":"type","start_char":28,"line":53},{"index_id":270,"token_group":218,"text":".","start_char":32,"line":53},{"index_id":271,"token_group":219,"text":"as","start_char":33,"line":53},{"index_id":272,"token_group":220,"text":"Cql","start_char":35,"line":53},{"index_id":273,"token_group":220,"text":"3","start_char":38,"line":53},{"index_id":274,"token_group":220,"text":"Type","start_char":39,"line":53},{"index_id":275,"token_group":220,"text":"(","start_char":43,"line":53},{"index_id":276,"token_group":221,"text":")","start_char":44,"line":53},{"index_id":277,"token_group":222,"text":",","start_char":45,"line":53},{"index_id":278,"token_group":223,"text":"operator","start_char":19,"line":54},{"index_id":279,"token_group":224,"text":"(","start_char":27,"line":54},{"index_id":280,"token_group":225,"text":")","start_char":28,"line":54},{"index_id":281,"token_group":226,"text":")","start_char":29,"line":54},{"index_id":282,"token_group":227,"text":";","start_char":30,"line":54},{"index_id":283,"token_group":228,"text":"if","start_char":8,"line":56},{"index_id":284,"token_group":229,"text":"(","start_char":11,"line":56},{"index_id":285,"token_group":230,"text":"is","start_char":12,"line":56},{"index_id":286,"token_group":231,"text":"Contains","start_char":14,"line":56},{"index_id":287,"token_group":231,"text":"Key","start_char":22,"line":56},{"index_id":288,"token_group":231,"text":"(","start_char":25,"line":56},{"index_id":289,"token_group":232,"text":")","start_char":26,"line":56},{"index_id":290,"token_group":233,"text":"||","start_char":28,"line":56},{"index_id":291,"token_group":234,"text":"is","start_char":31,"line":56},{"index_id":292,"token_group":235,"text":"Contains","start_char":33,"line":56},{"index_id":293,"token_group":235,"text":"(","start_char":41,"line":56},{"index_id":294,"token_group":236,"text":")","start_char":42,"line":56},{"index_id":295,"token_group":237,"text":")","start_char":43,"line":56},{"index_id":296,"token_group":238,"text":"{","start_char":8,"line":57},{"index_id":297,"token_group":239,"text":"receiver","start_char":12,"line":58},{"index_id":298,"token_group":240,"text":"=","start_char":21,"line":58},{"index_id":299,"token_group":241,"text":"make","start_char":23,"line":58},{"index_id":300,"token_group":242,"text":"Collection","start_char":27,"line":58},{"index_id":301,"token_group":242,"text":"Receiver","start_char":37,"line":58},{"index_id":302,"token_group":242,"text":"(","start_char":45,"line":58},{"index_id":303,"token_group":243,"text":"receiver","start_char":46,"line":58},{"index_id":304,"token_group":244,"text":",","start_char":54,"line":58},{"index_id":305,"token_group":245,"text":"is","start_char":56,"line":58},{"index_id":306,"token_group":246,"text":"Contains","start_char":58,"line":58},{"index_id":307,"token_group":246,"text":"Key","start_char":66,"line":58},{"index_id":308,"token_group":246,"text":"(","start_char":69,"line":58},{"index_id":309,"token_group":247,"text":")","start_char":70,"line":58},{"index_id":310,"token_group":248,"text":")","start_char":71,"line":58},{"index_id":311,"token_group":249,"text":";","start_char":72,"line":58},{"index_id":312,"token_group":250,"text":"}","start_char":8,"line":59},{"index_id":313,"token_group":251,"text":"else","start_char":8,"line":60},{"index_id":314,"token_group":252,"text":"if","start_char":13,"line":60},{"index_id":315,"token_group":253,"text":"(","start_char":16,"line":60},{"index_id":316,"token_group":254,"text":"receiver","start_char":17,"line":60},{"index_id":317,"token_group":255,"text":".","start_char":25,"line":60},{"index_id":318,"token_group":256,"text":"type","start_char":26,"line":60},{"index_id":319,"token_group":257,"text":".","start_char":30,"line":60},{"index_id":320,"token_group":258,"text":"is","start_char":31,"line":60},{"index_id":321,"token_group":259,"text":"Multi","start_char":33,"line":60},{"index_id":322,"token_group":259,"text":"Cell","start_char":38,"line":60},{"index_id":323,"token_group":259,"text":"(","start_char":42,"line":60},{"index_id":324,"token_group":260,"text":")","start_char":43,"line":60},{"index_id":325,"token_group":261,"text":"&&","start_char":45,"line":60},{"index_id":326,"token_group":262,"text":"map","start_char":48,"line":60},{"index_id":327,"token_group":263,"text":"Key","start_char":51,"line":60},{"index_id":328,"token_group":263,"text":"!=","start_char":55,"line":60},{"index_id":329,"token_group":264,"text":"null","start_char":58,"line":60},{"index_id":330,"token_group":265,"text":"&&","start_char":63,"line":60},{"index_id":331,"token_group":266,"text":"is","start_char":66,"line":60},{"index_id":332,"token_group":267,"text":"Eq","start_char":68,"line":60},{"index_id":333,"token_group":267,"text":"(","start_char":70,"line":60},{"index_id":334,"token_group":268,"text":")","start_char":71,"line":60},{"index_id":335,"token_group":269,"text":")","start_char":72,"line":60},{"index_id":336,"token_group":270,"text":"{","start_char":8,"line":61},{"index_id":337,"token_group":271,"text":"list","start_char":12,"line":62},{"index_id":338,"token_group":272,"text":"<","start_char":16,"line":62},{"index_id":339,"token_group":273,"text":"column","start_char":17,"line":62},{"index_id":340,"token_group":274,"text":"Specification","start_char":23,"line":62},{"index_id":341,"token_group":274,"text":">","start_char":36,"line":62},{"index_id":342,"token_group":275,"text":"receivers","start_char":38,"line":62},{"index_id":343,"token_group":276,"text":"=","start_char":48,"line":62},{"index_id":344,"token_group":277,"text":"new","start_char":50,"line":62},{"index_id":345,"token_group":278,"text":"array","start_char":54,"line":62},{"index_id":346,"token_group":279,"text":"List","start_char":59,"line":62},{"index_id":347,"token_group":279,"text":"<","start_char":63,"line":62},{"index_id":348,"token_group":280,"text":">","start_char":64,"line":62},{"index_id":349,"token_group":281,"text":"(","start_char":65,"line":62},{"index_id":350,"token_group":282,"text":"2","start_char":66,"line":62},{"index_id":351,"token_group":283,"text":")","start_char":67,"line":62},{"index_id":352,"token_group":284,"text":";","start_char":68,"line":62},{"index_id":353,"token_group":285,"text":"receivers","start_char":12,"line":63},{"index_id":354,"token_group":286,"text":".","start_char":21,"line":63},{"index_id":355,"token_group":287,"text":"add","start_char":22,"line":63},{"index_id":356,"token_group":288,"text":"(","start_char":25,"line":63},{"index_id":357,"token_group":289,"text":"make","start_char":26,"line":63},{"index_id":358,"token_group":290,"text":"Collection","start_char":30,"line":63},{"index_id":359,"token_group":290,"text":"Receiver","start_char":40,"line":63},{"index_id":360,"token_group":290,"text":"(","start_char":48,"line":63},{"index_id":361,"token_group":291,"text":"receiver","start_char":49,"line":63},{"index_id":362,"token_group":292,"text":",","start_char":57,"line":63},{"index_id":363,"token_group":293,"text":"true","start_char":59,"line":63},{"index_id":364,"token_group":294,"text":")","start_char":63,"line":63},{"index_id":365,"token_group":295,"text":")","start_char":64,"line":63},{"index_id":366,"token_group":296,"text":";","start_char":65,"line":63},{"index_id":367,"token_group":297,"text":"receivers","start_char":12,"line":64},{"index_id":368,"token_group":298,"text":".","start_char":21,"line":64},{"index_id":369,"token_group":299,"text":"add","start_char":22,"line":64},{"index_id":370,"token_group":300,"text":"(","start_char":25,"line":64},{"index_id":371,"token_group":301,"text":"make","start_char":26,"line":64},{"index_id":372,"token_group":302,"text":"Collection","start_char":30,"line":64},{"index_id":373,"token_group":302,"text":"Receiver","start_char":40,"line":64},{"index_id":374,"token_group":302,"text":"(","start_char":48,"line":64},{"index_id":375,"token_group":303,"text":"receiver","start_char":49,"line":64},{"index_id":376,"token_group":304,"text":",","start_char":57,"line":64},{"index_id":377,"token_group":305,"text":"false","start_char":59,"line":64},{"index_id":378,"token_group":306,"text":")","start_char":64,"line":64},{"index_id":379,"token_group":307,"text":")","start_char":65,"line":64},{"index_id":380,"token_group":308,"text":";","start_char":66,"line":64},{"index_id":381,"token_group":309,"text":"return","start_char":12,"line":65},{"index_id":382,"token_group":310,"text":"receivers","start_char":19,"line":65},{"index_id":383,"token_group":311,"text":";","start_char":28,"line":65},{"index_id":384,"token_group":312,"text":"}","start_char":8,"line":66},{"index_id":385,"token_group":313,"text":"}","start_char":4,"line":67},{"index_id":386,"token_group":314,"text":"return","start_char":4,"line":69},{"index_id":387,"token_group":315,"text":"collections","start_char":11,"line":69},{"index_id":388,"token_group":316,"text":".","start_char":22,"line":69},{"index_id":389,"token_group":317,"text":"singleton","start_char":23,"line":69},{"index_id":390,"token_group":318,"text":"List","start_char":32,"line":69},{"index_id":391,"token_group":318,"text":"(","start_char":36,"line":69},{"index_id":392,"token_group":319,"text":"receiver","start_char":37,"line":69},{"index_id":393,"token_group":320,"text":")","start_char":45,"line":69},{"index_id":394,"token_group":321,"text":";","start_char":46,"line":69},{"index_id":395,"token_group":322,"text":"}","start_char":0,"line":70}],"tokens_list":["{","column","Specification","receiver","=","column","Def",";","check","False","(","!","column","Def",".","is","Primary","Key","Column","(",")","&&","is","Dense",",","\"Predicates on the non-primary-key column (%s) of a COMPACT table are not yet supported\"",",","column","Def",".","name",")",";","if","(","is","In","(",")",")","{","check","False","(","!","column","Def",".","is","Primary","Key","Column","(",")","&&","!","can","Have","Only","One","Value","(",")",",","\"IN predicates on non-primary-key columns (%s) is not yet supported\"",",","column","Def",".","name",")",";","}","else","if","(","is","Slice","(",")",")","{","check","False","(","column","Def",".","is","Partition","Key","(",")",",","\"Only EQ and IN relation are supported on the partition key (unless you use the token() function)\"",")",";","}","check","False","(","is","Contains","Key","(",")","&&","!","(","receiver",".","type","Instanceof","map","Type",")",",","\"Cannot use CONTAINS KEY on non-map column %s\"",",","receiver",".","name",")",";","check","False","(","is","Contains","(",")","&&","!","(","receiver",".","type",".","is","Collection","(",")",")",",","\"Cannot use CONTAINS on non-collection column %s\"",",","receiver",".","name",")",";","if","(","map","Key","!=","null",")","{","check","False","(","receiver",".","type","Instanceof","list","Type",",","\"Indexes on list entries (%s[index] = value) are not currently supported.\"",",","receiver",".","name",")",";","check","True","(","receiver",".","type","Instanceof","map","Type",",","\"Column %s cannot be used as a map\"",",","receiver",".","name",")",";","check","True","(","receiver",".","type",".","is","Multi","Cell","(",")",",","\"Map-entry equality predicates on frozen map column %s are not supported\"",",","receiver",".","name",")",";","check","True","(","is","Eq","(",")",",","\"Only EQ relations are supported on map entries\"",")",";","}","if","(","receiver",".","type",".","is","Collection","(",")",")","{","check","False","(","receiver",".","type",".","is","Multi","Cell","(",")","&&","!","is","Legal","Relation","For","Non","Frozen","Collection","(",")",",","\"Collection column '%s' (%s) cannot be restricted by a '%s' relation\"",",","receiver",".","name",",","receiver",".","type",".","as","Cql","3","Type","(",")",",","operator","(",")",")",";","if","(","is","Contains","Key","(",")","||","is","Contains","(",")",")","{","receiver","=","make","Collection","Receiver","(","receiver",",","is","Contains","Key","(",")",")",";","}","else","if","(","receiver",".","type",".","is","Multi","Cell","(",")","&&","map","Key","!=","null","&&","is","Eq","(",")",")","{","list","<","column","Specification",">","receivers","=","new","array","List","<",">","(","2",")",";","receivers",".","add","(","make","Collection","Receiver","(","receiver",",","true",")",")",";","receivers",".","add","(","make","Collection","Receiver","(","receiver",",","false",")",")",";","return","receivers",";","}","}","return","collections",".","singleton","List","(","receiver",")",";","}"],"uuid":"297e47fa9c13fcfd46bd34da4a4b369c"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","require","No","Attributes","<\/id>","(","<id>","reader","<\/id>",")",";","boolean","<id>","empty","<\/id>","=","true",";","while","(","<id>","reader","<\/id>",".","<id>","has","Next","<\/id>","(",")","&&","<id>","reader","<\/id>",".","<id>","next","Tag","<\/id>","(",")","!=","<id>","end","Element","<\/id>",")","{","switch","(","<id>","element","<\/id>",".","<id>","for","Name","<\/id>","(","<id>","reader","<\/id>",".","<id>","get","Local","Name","<\/id>","(",")",")",")","{","case","<id>","managed","Scheduled","Executor","Service","<\/id>",":","{","<id>","empty","<\/id>","=","false",";","<id>","parse","Managed","Scheduled","Executor","Service","<\/id>","(","<id>","reader","<\/id>",",","<id>","operations","<\/id>",",","<id>","subsystem","Path","Address","<\/id>",")",";","break",";","}","default",":","{","throw","<id>","unexpected","Element","<\/id>","(","<id>","reader","<\/id>",")",";","}","}","}","if","(","<id>","empty","<\/id>",")","{","throw","<id>","missing","Required","<\/id>","(","<id>","reader","<\/id>",",","<id>","enum","Set","<\/id>",".","<id>","of","<\/id>","(","<id>","element","<\/id>",".","<id>","managed","Scheduled","Executor","Service","<\/id>",")",")",";","}","}","<SENTENCE_END\/>"],"file_name":"EESubsystemParser20.java","formatted_lines":["{"," requireNoAttributes(reader);"," boolean empty = true;"," while (reader.hasNext() && reader.nextTag() != END_ELEMENT)"," {"," switch (Element.forName(reader.getLocalName()))"," {"," case MANAGED_SCHEDULED_EXECUTOR_SERVICE:"," {"," empty = false;"," parseManagedScheduledExecutorService(reader, operations, subsystemPathAddress);"," break;"," }"," default:"," {"," throw unexpectedElement(reader);"," }"," }"," }"," if(empty)"," {"," throw missingRequired(reader,"," EnumSet.of(Element.MANAGED_SCHEDULED_EXECUTOR_SERVICE));"," }","}"],"function_name":"parseManagedScheduledExecutorServices","function_name_tokens":["parse","managed","scheduled","executor","services"],"id_body_hash":"f247af646b9ad8c5ce32cd5a2092887d","id_same_identifier_list":[0,1,2,2,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,16,17,18,19,20,21,22,22,23,24,25,26,26,27,28,29,30,31,32,33,33,34,35,36,37,37,37,38,39,40,41,42,43,44,44,44,44,45,46,47,48,49,50,51,51,51,51,51,52,53,54,55,56,57,57,57,58,59,60,61,62,63,64,65,66,67,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,81,82,83,84,85,85,86,87,88,89,90,91,91,91,91,92,93,94,95,96,97],"option_correct":"parseManagedScheduledExecutorServices","options":["parseManagedScheduledExecutorServices","isDeliveryControlled","parseManagedExecutorServices","getAfterCompletion","testRebindReferenceable","testManagedScheduledExecutorServiceManagement","parseManagedScheduledExecutorService"],"options_nlp":["parse managed scheduled executor services","is delivery controlled","parse managed executor services","get after completion","test rebind referenceable","test managed scheduled executor service management","parse managed scheduled executor service"],"options_random":["getAfterCompletion","isDeliveryControlled","testRebindReferenceable"],"options_tfidf":["parseManagedScheduledExecutorService","testManagedScheduledExecutorServiceManagement","parseManagedExecutorServices"],"project_name":"wildfly","source_code_string":"static void parseManagedScheduledExecutorServices(XMLExtendedStreamReader reader, List<ModelNode> operations, PathAddress subsystemPathAddress) throws XMLStreamException {\n requireNoAttributes(reader);\n boolean empty = true;\n while (reader.hasNext() && reader.nextTag() != END_ELEMENT) {\n switch (Element.forName(reader.getLocalName())) {\n case MANAGED_SCHEDULED_EXECUTOR_SERVICE: {\n empty = false;\n parseManagedScheduledExecutorService(reader, operations, subsystemPathAddress);\n break;\n }\n default: {\n throw unexpectedElement(reader);\n }\n }\n }\n if(empty) {\n throw missingRequired(reader, EnumSet.of(Element.MANAGED_SCHEDULED_EXECUTOR_SERVICE));\n }\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"require","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"No","start_char":11,"line":1},{"index_id":3,"token_group":2,"text":"Attributes","start_char":13,"line":1},{"index_id":4,"token_group":2,"text":"(","start_char":23,"line":1},{"index_id":5,"token_group":3,"text":"reader","start_char":24,"line":1},{"index_id":6,"token_group":4,"text":")","start_char":30,"line":1},{"index_id":7,"token_group":5,"text":";","start_char":31,"line":1},{"index_id":8,"token_group":6,"text":"boolean","start_char":4,"line":2},{"index_id":9,"token_group":7,"text":"empty","start_char":12,"line":2},{"index_id":10,"token_group":8,"text":"=","start_char":18,"line":2},{"index_id":11,"token_group":9,"text":"true","start_char":20,"line":2},{"index_id":12,"token_group":10,"text":";","start_char":24,"line":2},{"index_id":13,"token_group":11,"text":"while","start_char":4,"line":3},{"index_id":14,"token_group":12,"text":"(","start_char":10,"line":3},{"index_id":15,"token_group":13,"text":"reader","start_char":11,"line":3},{"index_id":16,"token_group":14,"text":".","start_char":17,"line":3},{"index_id":17,"token_group":15,"text":"has","start_char":18,"line":3},{"index_id":18,"token_group":16,"text":"Next","start_char":21,"line":3},{"index_id":19,"token_group":16,"text":"(","start_char":25,"line":3},{"index_id":20,"token_group":17,"text":")","start_char":26,"line":3},{"index_id":21,"token_group":18,"text":"&&","start_char":28,"line":3},{"index_id":22,"token_group":19,"text":"reader","start_char":31,"line":3},{"index_id":23,"token_group":20,"text":".","start_char":37,"line":3},{"index_id":24,"token_group":21,"text":"next","start_char":38,"line":3},{"index_id":25,"token_group":22,"text":"Tag","start_char":42,"line":3},{"index_id":26,"token_group":22,"text":"(","start_char":45,"line":3},{"index_id":27,"token_group":23,"text":")","start_char":46,"line":3},{"index_id":28,"token_group":24,"text":"!=","start_char":48,"line":3},{"index_id":29,"token_group":25,"text":"end","start_char":51,"line":3},{"index_id":30,"token_group":26,"text":"Element","start_char":55,"line":3},{"index_id":31,"token_group":26,"text":")","start_char":62,"line":3},{"index_id":32,"token_group":27,"text":"{","start_char":4,"line":4},{"index_id":33,"token_group":28,"text":"switch","start_char":8,"line":5},{"index_id":34,"token_group":29,"text":"(","start_char":15,"line":5},{"index_id":35,"token_group":30,"text":"element","start_char":16,"line":5},{"index_id":36,"token_group":31,"text":".","start_char":23,"line":5},{"index_id":37,"token_group":32,"text":"for","start_char":24,"line":5},{"index_id":38,"token_group":33,"text":"Name","start_char":27,"line":5},{"index_id":39,"token_group":33,"text":"(","start_char":31,"line":5},{"index_id":40,"token_group":34,"text":"reader","start_char":32,"line":5},{"index_id":41,"token_group":35,"text":".","start_char":38,"line":5},{"index_id":42,"token_group":36,"text":"get","start_char":39,"line":5},{"index_id":43,"token_group":37,"text":"Local","start_char":42,"line":5},{"index_id":44,"token_group":37,"text":"Name","start_char":47,"line":5},{"index_id":45,"token_group":37,"text":"(","start_char":51,"line":5},{"index_id":46,"token_group":38,"text":")","start_char":52,"line":5},{"index_id":47,"token_group":39,"text":")","start_char":53,"line":5},{"index_id":48,"token_group":40,"text":")","start_char":54,"line":5},{"index_id":49,"token_group":41,"text":"{","start_char":8,"line":6},{"index_id":50,"token_group":42,"text":"case","start_char":8,"line":7},{"index_id":51,"token_group":43,"text":"managed","start_char":13,"line":7},{"index_id":52,"token_group":44,"text":"Scheduled","start_char":21,"line":7},{"index_id":53,"token_group":44,"text":"Executor","start_char":31,"line":7},{"index_id":54,"token_group":44,"text":"Service","start_char":40,"line":7},{"index_id":55,"token_group":44,"text":":","start_char":47,"line":7},{"index_id":56,"token_group":45,"text":"{","start_char":8,"line":8},{"index_id":57,"token_group":46,"text":"empty","start_char":12,"line":9},{"index_id":58,"token_group":47,"text":"=","start_char":18,"line":9},{"index_id":59,"token_group":48,"text":"false","start_char":20,"line":9},{"index_id":60,"token_group":49,"text":";","start_char":25,"line":9},{"index_id":61,"token_group":50,"text":"parse","start_char":12,"line":10},{"index_id":62,"token_group":51,"text":"Managed","start_char":17,"line":10},{"index_id":63,"token_group":51,"text":"Scheduled","start_char":24,"line":10},{"index_id":64,"token_group":51,"text":"Executor","start_char":33,"line":10},{"index_id":65,"token_group":51,"text":"Service","start_char":41,"line":10},{"index_id":66,"token_group":51,"text":"(","start_char":48,"line":10},{"index_id":67,"token_group":52,"text":"reader","start_char":49,"line":10},{"index_id":68,"token_group":53,"text":",","start_char":55,"line":10},{"index_id":69,"token_group":54,"text":"operations","start_char":57,"line":10},{"index_id":70,"token_group":55,"text":",","start_char":67,"line":10},{"index_id":71,"token_group":56,"text":"subsystem","start_char":69,"line":10},{"index_id":72,"token_group":57,"text":"Path","start_char":78,"line":10},{"index_id":73,"token_group":57,"text":"Address","start_char":82,"line":10},{"index_id":74,"token_group":57,"text":")","start_char":89,"line":10},{"index_id":75,"token_group":58,"text":";","start_char":90,"line":10},{"index_id":76,"token_group":59,"text":"break","start_char":12,"line":11},{"index_id":77,"token_group":60,"text":";","start_char":17,"line":11},{"index_id":78,"token_group":61,"text":"}","start_char":8,"line":12},{"index_id":79,"token_group":62,"text":"default","start_char":8,"line":13},{"index_id":80,"token_group":63,"text":":","start_char":15,"line":13},{"index_id":81,"token_group":64,"text":"{","start_char":8,"line":14},{"index_id":82,"token_group":65,"text":"throw","start_char":12,"line":15},{"index_id":83,"token_group":66,"text":"unexpected","start_char":18,"line":15},{"index_id":84,"token_group":67,"text":"Element","start_char":28,"line":15},{"index_id":85,"token_group":67,"text":"(","start_char":35,"line":15},{"index_id":86,"token_group":68,"text":"reader","start_char":36,"line":15},{"index_id":87,"token_group":69,"text":")","start_char":42,"line":15},{"index_id":88,"token_group":70,"text":";","start_char":43,"line":15},{"index_id":89,"token_group":71,"text":"}","start_char":8,"line":16},{"index_id":90,"token_group":72,"text":"}","start_char":8,"line":17},{"index_id":91,"token_group":73,"text":"}","start_char":4,"line":18},{"index_id":92,"token_group":74,"text":"if","start_char":4,"line":19},{"index_id":93,"token_group":75,"text":"(","start_char":6,"line":19},{"index_id":94,"token_group":76,"text":"empty","start_char":7,"line":19},{"index_id":95,"token_group":77,"text":")","start_char":12,"line":19},{"index_id":96,"token_group":78,"text":"{","start_char":4,"line":20},{"index_id":97,"token_group":79,"text":"throw","start_char":8,"line":21},{"index_id":98,"token_group":80,"text":"missing","start_char":14,"line":21},{"index_id":99,"token_group":81,"text":"Required","start_char":21,"line":21},{"index_id":100,"token_group":81,"text":"(","start_char":29,"line":21},{"index_id":101,"token_group":82,"text":"reader","start_char":30,"line":21},{"index_id":102,"token_group":83,"text":",","start_char":36,"line":21},{"index_id":103,"token_group":84,"text":"enum","start_char":30,"line":22},{"index_id":104,"token_group":85,"text":"Set","start_char":34,"line":22},{"index_id":105,"token_group":85,"text":".","start_char":37,"line":22},{"index_id":106,"token_group":86,"text":"of","start_char":38,"line":22},{"index_id":107,"token_group":87,"text":"(","start_char":40,"line":22},{"index_id":108,"token_group":88,"text":"element","start_char":41,"line":22},{"index_id":109,"token_group":89,"text":".","start_char":48,"line":22},{"index_id":110,"token_group":90,"text":"managed","start_char":49,"line":22},{"index_id":111,"token_group":91,"text":"Scheduled","start_char":57,"line":22},{"index_id":112,"token_group":91,"text":"Executor","start_char":67,"line":22},{"index_id":113,"token_group":91,"text":"Service","start_char":76,"line":22},{"index_id":114,"token_group":91,"text":")","start_char":83,"line":22},{"index_id":115,"token_group":92,"text":")","start_char":84,"line":22},{"index_id":116,"token_group":93,"text":";","start_char":85,"line":22},{"index_id":117,"token_group":94,"text":"}","start_char":4,"line":23},{"index_id":118,"token_group":95,"text":"}","start_char":0,"line":24}],"tokens_list":["{","require","No","Attributes","(","reader",")",";","boolean","empty","=","true",";","while","(","reader",".","has","Next","(",")","&&","reader",".","next","Tag","(",")","!=","end","Element",")","{","switch","(","element",".","for","Name","(","reader",".","get","Local","Name","(",")",")",")","{","case","managed","Scheduled","Executor","Service",":","{","empty","=","false",";","parse","Managed","Scheduled","Executor","Service","(","reader",",","operations",",","subsystem","Path","Address",")",";","break",";","}","default",":","{","throw","unexpected","Element","(","reader",")",";","}","}","}","if","(","empty",")","{","throw","missing","Required","(","reader",",","enum","Set",".","of","(","element",".","managed","Scheduled","Executor","Service",")",")",";","}","}"],"uuid":"7acdf7c7abc7966becbf87082388c2d1"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","","User","Id","1","<\/id>","=","<id>","user","Id","1","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"SocialRelationSoap.java","formatted_lines":["{"," _userId1 = userId1;","}"],"function_name":"setUserId1","function_name_tokens":["set","user","id","1"],"id_body_hash":"1c8a5831cdf87bc51fe6d20af92001a9","id_same_identifier_list":[0,1,2,2,2,2,3,4,4,4,5,6,7],"option_correct":"setUserId1","options":["setUserId2","getCategoryKeys","setUserGroupId","getDDLRecordPersistence","setServiceBeanAopCacheManager","setUserId","setUserId1"],"options_nlp":["set user id 2","get category keys","set user group id","get ddl record persistence","set service bean aop cache manager","set user id","set user id 1"],"options_random":["getDDLRecordPersistence","getCategoryKeys","setServiceBeanAopCacheManager"],"options_tfidf":["setUserId2","setUserGroupId","setUserId"],"project_name":"liferay-portal","source_code_string":"public void setUserId1(long userId1) {\n\t\t_userId1 = userId1;\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":"User","start_char":5,"line":1},{"index_id":3,"token_group":2,"text":"Id","start_char":9,"line":1},{"index_id":4,"token_group":2,"text":"1","start_char":11,"line":1},{"index_id":5,"token_group":2,"text":"=","start_char":13,"line":1},{"index_id":6,"token_group":3,"text":"user","start_char":15,"line":1},{"index_id":7,"token_group":4,"text":"Id","start_char":19,"line":1},{"index_id":8,"token_group":4,"text":"1","start_char":21,"line":1},{"index_id":9,"token_group":4,"text":";","start_char":22,"line":1},{"index_id":10,"token_group":5,"text":"}","start_char":0,"line":2}],"tokens_list":["{","","User","Id","1","=","user","Id","1",";","}"],"uuid":"9d99de68c292f9c9b84d33accbebfc78"},{"cap_original_tokens":["<SENTENCE_START>","{","return","new","<id>","range","<\/id>","(","<id>","marker","<\/id>",".","<id>","exactly","<\/id>","(","<id>","type","<\/id>",",","<id>","low","<\/id>",")",",","<id>","marker","<\/id>",".","<id>","upper","Unbounded","<\/id>","(","<id>","type","<\/id>",")",")",";","}","<SENTENCE_END\/>"],"file_name":"Range.java","formatted_lines":["{"," return new Range(Marker.exactly(type, low), Marker.upperUnbounded(type));","}"],"function_name":"greaterThanOrEqual","function_name_tokens":["greater","than","or","equal"],"id_body_hash":"42b9056780ed8d828a514080fb4e3902","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,17,18,19,20,21,22,23,24],"option_correct":"greaterThanOrEqual","options":["setGracePeriod","greaterThanOrEqual","jumpIfIntGreaterThanOrEqualZero","greaterThan","createSocksSocket","createLongDictionaryBlock","lessThanOrEqual"],"options_nlp":["set grace period","greater than or equal","jump if int greater than or equal zero","greater than","create socks socket","create long dictionary block","less than or equal"],"options_random":["setGracePeriod","createLongDictionaryBlock","createSocksSocket"],"options_tfidf":["jumpIfIntGreaterThanOrEqualZero","lessThanOrEqual","greaterThan"],"project_name":"presto","source_code_string":"public static Range greaterThanOrEqual(Type type, Object low)\n {\n return new Range(Marker.exactly(type, low), Marker.upperUnbounded(type));\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":"new","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"range","start_char":15,"line":1},{"index_id":4,"token_group":4,"text":"(","start_char":20,"line":1},{"index_id":5,"token_group":5,"text":"marker","start_char":21,"line":1},{"index_id":6,"token_group":6,"text":".","start_char":27,"line":1},{"index_id":7,"token_group":7,"text":"exactly","start_char":28,"line":1},{"index_id":8,"token_group":8,"text":"(","start_char":35,"line":1},{"index_id":9,"token_group":9,"text":"type","start_char":36,"line":1},{"index_id":10,"token_group":10,"text":",","start_char":40,"line":1},{"index_id":11,"token_group":11,"text":"low","start_char":42,"line":1},{"index_id":12,"token_group":12,"text":")","start_char":45,"line":1},{"index_id":13,"token_group":13,"text":",","start_char":46,"line":1},{"index_id":14,"token_group":14,"text":"marker","start_char":48,"line":1},{"index_id":15,"token_group":15,"text":".","start_char":54,"line":1},{"index_id":16,"token_group":16,"text":"upper","start_char":55,"line":1},{"index_id":17,"token_group":17,"text":"Unbounded","start_char":60,"line":1},{"index_id":18,"token_group":17,"text":"(","start_char":69,"line":1},{"index_id":19,"token_group":18,"text":"type","start_char":70,"line":1},{"index_id":20,"token_group":19,"text":")","start_char":74,"line":1},{"index_id":21,"token_group":20,"text":")","start_char":75,"line":1},{"index_id":22,"token_group":21,"text":";","start_char":76,"line":1},{"index_id":23,"token_group":22,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","new","range","(","marker",".","exactly","(","type",",","low",")",",","marker",".","upper","Unbounded","(","type",")",")",";","}"],"uuid":"ec0cf5049a81c816bcd0780b71e81eb6"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","type","Converter","<\/id>","=","<id>","type","Converter","<\/id>",";","this",".","<id>","use","Default","Converter","<\/id>","=","false",";","}","<SENTENCE_END\/>"],"file_name":"ArgumentConvertingMethodInvoker.java","formatted_lines":["{"," this.typeConverter = typeConverter;"," this.useDefaultConverter = false;","}"],"function_name":"setTypeConverter","function_name_tokens":["set","type","converter"],"id_body_hash":"59ef4cccfa9d448cd35848edba925787","id_same_identifier_list":[0,1,2,3,4,4,5,6,6,7,8,9,10,10,10,11,12,13,14,15],"option_correct":"setTypeConverter","options":["testBlobSerializableType","setTypeConverter","getDefaultTypeConverter","customMapWithNonStringValue","setMessageConverter","getTypeConverter","setAsyncRequestFactory"],"options_nlp":["test blob serializable type","set type converter","get default type converter","custom map with non string value","set message converter","get type converter","set async request factory"],"options_random":["customMapWithNonStringValue","testBlobSerializableType","setAsyncRequestFactory"],"options_tfidf":["getTypeConverter","setMessageConverter","getDefaultTypeConverter"],"project_name":"spring-framework","source_code_string":"public void setTypeConverter(TypeConverter typeConverter) {\n\t\tthis.typeConverter = typeConverter;\n\t\tthis.useDefaultConverter = 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":"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":"type","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"Converter","start_char":13,"line":1},{"index_id":5,"token_group":4,"text":"=","start_char":23,"line":1},{"index_id":6,"token_group":5,"text":"type","start_char":25,"line":1},{"index_id":7,"token_group":6,"text":"Converter","start_char":29,"line":1},{"index_id":8,"token_group":6,"text":";","start_char":38,"line":1},{"index_id":9,"token_group":7,"text":"this","start_char":4,"line":2},{"index_id":10,"token_group":8,"text":".","start_char":8,"line":2},{"index_id":11,"token_group":9,"text":"use","start_char":9,"line":2},{"index_id":12,"token_group":10,"text":"Default","start_char":12,"line":2},{"index_id":13,"token_group":10,"text":"Converter","start_char":19,"line":2},{"index_id":14,"token_group":10,"text":"=","start_char":29,"line":2},{"index_id":15,"token_group":11,"text":"false","start_char":31,"line":2},{"index_id":16,"token_group":12,"text":";","start_char":36,"line":2},{"index_id":17,"token_group":13,"text":"}","start_char":0,"line":3}],"tokens_list":["{","this",".","type","Converter","=","type","Converter",";","this",".","use","Default","Converter","=","false",";","}"],"uuid":"6dc1376205aeb648df430b68c21e29bd"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","encoding","<\/id>","=","<id>","encoding","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"JibxMarshaller.java","formatted_lines":["{"," this.encoding = encoding;","}"],"function_name":"setEncoding","function_name_tokens":["set","encoding"],"id_body_hash":"48bf31ca2a477695f14be23035c3e81c","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9],"option_correct":"setEncoding","options":["setEncoding","setEncodingPropertyName","isPrimitiveOrWrapperWithDoubleWrapperClass","setMethodResolvers","setDisableHtmlEscaping","resolveResourceMatchingEncoding","setDefaultEncoding"],"options_nlp":["set encoding","set encoding property name","is primitive or wrapper with double wrapper class","set method resolvers","set disable html escaping","resolve resource matching encoding","set default encoding"],"options_random":["setMethodResolvers","setDisableHtmlEscaping","isPrimitiveOrWrapperWithDoubleWrapperClass"],"options_tfidf":["resolveResourceMatchingEncoding","setDefaultEncoding","setEncodingPropertyName"],"project_name":"spring-framework","source_code_string":"public void setEncoding(String encoding) {\n\t\tthis.encoding = encoding;\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":"encoding","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"=","start_char":18,"line":1},{"index_id":5,"token_group":5,"text":"encoding","start_char":20,"line":1},{"index_id":6,"token_group":6,"text":";","start_char":28,"line":1},{"index_id":7,"token_group":7,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","encoding","=","encoding",";","}"],"uuid":"c51ba018666647899de6a50370186586"},{"cap_original_tokens":["<SENTENCE_START>","{","final","<id>","array","List","<\/id>","<","<id>","test","Proxy","<\/id>",">","<id>","result","<\/id>","=","<id>","my","Cache","<\/id>",".","<id>","get","<\/id>","(","<id>","filter","<\/id>",")",";","if","(","<id>","result","<\/id>","!=","null",")","return","<id>","result","<\/id>",";","final","<id>","array","List","<\/id>","<","<id>","test","Proxy","<\/id>",">","<id>","selected","<\/id>","=","new","<id>","array","List","<\/id>","<","<id>","test","Proxy","<\/id>",">","(",")",";","for","(","final","<id>","test","Proxy","<\/id>","<id>","child","Test","<\/id>",":","<id>","my","List","<\/id>",")","{","if","(","<id>","filter","<\/id>",".","<id>","should","Accept","<\/id>","(","<id>","child","Test","<\/id>",")",")","<id>","selected","<\/id>",".","<id>","add","<\/id>","(","<id>","child","Test","<\/id>",")",";","}","<id>","selected","<\/id>",".","<id>","trim","To","Size","<\/id>","(",")",";","<id>","my","Cache","<\/id>",".","<id>","put","<\/id>","(","<id>","filter","<\/id>",",","<id>","selected","<\/id>",")",";","return","<id>","selected","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"FilterCache.java","formatted_lines":["{"," final ArrayList<TestProxy> result = myCache.get(filter);"," if (result != null) return result;"," final ArrayList<TestProxy> selected = new ArrayList<TestProxy>();"," for (final TestProxy childTest : myList)"," {"," if (filter.shouldAccept(childTest)) selected.add(childTest);"," }"," selected.trimToSize();"," myCache.put(filter, selected);"," return selected;","}"],"function_name":"selectImpl","function_name_tokens":["select","impl"],"id_body_hash":"8a924102530c93149da1695794925faa","id_same_identifier_list":[0,1,2,3,3,4,5,5,6,7,8,9,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,26,27,28,28,29,30,31,32,33,33,34,35,35,36,37,38,39,40,41,42,43,43,44,44,45,46,46,47,48,49,50,51,52,53,53,54,55,55,56,57,58,59,60,61,62,62,63,64,65,66,67,68,68,68,69,70,71,72,72,73,74,75,76,77,78,79,80,81,82,83,84,85],"option_correct":"selectImpl","options":["createImpl","teardownLoadingFilter","unRegisterListeners","selectImpl","impl","loadEntriesFile","doTestImpl"],"options_nlp":["create impl","teardown loading filter","un register listeners","select impl","impl","load entries file","do test impl"],"options_random":["loadEntriesFile","teardownLoadingFilter","unRegisterListeners"],"options_tfidf":["createImpl","impl","doTestImpl"],"project_name":"intellij-community","source_code_string":"private ArrayList<TestProxy> selectImpl(@NotNull final Filter filter) {\n final ArrayList<TestProxy> result = myCache.get(filter);\n if (result != null) return result;\n final ArrayList<TestProxy> selected = new ArrayList<TestProxy>();\n for (final TestProxy childTest : myList) {\n if (filter.shouldAccept(childTest)) selected.add(childTest);\n }\n selected.trimToSize();\n myCache.put(filter, selected);\n return selected;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"final","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"array","start_char":10,"line":1},{"index_id":3,"token_group":3,"text":"List","start_char":15,"line":1},{"index_id":4,"token_group":3,"text":"<","start_char":19,"line":1},{"index_id":5,"token_group":4,"text":"test","start_char":20,"line":1},{"index_id":6,"token_group":5,"text":"Proxy","start_char":24,"line":1},{"index_id":7,"token_group":5,"text":">","start_char":29,"line":1},{"index_id":8,"token_group":6,"text":"result","start_char":31,"line":1},{"index_id":9,"token_group":7,"text":"=","start_char":38,"line":1},{"index_id":10,"token_group":8,"text":"my","start_char":41,"line":1},{"index_id":11,"token_group":9,"text":"Cache","start_char":43,"line":1},{"index_id":12,"token_group":9,"text":".","start_char":48,"line":1},{"index_id":13,"token_group":10,"text":"get","start_char":49,"line":1},{"index_id":14,"token_group":11,"text":"(","start_char":52,"line":1},{"index_id":15,"token_group":12,"text":"filter","start_char":53,"line":1},{"index_id":16,"token_group":13,"text":")","start_char":59,"line":1},{"index_id":17,"token_group":14,"text":";","start_char":60,"line":1},{"index_id":18,"token_group":15,"text":"if","start_char":4,"line":2},{"index_id":19,"token_group":16,"text":"(","start_char":7,"line":2},{"index_id":20,"token_group":17,"text":"result","start_char":8,"line":2},{"index_id":21,"token_group":18,"text":"!=","start_char":15,"line":2},{"index_id":22,"token_group":19,"text":"null","start_char":18,"line":2},{"index_id":23,"token_group":20,"text":")","start_char":22,"line":2},{"index_id":24,"token_group":21,"text":"return","start_char":24,"line":2},{"index_id":25,"token_group":22,"text":"result","start_char":31,"line":2},{"index_id":26,"token_group":23,"text":";","start_char":37,"line":2},{"index_id":27,"token_group":24,"text":"final","start_char":4,"line":3},{"index_id":28,"token_group":25,"text":"array","start_char":10,"line":3},{"index_id":29,"token_group":26,"text":"List","start_char":15,"line":3},{"index_id":30,"token_group":26,"text":"<","start_char":19,"line":3},{"index_id":31,"token_group":27,"text":"test","start_char":20,"line":3},{"index_id":32,"token_group":28,"text":"Proxy","start_char":24,"line":3},{"index_id":33,"token_group":28,"text":">","start_char":29,"line":3},{"index_id":34,"token_group":29,"text":"selected","start_char":31,"line":3},{"index_id":35,"token_group":30,"text":"=","start_char":40,"line":3},{"index_id":36,"token_group":31,"text":"new","start_char":42,"line":3},{"index_id":37,"token_group":32,"text":"array","start_char":46,"line":3},{"index_id":38,"token_group":33,"text":"List","start_char":51,"line":3},{"index_id":39,"token_group":33,"text":"<","start_char":55,"line":3},{"index_id":40,"token_group":34,"text":"test","start_char":56,"line":3},{"index_id":41,"token_group":35,"text":"Proxy","start_char":60,"line":3},{"index_id":42,"token_group":35,"text":">","start_char":65,"line":3},{"index_id":43,"token_group":36,"text":"(","start_char":66,"line":3},{"index_id":44,"token_group":37,"text":")","start_char":67,"line":3},{"index_id":45,"token_group":38,"text":";","start_char":68,"line":3},{"index_id":46,"token_group":39,"text":"for","start_char":4,"line":4},{"index_id":47,"token_group":40,"text":"(","start_char":8,"line":4},{"index_id":48,"token_group":41,"text":"final","start_char":9,"line":4},{"index_id":49,"token_group":42,"text":"test","start_char":15,"line":4},{"index_id":50,"token_group":43,"text":"Proxy","start_char":19,"line":4},{"index_id":51,"token_group":43,"text":"child","start_char":25,"line":4},{"index_id":52,"token_group":44,"text":"Test","start_char":30,"line":4},{"index_id":53,"token_group":44,"text":":","start_char":35,"line":4},{"index_id":54,"token_group":45,"text":"my","start_char":37,"line":4},{"index_id":55,"token_group":46,"text":"List","start_char":39,"line":4},{"index_id":56,"token_group":46,"text":")","start_char":43,"line":4},{"index_id":57,"token_group":47,"text":"{","start_char":4,"line":5},{"index_id":58,"token_group":48,"text":"if","start_char":8,"line":6},{"index_id":59,"token_group":49,"text":"(","start_char":11,"line":6},{"index_id":60,"token_group":50,"text":"filter","start_char":12,"line":6},{"index_id":61,"token_group":51,"text":".","start_char":18,"line":6},{"index_id":62,"token_group":52,"text":"should","start_char":19,"line":6},{"index_id":63,"token_group":53,"text":"Accept","start_char":25,"line":6},{"index_id":64,"token_group":53,"text":"(","start_char":31,"line":6},{"index_id":65,"token_group":54,"text":"child","start_char":32,"line":6},{"index_id":66,"token_group":55,"text":"Test","start_char":37,"line":6},{"index_id":67,"token_group":55,"text":")","start_char":41,"line":6},{"index_id":68,"token_group":56,"text":")","start_char":42,"line":6},{"index_id":69,"token_group":57,"text":"selected","start_char":44,"line":6},{"index_id":70,"token_group":58,"text":".","start_char":52,"line":6},{"index_id":71,"token_group":59,"text":"add","start_char":53,"line":6},{"index_id":72,"token_group":60,"text":"(","start_char":56,"line":6},{"index_id":73,"token_group":61,"text":"child","start_char":57,"line":6},{"index_id":74,"token_group":62,"text":"Test","start_char":62,"line":6},{"index_id":75,"token_group":62,"text":")","start_char":66,"line":6},{"index_id":76,"token_group":63,"text":";","start_char":67,"line":6},{"index_id":77,"token_group":64,"text":"}","start_char":4,"line":7},{"index_id":78,"token_group":65,"text":"selected","start_char":4,"line":8},{"index_id":79,"token_group":66,"text":".","start_char":12,"line":8},{"index_id":80,"token_group":67,"text":"trim","start_char":13,"line":8},{"index_id":81,"token_group":68,"text":"To","start_char":17,"line":8},{"index_id":82,"token_group":68,"text":"Size","start_char":19,"line":8},{"index_id":83,"token_group":68,"text":"(","start_char":23,"line":8},{"index_id":84,"token_group":69,"text":")","start_char":24,"line":8},{"index_id":85,"token_group":70,"text":";","start_char":25,"line":8},{"index_id":86,"token_group":71,"text":"my","start_char":4,"line":9},{"index_id":87,"token_group":72,"text":"Cache","start_char":6,"line":9},{"index_id":88,"token_group":72,"text":".","start_char":11,"line":9},{"index_id":89,"token_group":73,"text":"put","start_char":12,"line":9},{"index_id":90,"token_group":74,"text":"(","start_char":15,"line":9},{"index_id":91,"token_group":75,"text":"filter","start_char":16,"line":9},{"index_id":92,"token_group":76,"text":",","start_char":22,"line":9},{"index_id":93,"token_group":77,"text":"selected","start_char":24,"line":9},{"index_id":94,"token_group":78,"text":")","start_char":32,"line":9},{"index_id":95,"token_group":79,"text":";","start_char":33,"line":9},{"index_id":96,"token_group":80,"text":"return","start_char":4,"line":10},{"index_id":97,"token_group":81,"text":"selected","start_char":11,"line":10},{"index_id":98,"token_group":82,"text":";","start_char":19,"line":10},{"index_id":99,"token_group":83,"text":"}","start_char":0,"line":11}],"tokens_list":["{","final","array","List","<","test","Proxy",">","result","=","my","Cache",".","get","(","filter",")",";","if","(","result","!=","null",")","return","result",";","final","array","List","<","test","Proxy",">","selected","=","new","array","List","<","test","Proxy",">","(",")",";","for","(","final","test","Proxy","child","Test",":","my","List",")","{","if","(","filter",".","should","Accept","(","child","Test",")",")","selected",".","add","(","child","Test",")",";","}","selected",".","trim","To","Size","(",")",";","my","Cache",".","put","(","filter",",","selected",")",";","return","selected",";","}"],"uuid":"efe4cf7f7780d4a8f2257e69791ff6a0"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","legacy","Local","Repository","Manager","<\/id>",".","<id>","overlay","<\/id>","(","<id>","local","Repository","<\/id>",",","<id>","legacy","Support","<\/id>",".","<id>","get","Repository","Session","<\/id>","(",")",",","<id>","repo","System","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"CustomMaven3ArtifactResolver.java","formatted_lines":["{"," return LegacyLocalRepositoryManager.overlay( localRepository,"," legacySupport.getRepositorySession(), repoSystem );","}"],"function_name":"getSession","function_name_tokens":["get","session"],"id_body_hash":"d58d1f36ba647954185989524a1d80c4","id_same_identifier_list":[0,1,2,3,3,3,3,4,5,6,7,7,8,9,9,10,11,11,11,12,13,14,15,15,16,17,18,19],"option_correct":"getSession","options":["testCallMethod","createConfigurationSettings","getSessionId","getHighlightingSession","doneStr","getSession","getAnnotationSession"],"options_nlp":["test call method","create configuration settings","get session id","get highlighting session","done str","get session","get annotation session"],"options_random":["testCallMethod","doneStr","createConfigurationSettings"],"options_tfidf":["getSessionId","getAnnotationSession","getHighlightingSession"],"project_name":"intellij-community","source_code_string":"private RepositorySystemSession getSession(ArtifactRepository localRepository) {\n return LegacyLocalRepositoryManager.overlay( localRepository, legacySupport.getRepositorySession(), repoSystem );\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":"legacy","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Local","start_char":17,"line":1},{"index_id":4,"token_group":3,"text":"Repository","start_char":22,"line":1},{"index_id":5,"token_group":3,"text":"Manager","start_char":32,"line":1},{"index_id":6,"token_group":3,"text":".","start_char":39,"line":1},{"index_id":7,"token_group":4,"text":"overlay","start_char":40,"line":1},{"index_id":8,"token_group":5,"text":"(","start_char":47,"line":1},{"index_id":9,"token_group":6,"text":"local","start_char":49,"line":1},{"index_id":10,"token_group":7,"text":"Repository","start_char":54,"line":1},{"index_id":11,"token_group":7,"text":",","start_char":64,"line":1},{"index_id":12,"token_group":8,"text":"legacy","start_char":12,"line":2},{"index_id":13,"token_group":9,"text":"Support","start_char":18,"line":2},{"index_id":14,"token_group":9,"text":".","start_char":25,"line":2},{"index_id":15,"token_group":10,"text":"get","start_char":26,"line":2},{"index_id":16,"token_group":11,"text":"Repository","start_char":29,"line":2},{"index_id":17,"token_group":11,"text":"Session","start_char":39,"line":2},{"index_id":18,"token_group":11,"text":"(","start_char":46,"line":2},{"index_id":19,"token_group":12,"text":")","start_char":47,"line":2},{"index_id":20,"token_group":13,"text":",","start_char":48,"line":2},{"index_id":21,"token_group":14,"text":"repo","start_char":50,"line":2},{"index_id":22,"token_group":15,"text":"System","start_char":54,"line":2},{"index_id":23,"token_group":15,"text":")","start_char":61,"line":2},{"index_id":24,"token_group":16,"text":";","start_char":62,"line":2},{"index_id":25,"token_group":17,"text":"}","start_char":0,"line":3}],"tokens_list":["{","return","legacy","Local","Repository","Manager",".","overlay","(","local","Repository",",","legacy","Support",".","get","Repository","Session","(",")",",","repo","System",")",";","}"],"uuid":"e9f80f24294f11f3b6b08ba158773bf6"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","conf","<\/id>","=","new","<id>","configuration","<\/id>","(",")",";","<id>","conf","<\/id>",".","<id>","set","Boolean","<\/id>","(","<id>","dfs","Config","Keys","<\/id>",".","<id>","dfs","Namenode","Xattrs","Enabled","Key","<\/id>",",","true",")",";","<id>","cluster","<\/id>","=","new","<id>","mini","Dfs","Cluster","<\/id>",".","<id>","builder","<\/id>","(","<id>","conf","<\/id>",")",".","<id>","num","Data","Nodes","<\/id>","(","1",")",".","<id>","format","<\/id>","(","true",")",".","<id>","build","<\/id>","(",")",";","<id>","cluster","<\/id>",".","<id>","wait","Active","<\/id>","(",")",";","<id>","fs","<\/id>","=","<id>","cluster","<\/id>",".","<id>","get","File","System","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"TestDistCpWithRawXAttrs.java","formatted_lines":["{"," conf = new Configuration();"," conf.setBoolean(DFSConfigKeys.DFS_NAMENODE_XATTRS_ENABLED_KEY, true);"," cluster = new MiniDFSCluster.Builder(conf).numDataNodes(1).format(true)"," .build();"," cluster.waitActive();"," fs = cluster.getFileSystem();","}"],"function_name":"init","function_name_tokens":["init"],"id_body_hash":"3e736e952cd07d828798479038aa6798","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,11,12,13,13,13,14,15,15,15,15,15,16,17,18,19,20,21,22,23,23,23,24,25,26,27,28,29,30,30,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,54,54,55,56,57,58,59],"option_correct":"init","options":["init","testGzipCodecRead","failedInit","testNMShutdownForRegistrationFailure","initConfiguration","refreshNNList","initContainers"],"options_nlp":["init","test gzip codec read","failed init","test nm shutdown for registration failure","init configuration","refresh nn list","init containers"],"options_random":["testGzipCodecRead","refreshNNList","testNMShutdownForRegistrationFailure"],"options_tfidf":["failedInit","initConfiguration","initContainers"],"project_name":"hadoop-common","source_code_string":"@BeforeClass\n public static void init() throws Exception {\n conf = new Configuration();\n conf.setBoolean(DFSConfigKeys.DFS_NAMENODE_XATTRS_ENABLED_KEY, true);\n cluster = new MiniDFSCluster.Builder(conf).numDataNodes(1).format(true)\n .build();\n cluster.waitActive();\n fs = cluster.getFileSystem();\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"conf","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"=","start_char":9,"line":1},{"index_id":3,"token_group":3,"text":"new","start_char":11,"line":1},{"index_id":4,"token_group":4,"text":"configuration","start_char":15,"line":1},{"index_id":5,"token_group":5,"text":"(","start_char":28,"line":1},{"index_id":6,"token_group":6,"text":")","start_char":29,"line":1},{"index_id":7,"token_group":7,"text":";","start_char":30,"line":1},{"index_id":8,"token_group":8,"text":"conf","start_char":4,"line":2},{"index_id":9,"token_group":9,"text":".","start_char":8,"line":2},{"index_id":10,"token_group":10,"text":"set","start_char":9,"line":2},{"index_id":11,"token_group":11,"text":"Boolean","start_char":12,"line":2},{"index_id":12,"token_group":11,"text":"(","start_char":19,"line":2},{"index_id":13,"token_group":12,"text":"dfs","start_char":20,"line":2},{"index_id":14,"token_group":13,"text":"Config","start_char":23,"line":2},{"index_id":15,"token_group":13,"text":"Keys","start_char":29,"line":2},{"index_id":16,"token_group":13,"text":".","start_char":33,"line":2},{"index_id":17,"token_group":14,"text":"dfs","start_char":34,"line":2},{"index_id":18,"token_group":15,"text":"Namenode","start_char":38,"line":2},{"index_id":19,"token_group":15,"text":"Xattrs","start_char":47,"line":2},{"index_id":20,"token_group":15,"text":"Enabled","start_char":54,"line":2},{"index_id":21,"token_group":15,"text":"Key","start_char":62,"line":2},{"index_id":22,"token_group":15,"text":",","start_char":65,"line":2},{"index_id":23,"token_group":16,"text":"true","start_char":67,"line":2},{"index_id":24,"token_group":17,"text":")","start_char":71,"line":2},{"index_id":25,"token_group":18,"text":";","start_char":72,"line":2},{"index_id":26,"token_group":19,"text":"cluster","start_char":4,"line":3},{"index_id":27,"token_group":20,"text":"=","start_char":12,"line":3},{"index_id":28,"token_group":21,"text":"new","start_char":14,"line":3},{"index_id":29,"token_group":22,"text":"mini","start_char":18,"line":3},{"index_id":30,"token_group":23,"text":"Dfs","start_char":22,"line":3},{"index_id":31,"token_group":23,"text":"Cluster","start_char":25,"line":3},{"index_id":32,"token_group":23,"text":".","start_char":32,"line":3},{"index_id":33,"token_group":24,"text":"builder","start_char":33,"line":3},{"index_id":34,"token_group":25,"text":"(","start_char":40,"line":3},{"index_id":35,"token_group":26,"text":"conf","start_char":41,"line":3},{"index_id":36,"token_group":27,"text":")","start_char":45,"line":3},{"index_id":37,"token_group":28,"text":".","start_char":46,"line":3},{"index_id":38,"token_group":29,"text":"num","start_char":47,"line":3},{"index_id":39,"token_group":30,"text":"Data","start_char":50,"line":3},{"index_id":40,"token_group":30,"text":"Nodes","start_char":54,"line":3},{"index_id":41,"token_group":30,"text":"(","start_char":59,"line":3},{"index_id":42,"token_group":31,"text":"1","start_char":60,"line":3},{"index_id":43,"token_group":32,"text":")","start_char":61,"line":3},{"index_id":44,"token_group":33,"text":".","start_char":62,"line":3},{"index_id":45,"token_group":34,"text":"format","start_char":63,"line":3},{"index_id":46,"token_group":35,"text":"(","start_char":69,"line":3},{"index_id":47,"token_group":36,"text":"true","start_char":70,"line":3},{"index_id":48,"token_group":37,"text":")","start_char":74,"line":3},{"index_id":49,"token_group":38,"text":".","start_char":4,"line":4},{"index_id":50,"token_group":39,"text":"build","start_char":5,"line":4},{"index_id":51,"token_group":40,"text":"(","start_char":10,"line":4},{"index_id":52,"token_group":41,"text":")","start_char":11,"line":4},{"index_id":53,"token_group":42,"text":";","start_char":12,"line":4},{"index_id":54,"token_group":43,"text":"cluster","start_char":4,"line":5},{"index_id":55,"token_group":44,"text":".","start_char":11,"line":5},{"index_id":56,"token_group":45,"text":"wait","start_char":12,"line":5},{"index_id":57,"token_group":46,"text":"Active","start_char":16,"line":5},{"index_id":58,"token_group":46,"text":"(","start_char":22,"line":5},{"index_id":59,"token_group":47,"text":")","start_char":23,"line":5},{"index_id":60,"token_group":48,"text":";","start_char":24,"line":5},{"index_id":61,"token_group":49,"text":"fs","start_char":4,"line":6},{"index_id":62,"token_group":50,"text":"=","start_char":7,"line":6},{"index_id":63,"token_group":51,"text":"cluster","start_char":9,"line":6},{"index_id":64,"token_group":52,"text":".","start_char":16,"line":6},{"index_id":65,"token_group":53,"text":"get","start_char":17,"line":6},{"index_id":66,"token_group":54,"text":"File","start_char":20,"line":6},{"index_id":67,"token_group":54,"text":"System","start_char":24,"line":6},{"index_id":68,"token_group":54,"text":"(","start_char":30,"line":6},{"index_id":69,"token_group":55,"text":")","start_char":31,"line":6},{"index_id":70,"token_group":56,"text":";","start_char":32,"line":6},{"index_id":71,"token_group":57,"text":"}","start_char":0,"line":7}],"tokens_list":["{","conf","=","new","configuration","(",")",";","conf",".","set","Boolean","(","dfs","Config","Keys",".","dfs","Namenode","Xattrs","Enabled","Key",",","true",")",";","cluster","=","new","mini","Dfs","Cluster",".","builder","(","conf",")",".","num","Data","Nodes","(","1",")",".","format","(","true",")",".","build","(",")",";","cluster",".","wait","Active","(",")",";","fs","=","cluster",".","get","File","System","(",")",";","}"],"uuid":"4a907f0d8a5f7fcc10af383a449583a9"},{"cap_original_tokens":["<SENTENCE_START>","{","if","(","<id>","is","Disposed","<\/id>","(",")",")","return","null",";","<id>","abstract","Tree","Updater","<\/id>","<id>","updater","<\/id>","=","new","<id>","abstract","Tree","Updater","<\/id>","(","this",")",";","<id>","updater","<\/id>",".","<id>","set","Modality","State","Component","<\/id>","(","<id>","merging","Update","Queue","<\/id>",".","<id>","any","Component","<\/id>",")",";","return","<id>","updater","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"AbstractTreeBuilder.java","formatted_lines":["{"," if (isDisposed()) return null;",""," AbstractTreeUpdater updater = new AbstractTreeUpdater(this);"," updater.setModalityStateComponent(MergingUpdateQueue.ANY_COMPONENT);"," return updater;","}"],"function_name":"createUpdater","function_name_tokens":["create","updater"],"id_body_hash":"ef554772eef86219cf5f5e164f39e7c4","id_same_identifier_list":[0,1,2,3,4,4,5,6,7,8,9,10,11,11,11,12,13,14,15,15,15,16,17,18,19,20,21,22,22,22,22,23,24,24,24,25,26,26,27,28,29,30,31,32,33],"option_correct":"createUpdater","options":["testInheritedMethod","getFacetsProvider","createUpdater","isCreate","testFindUsagesInProject","create","_createUpdater"],"options_nlp":["test inherited method","get facets provider","create updater","is create","test find usages in project","create"," create updater"],"options_random":["testInheritedMethod","getFacetsProvider","testFindUsagesInProject"],"options_tfidf":["create","_createUpdater","isCreate"],"project_name":"intellij-community","source_code_string":"@Nullable\n protected AbstractTreeUpdater createUpdater() {\n if (isDisposed()) return null;\n\n AbstractTreeUpdater updater = new AbstractTreeUpdater(this);\n updater.setModalityStateComponent(MergingUpdateQueue.ANY_COMPONENT);\n return updater;\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":"is","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"Disposed","start_char":10,"line":1},{"index_id":5,"token_group":4,"text":"(","start_char":18,"line":1},{"index_id":6,"token_group":5,"text":")","start_char":19,"line":1},{"index_id":7,"token_group":6,"text":")","start_char":20,"line":1},{"index_id":8,"token_group":7,"text":"return","start_char":22,"line":1},{"index_id":9,"token_group":8,"text":"null","start_char":29,"line":1},{"index_id":10,"token_group":9,"text":";","start_char":33,"line":1},{"index_id":11,"token_group":10,"text":"abstract","start_char":4,"line":3},{"index_id":12,"token_group":11,"text":"Tree","start_char":12,"line":3},{"index_id":13,"token_group":11,"text":"Updater","start_char":16,"line":3},{"index_id":14,"token_group":11,"text":"updater","start_char":24,"line":3},{"index_id":15,"token_group":12,"text":"=","start_char":32,"line":3},{"index_id":16,"token_group":13,"text":"new","start_char":34,"line":3},{"index_id":17,"token_group":14,"text":"abstract","start_char":38,"line":3},{"index_id":18,"token_group":15,"text":"Tree","start_char":46,"line":3},{"index_id":19,"token_group":15,"text":"Updater","start_char":50,"line":3},{"index_id":20,"token_group":15,"text":"(","start_char":57,"line":3},{"index_id":21,"token_group":16,"text":"this","start_char":58,"line":3},{"index_id":22,"token_group":17,"text":")","start_char":62,"line":3},{"index_id":23,"token_group":18,"text":";","start_char":63,"line":3},{"index_id":24,"token_group":19,"text":"updater","start_char":4,"line":4},{"index_id":25,"token_group":20,"text":".","start_char":11,"line":4},{"index_id":26,"token_group":21,"text":"set","start_char":12,"line":4},{"index_id":27,"token_group":22,"text":"Modality","start_char":15,"line":4},{"index_id":28,"token_group":22,"text":"State","start_char":23,"line":4},{"index_id":29,"token_group":22,"text":"Component","start_char":28,"line":4},{"index_id":30,"token_group":22,"text":"(","start_char":37,"line":4},{"index_id":31,"token_group":23,"text":"merging","start_char":38,"line":4},{"index_id":32,"token_group":24,"text":"Update","start_char":45,"line":4},{"index_id":33,"token_group":24,"text":"Queue","start_char":51,"line":4},{"index_id":34,"token_group":24,"text":".","start_char":56,"line":4},{"index_id":35,"token_group":25,"text":"any","start_char":57,"line":4},{"index_id":36,"token_group":26,"text":"Component","start_char":61,"line":4},{"index_id":37,"token_group":26,"text":")","start_char":70,"line":4},{"index_id":38,"token_group":27,"text":";","start_char":71,"line":4},{"index_id":39,"token_group":28,"text":"return","start_char":4,"line":5},{"index_id":40,"token_group":29,"text":"updater","start_char":11,"line":5},{"index_id":41,"token_group":30,"text":";","start_char":18,"line":5},{"index_id":42,"token_group":31,"text":"}","start_char":0,"line":6}],"tokens_list":["{","if","(","is","Disposed","(",")",")","return","null",";","abstract","Tree","Updater","updater","=","new","abstract","Tree","Updater","(","this",")",";","updater",".","set","Modality","State","Component","(","merging","Update","Queue",".","any","Component",")",";","return","updater",";","}"],"uuid":"8c25fd9d31b3580db370ca22709c6ce7"},{"cap_original_tokens":["<SENTENCE_START>","{","return","this",".","<id>","block","Size","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"TarBuffer.java","formatted_lines":["{"," return this.blockSize;","}"],"function_name":"getBlockSize","function_name_tokens":["get","block","size"],"id_body_hash":"87dba72a51f045e5aaf4fdff9b808dd2","id_same_identifier_list":[0,1,2,3,4,5,5,6,7,8],"option_correct":"getBlockSize","options":["processModTimeResponse","getYSize","getXSize","getLambda","getSize","replaceFunction","getBlockSize"],"options_nlp":["process mod time response","get y size","get x size","get lambda","get size","replace function","get block size"],"options_random":["processModTimeResponse","replaceFunction","getLambda"],"options_tfidf":["getXSize","getYSize","getSize"],"project_name":"intellij-community","source_code_string":"public int getBlockSize() {\n return this.blockSize;\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":"block","start_char":16,"line":1},{"index_id":5,"token_group":5,"text":"Size","start_char":21,"line":1},{"index_id":6,"token_group":5,"text":";","start_char":25,"line":1},{"index_id":7,"token_group":6,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","this",".","block","Size",";","}"],"uuid":"30f081ffb11d8616b44061f38b62dcd2"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","expando","Row","Local","Service","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"BookmarksFolderServiceBaseImpl.java","formatted_lines":["{"," return expandoRowLocalService;","}"],"function_name":"getExpandoRowLocalService","function_name_tokens":["get","expando","row","local","service"],"id_body_hash":"0ef8acc5124a84804ad5ef0bf69f7321","id_same_identifier_list":[0,1,2,3,3,3,3,4,5,6],"option_correct":"getExpandoRowLocalService","options":["getExpandoValueLocalService","isDefaultDatabase","setExpandoRowLocalService","getExpandoRowLocalService","getInlineLabel","setExpandoValueLocalService","setPasswordPolicyService"],"options_nlp":["get expando value local service","is default database","set expando row local service","get expando row local service","get inline label","set expando value local service","set password policy service"],"options_random":["isDefaultDatabase","getInlineLabel","setPasswordPolicyService"],"options_tfidf":["setExpandoRowLocalService","getExpandoValueLocalService","setExpandoValueLocalService"],"project_name":"liferay-portal","source_code_string":"public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {\n\t\treturn expandoRowLocalService;\n\t}","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":"expando","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Row","start_char":18,"line":1},{"index_id":4,"token_group":3,"text":"Local","start_char":21,"line":1},{"index_id":5,"token_group":3,"text":"Service","start_char":26,"line":1},{"index_id":6,"token_group":3,"text":";","start_char":33,"line":1},{"index_id":7,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","expando","Row","Local","Service",";","}"],"uuid":"75749e6a491ee5f8fbe106d0c82ea7f8"}]