-
Notifications
You must be signed in to change notification settings - Fork 1
/
experiment_0000073.json
1 lines (1 loc) · 177 KB
/
experiment_0000073.json
1
[{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","max","Query","Terms","<\/id>","=","<id>","max","Query","Terms","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"MoreLikeThisQuery.java","formatted_lines":["{"," this.maxQueryTerms = maxQueryTerms;","}"],"function_name":"setMaxQueryTerms","function_name_tokens":["set","max","query","terms"],"id_body_hash":"7149fc65b5a90c06d6cefa68fbc50e31","id_same_identifier_list":[0,1,2,3,4,4,4,5,6,6,6,7,8,9],"option_correct":"setMaxQueryTerms","options":["setMaxQueryTerms","queryTerms","readQueryFetchSearchResult","setQuery","testTermsQuery","setRoutingTable","testToQueryNumericRangeQuery"],"options_nlp":["set max query terms","query terms","read query fetch search result","set query","test terms query","set routing table","test to query numeric range query"],"options_random":["readQueryFetchSearchResult","setRoutingTable","testToQueryNumericRangeQuery"],"options_tfidf":["setQuery","testTermsQuery","queryTerms"],"project_name":"elasticsearch","source_code_string":"public void setMaxQueryTerms(int maxQueryTerms) {\n this.maxQueryTerms = maxQueryTerms;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"this","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":8,"line":1},{"index_id":3,"token_group":3,"text":"max","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"Query","start_char":12,"line":1},{"index_id":5,"token_group":4,"text":"Terms","start_char":17,"line":1},{"index_id":6,"token_group":4,"text":"=","start_char":23,"line":1},{"index_id":7,"token_group":5,"text":"max","start_char":25,"line":1},{"index_id":8,"token_group":6,"text":"Query","start_char":28,"line":1},{"index_id":9,"token_group":6,"text":"Terms","start_char":33,"line":1},{"index_id":10,"token_group":6,"text":";","start_char":38,"line":1},{"index_id":11,"token_group":7,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","max","Query","Terms","=","max","Query","Terms",";","}"],"uuid":"3d21d0eedca8b5c092a84718c30d8436"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","orc","Stream","Buffer","Size","<\/id>","=","<id>","orc","Stream","Buffer","Size","<\/id>",";","return","this",";","}","<SENTENCE_END\/>"],"file_name":"HiveClientConfig.java","formatted_lines":["{"," this.orcStreamBufferSize = orcStreamBufferSize;"," return this;","}"],"function_name":"setOrcStreamBufferSize","function_name_tokens":["set","orc","stream","buffer","size"],"id_body_hash":"5ffcf11ffb6b0b9dace334cc09bbc4fb","id_same_identifier_list":[0,1,2,3,4,4,4,4,5,6,6,6,6,7,8,9,10,11,12],"option_correct":"setOrcStreamBufferSize","options":["setOrcStreamBufferSize","setSinkMaxBufferSize","hexDigitCharToInt","testExactMatchBeforeCoercion","setKafkaBufferSize","setOrcMaxBufferSize","isAlwaysReport"],"options_nlp":["set orc stream buffer size","set sink max buffer size","hex digit char to int","test exact match before coercion","set kafka buffer size","set orc max buffer size","is always report"],"options_random":["isAlwaysReport","hexDigitCharToInt","testExactMatchBeforeCoercion"],"options_tfidf":["setOrcMaxBufferSize","setKafkaBufferSize","setSinkMaxBufferSize"],"project_name":"presto","source_code_string":"@Config(\"hive.orc.stream-buffer-size\")\n public HiveClientConfig setOrcStreamBufferSize(DataSize orcStreamBufferSize)\n {\n this.orcStreamBufferSize = orcStreamBufferSize;\n return this;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"this","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":8,"line":1},{"index_id":3,"token_group":3,"text":"orc","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"Stream","start_char":12,"line":1},{"index_id":5,"token_group":4,"text":"Buffer","start_char":18,"line":1},{"index_id":6,"token_group":4,"text":"Size","start_char":24,"line":1},{"index_id":7,"token_group":4,"text":"=","start_char":29,"line":1},{"index_id":8,"token_group":5,"text":"orc","start_char":31,"line":1},{"index_id":9,"token_group":6,"text":"Stream","start_char":34,"line":1},{"index_id":10,"token_group":6,"text":"Buffer","start_char":40,"line":1},{"index_id":11,"token_group":6,"text":"Size","start_char":46,"line":1},{"index_id":12,"token_group":6,"text":";","start_char":50,"line":1},{"index_id":13,"token_group":7,"text":"return","start_char":4,"line":2},{"index_id":14,"token_group":8,"text":"this","start_char":11,"line":2},{"index_id":15,"token_group":9,"text":";","start_char":15,"line":2},{"index_id":16,"token_group":10,"text":"}","start_char":0,"line":3}],"tokens_list":["{","this",".","orc","Stream","Buffer","Size","=","orc","Stream","Buffer","Size",";","return","this",";","}"],"uuid":"3da6377a64d6028a6dfe4c92064277db"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","completed","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"CompactionInfo.java","formatted_lines":["{"," return completed;","}"],"function_name":"getCompleted","function_name_tokens":["get","completed"],"id_body_hash":"e347dac676409501f40f5b426ec8a50b","id_same_identifier_list":[0,1,2,3,4,5,6],"option_correct":"getCompleted","options":["getCompletedTasks","getCompleted","get","nonSortedAdditionTestWithOneRangeWithEmptyEnd","getTotalCompactionsCompleted","from","createRangeTombstoneIterator"],"options_nlp":["get completed tasks","get completed","get","non sorted addition test with one range with empty end","get total compactions completed","from","create range tombstone iterator"],"options_random":["nonSortedAdditionTestWithOneRangeWithEmptyEnd","from","createRangeTombstoneIterator"],"options_tfidf":["get","getTotalCompactionsCompleted","getCompletedTasks"],"project_name":"cassandra","source_code_string":"public long getCompleted()\n {\n return completed;\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":"completed","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":";","start_char":20,"line":1},{"index_id":4,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","completed",";","}"],"uuid":"d353bbc95ace82764ee20c9e47b23fc6"},{"cap_original_tokens":["<SENTENCE_START>","{","if","(","<id>","my","Current","Row","<\/id>","==","null",")","{","<id>","my","Current","Row","<\/id>","=","new","<id>","array","List","<\/id>","<","<id>","diff","Fragment","<\/id>",">","(",")",";","<id>","my","Rows","<\/id>",".","<id>","add","<\/id>","(","<id>","my","Current","Row","<\/id>",")",";","}","}","<SENTENCE_END\/>"],"file_name":"List2D.java","formatted_lines":["{"," if (myCurrentRow == null)"," {"," myCurrentRow = new ArrayList<DiffFragment>();"," myRows.add(myCurrentRow);"," }","}"],"function_name":"ensureRowExists","function_name_tokens":["ensure","row","exists"],"id_body_hash":"7b5c5b8dabf6e48efd94996a6af24ad2","id_same_identifier_list":[0,1,2,3,4,4,4,5,6,7,8,9,9,9,10,11,12,12,13,14,14,15,16,17,18,19,19,20,21,22,23,23,23,24,25,26,27,28],"option_correct":"ensureRowExists","options":["ensureRowExists","exists","markEverythingDirty","isSearchInLocationString","ensureToolWindowExists","ensureNamespaceExists","loadCommittedChanges"],"options_nlp":["ensure row exists","exists","mark everything dirty","is search in location string","ensure tool window exists","ensure namespace exists","load committed changes"],"options_random":["markEverythingDirty","loadCommittedChanges","isSearchInLocationString"],"options_tfidf":["ensureNamespaceExists","ensureToolWindowExists","exists"],"project_name":"intellij-community","source_code_string":"private void ensureRowExists() {\n if (myCurrentRow == null) {\n myCurrentRow = new ArrayList<DiffFragment>();\n myRows.add(myCurrentRow);\n }\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"if","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"(","start_char":7,"line":1},{"index_id":3,"token_group":3,"text":"my","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"Current","start_char":10,"line":1},{"index_id":5,"token_group":4,"text":"Row","start_char":17,"line":1},{"index_id":6,"token_group":4,"text":"==","start_char":21,"line":1},{"index_id":7,"token_group":5,"text":"null","start_char":24,"line":1},{"index_id":8,"token_group":6,"text":")","start_char":28,"line":1},{"index_id":9,"token_group":7,"text":"{","start_char":4,"line":2},{"index_id":10,"token_group":8,"text":"my","start_char":8,"line":3},{"index_id":11,"token_group":9,"text":"Current","start_char":10,"line":3},{"index_id":12,"token_group":9,"text":"Row","start_char":17,"line":3},{"index_id":13,"token_group":9,"text":"=","start_char":21,"line":3},{"index_id":14,"token_group":10,"text":"new","start_char":23,"line":3},{"index_id":15,"token_group":11,"text":"array","start_char":27,"line":3},{"index_id":16,"token_group":12,"text":"List","start_char":32,"line":3},{"index_id":17,"token_group":12,"text":"<","start_char":36,"line":3},{"index_id":18,"token_group":13,"text":"diff","start_char":37,"line":3},{"index_id":19,"token_group":14,"text":"Fragment","start_char":41,"line":3},{"index_id":20,"token_group":14,"text":">","start_char":49,"line":3},{"index_id":21,"token_group":15,"text":"(","start_char":50,"line":3},{"index_id":22,"token_group":16,"text":")","start_char":51,"line":3},{"index_id":23,"token_group":17,"text":";","start_char":52,"line":3},{"index_id":24,"token_group":18,"text":"my","start_char":8,"line":4},{"index_id":25,"token_group":19,"text":"Rows","start_char":10,"line":4},{"index_id":26,"token_group":19,"text":".","start_char":14,"line":4},{"index_id":27,"token_group":20,"text":"add","start_char":15,"line":4},{"index_id":28,"token_group":21,"text":"(","start_char":18,"line":4},{"index_id":29,"token_group":22,"text":"my","start_char":19,"line":4},{"index_id":30,"token_group":23,"text":"Current","start_char":21,"line":4},{"index_id":31,"token_group":23,"text":"Row","start_char":28,"line":4},{"index_id":32,"token_group":23,"text":")","start_char":31,"line":4},{"index_id":33,"token_group":24,"text":";","start_char":32,"line":4},{"index_id":34,"token_group":25,"text":"}","start_char":4,"line":5},{"index_id":35,"token_group":26,"text":"}","start_char":0,"line":6}],"tokens_list":["{","if","(","my","Current","Row","==","null",")","{","my","Current","Row","=","new","array","List","<","diff","Fragment",">","(",")",";","my","Rows",".","add","(","my","Current","Row",")",";","}","}"],"uuid":"1fe01a8a69668715f95be3a0d68d6396"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","get","Registry","Value","<\/id>","(",")",".","<id>","set","Value","<\/id>","(","false",")",";","}","<SENTENCE_END\/>"],"file_name":"ClassFilesIndexFeature.java","formatted_lines":["{"," getRegistryValue().setValue(false);","}"],"function_name":"disable","function_name_tokens":["disable"],"id_body_hash":"f301473ad4cffc23ce4fb896fad807ca","id_same_identifier_list":[0,1,2,2,2,3,4,5,6,6,7,8,9,10,11,12],"option_correct":"disable","options":["disable","isAnimationEnabled","zzScanError","testPrimitiveComparison","testInference3","disableLink","testDisableInstrumenting"],"options_nlp":["disable","is animation enabled","zz scan error","test primitive comparison","test inference 3","disable link","test disable instrumenting"],"options_random":["testInference3","isAnimationEnabled","testPrimitiveComparison"],"options_tfidf":["disableLink","zzScanError","testDisableInstrumenting"],"project_name":"intellij-community","source_code_string":"public void disable() {\n getRegistryValue().setValue(false);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"get","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Registry","start_char":7,"line":1},{"index_id":3,"token_group":2,"text":"Value","start_char":15,"line":1},{"index_id":4,"token_group":2,"text":"(","start_char":20,"line":1},{"index_id":5,"token_group":3,"text":")","start_char":21,"line":1},{"index_id":6,"token_group":4,"text":".","start_char":22,"line":1},{"index_id":7,"token_group":5,"text":"set","start_char":23,"line":1},{"index_id":8,"token_group":6,"text":"Value","start_char":26,"line":1},{"index_id":9,"token_group":6,"text":"(","start_char":31,"line":1},{"index_id":10,"token_group":7,"text":"false","start_char":32,"line":1},{"index_id":11,"token_group":8,"text":")","start_char":37,"line":1},{"index_id":12,"token_group":9,"text":";","start_char":38,"line":1},{"index_id":13,"token_group":10,"text":"}","start_char":0,"line":2}],"tokens_list":["{","get","Registry","Value","(",")",".","set","Value","(","false",")",";","}"],"uuid":"cdc9c1a6e5afe00716cdac8da631c7be"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","subscription","Local","Service","<\/id>","=","<id>","subscription","Local","Service","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"MBThreadLocalServiceBaseImpl.java","formatted_lines":["{"," this.subscriptionLocalService = subscriptionLocalService;","}"],"function_name":"setSubscriptionLocalService","function_name_tokens":["set","subscription","local","service"],"id_body_hash":"0c1132148b45423a76daa25dfdc26ae1","id_same_identifier_list":[0,1,2,3,4,4,4,5,6,6,6,7,8,9],"option_correct":"setSubscriptionLocalService","options":["getSubscriptionLocalService","validateLayout","setSubscriptionLocalService","setLayoutSetLocalService","getJavaFileName","setLayoutLocalService","testCountByLayoutSetBranchId"],"options_nlp":["get subscription local service","validate layout","set subscription local service","set layout set local service","get java file name","set layout local service","test count by layout set branch id"],"options_random":["getJavaFileName","validateLayout","testCountByLayoutSetBranchId"],"options_tfidf":["getSubscriptionLocalService","setLayoutSetLocalService","setLayoutLocalService"],"project_name":"liferay-portal","source_code_string":"public void setSubscriptionLocalService(\n\t\tcom.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {\n\t\tthis.subscriptionLocalService = subscriptionLocalService;\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":"subscription","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"Local","start_char":21,"line":1},{"index_id":5,"token_group":4,"text":"Service","start_char":26,"line":1},{"index_id":6,"token_group":4,"text":"=","start_char":34,"line":1},{"index_id":7,"token_group":5,"text":"subscription","start_char":36,"line":1},{"index_id":8,"token_group":6,"text":"Local","start_char":48,"line":1},{"index_id":9,"token_group":6,"text":"Service","start_char":53,"line":1},{"index_id":10,"token_group":6,"text":";","start_char":60,"line":1},{"index_id":11,"token_group":7,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","subscription","Local","Service","=","subscription","Local","Service",";","}"],"uuid":"744853021dbb2ce7f4c187be4497a131"},{"cap_original_tokens":["<SENTENCE_START>","{","if","(","<id>","extra","<\/id>","==","null",")","{","return",";","}","for","(","<id>","map","<\/id>",".","<id>","entry","<\/id>","<","<id>","string","<\/id>",",","?",">","<id>","entry","<\/id>",":","<id>","extra","<\/id>",".","<id>","entry","Set","<\/id>","(",")",")","{","<id>","writer","<\/id>",".","<id>","attribute","<\/id>","(","<id>","entry","<\/id>",".","<id>","get","Key","<\/id>","(",")",",","<id>","entry","<\/id>",".","<id>","get","Value","<\/id>","(",")",".","<id>","to","String","<\/id>","(",")",")",";","}","}","<SENTENCE_END\/>"],"file_name":"IvyXmlModuleDescriptorWriter.java","formatted_lines":["{"," if (extra == null)"," {"," return;"," }"," for (Map.Entry < String, ? > entry : extra.entrySet())"," {"," writer.attribute(entry.getKey(), entry.getValue().toString());"," }","}"],"function_name":"printExtraAttributes","function_name_tokens":["print","extra","attributes"],"id_body_hash":"0b95170820f3662c168c02d403bd7765","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,43,44,45,46,47,47,48,49,50,51,52,53,54],"option_correct":"printExtraAttributes","options":["getOutputType","setExported","testSecondSearchBlank","print","printDependency","toAttributes","printExtraAttributes"],"options_nlp":["get output type","set exported","test second search blank","print","print dependency","to attributes","print extra attributes"],"options_random":["getOutputType","setExported","testSecondSearchBlank"],"options_tfidf":["print","toAttributes","printDependency"],"project_name":"gradle","source_code_string":"private static void printExtraAttributes(Map<String, ?> extra, SimpleXmlWriter writer) throws IOException {\n if (extra == null) {\n return;\n }\n for (Map.Entry<String, ?> entry : extra.entrySet()) {\n writer.attribute(entry.getKey(), entry.getValue().toString());\n }\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"if","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"(","start_char":7,"line":1},{"index_id":3,"token_group":3,"text":"extra","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"==","start_char":14,"line":1},{"index_id":5,"token_group":5,"text":"null","start_char":17,"line":1},{"index_id":6,"token_group":6,"text":")","start_char":21,"line":1},{"index_id":7,"token_group":7,"text":"{","start_char":4,"line":2},{"index_id":8,"token_group":8,"text":"return","start_char":8,"line":3},{"index_id":9,"token_group":9,"text":";","start_char":14,"line":3},{"index_id":10,"token_group":10,"text":"}","start_char":4,"line":4},{"index_id":11,"token_group":11,"text":"for","start_char":4,"line":5},{"index_id":12,"token_group":12,"text":"(","start_char":8,"line":5},{"index_id":13,"token_group":13,"text":"map","start_char":9,"line":5},{"index_id":14,"token_group":14,"text":".","start_char":12,"line":5},{"index_id":15,"token_group":15,"text":"entry","start_char":13,"line":5},{"index_id":16,"token_group":16,"text":"<","start_char":19,"line":5},{"index_id":17,"token_group":17,"text":"string","start_char":21,"line":5},{"index_id":18,"token_group":18,"text":",","start_char":27,"line":5},{"index_id":19,"token_group":19,"text":"?","start_char":29,"line":5},{"index_id":20,"token_group":20,"text":">","start_char":31,"line":5},{"index_id":21,"token_group":21,"text":"entry","start_char":33,"line":5},{"index_id":22,"token_group":22,"text":":","start_char":39,"line":5},{"index_id":23,"token_group":23,"text":"extra","start_char":41,"line":5},{"index_id":24,"token_group":24,"text":".","start_char":46,"line":5},{"index_id":25,"token_group":25,"text":"entry","start_char":47,"line":5},{"index_id":26,"token_group":26,"text":"Set","start_char":52,"line":5},{"index_id":27,"token_group":26,"text":"(","start_char":55,"line":5},{"index_id":28,"token_group":27,"text":")","start_char":56,"line":5},{"index_id":29,"token_group":28,"text":")","start_char":57,"line":5},{"index_id":30,"token_group":29,"text":"{","start_char":4,"line":6},{"index_id":31,"token_group":30,"text":"writer","start_char":8,"line":7},{"index_id":32,"token_group":31,"text":".","start_char":14,"line":7},{"index_id":33,"token_group":32,"text":"attribute","start_char":15,"line":7},{"index_id":34,"token_group":33,"text":"(","start_char":24,"line":7},{"index_id":35,"token_group":34,"text":"entry","start_char":25,"line":7},{"index_id":36,"token_group":35,"text":".","start_char":30,"line":7},{"index_id":37,"token_group":36,"text":"get","start_char":31,"line":7},{"index_id":38,"token_group":37,"text":"Key","start_char":34,"line":7},{"index_id":39,"token_group":37,"text":"(","start_char":37,"line":7},{"index_id":40,"token_group":38,"text":")","start_char":38,"line":7},{"index_id":41,"token_group":39,"text":",","start_char":39,"line":7},{"index_id":42,"token_group":40,"text":"entry","start_char":41,"line":7},{"index_id":43,"token_group":41,"text":".","start_char":46,"line":7},{"index_id":44,"token_group":42,"text":"get","start_char":47,"line":7},{"index_id":45,"token_group":43,"text":"Value","start_char":50,"line":7},{"index_id":46,"token_group":43,"text":"(","start_char":55,"line":7},{"index_id":47,"token_group":44,"text":")","start_char":56,"line":7},{"index_id":48,"token_group":45,"text":".","start_char":57,"line":7},{"index_id":49,"token_group":46,"text":"to","start_char":58,"line":7},{"index_id":50,"token_group":47,"text":"String","start_char":60,"line":7},{"index_id":51,"token_group":47,"text":"(","start_char":66,"line":7},{"index_id":52,"token_group":48,"text":")","start_char":67,"line":7},{"index_id":53,"token_group":49,"text":")","start_char":68,"line":7},{"index_id":54,"token_group":50,"text":";","start_char":69,"line":7},{"index_id":55,"token_group":51,"text":"}","start_char":4,"line":8},{"index_id":56,"token_group":52,"text":"}","start_char":0,"line":9}],"tokens_list":["{","if","(","extra","==","null",")","{","return",";","}","for","(","map",".","entry","<","string",",","?",">","entry",":","extra",".","entry","Set","(",")",")","{","writer",".","attribute","(","entry",".","get","Key","(",")",",","entry",".","get","Value","(",")",".","to","String","(",")",")",";","}","}"],"uuid":"98ee56f22a4678e8f93608acce5660ee"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","version","<\/id>","<id>","version","<\/id>","=","<id>","version","Utils","<\/id>",".","<id>","random","Version","Between","<\/id>","(","<id>","random","<\/id>","(",")",",","<id>","version","<\/id>",".","<id>","v","2","0","0","<\/id>",",","<id>","version","<\/id>",".","<id>","current","<\/id>",")",";","<id>","settings","<\/id>","<id>","settings","<\/id>","=","<id>","settings","<\/id>",".","<id>","settings","Builder","<\/id>","(",")",".","<id>","put","<\/id>","(","<id>","index","Meta","Data","<\/id>",".","<id>","setting","Version","Created","<\/id>",",","<id>","version","<\/id>",")",".","<id>","build","<\/id>","(",")",";","double","<id>","lat","<\/id>","=","40.720611",";","double","<id>","lon","<\/id>","=","-","73.998776",";","<id>","x","Content","Builder","<\/id>","<id>","mapping","<\/id>","=","<id>","json","X","Content","<\/id>",".","<id>","content","Builder","<\/id>","(",")",".","<id>","start","Object","<\/id>","(",")",".","<id>","start","Object","<\/id>","(","\"location\"",")",".","<id>","start","Object","<\/id>","(","\"properties\"",")",".","<id>","start","Object","<\/id>","(","\"pin\"",")",".","<id>","field","<\/id>","(","\"type\"",",","\"geo_point\"",")",";","if","(","<id>","version","<\/id>",".","<id>","before","<\/id>","(","<id>","version","<\/id>",".","<id>","v","2","2","0","<\/id>",")",")","{","<id>","mapping","<\/id>",".","<id>","field","<\/id>","(","\"lat_lon\"",",","true",")",";","}","<id>","mapping","<\/id>",".","<id>","end","Object","<\/id>","(",")",".","<id>","end","Object","<\/id>","(",")",".","<id>","end","Object","<\/id>","(",")",".","<id>","end","Object","<\/id>","(",")",";","<id>","x","Content","Builder","<\/id>","<id>","source","<\/id>","=","<id>","json","X","Content","<\/id>",".","<id>","content","Builder","<\/id>","(",")",".","<id>","start","Object","<\/id>","(",")",".","<id>","field","<\/id>","(","\"pin\"",",","<id>","geo","Hash","Utils","<\/id>",".","<id>","string","Encode","<\/id>","(","<id>","lon","<\/id>",",","<id>","lat","<\/id>",")",")",".","<id>","end","Object","<\/id>","(",")",";","<id>","assert","Acked","<\/id>","(","<id>","prepare","Create","<\/id>","(","\"locations\"",")",".","<id>","set","Settings","<\/id>","(","<id>","settings","<\/id>",")",".","<id>","add","Mapping","<\/id>","(","\"location\"",",","<id>","mapping","<\/id>",")",")",";","<id>","client","<\/id>","(",")",".","<id>","prepare","Index","<\/id>","(","\"locations\"",",","\"location\"",",","\"1\"",")",".","<id>","set","Create","<\/id>","(","true",")",".","<id>","set","Source","<\/id>","(","<id>","source","<\/id>",")",".","<id>","execute","<\/id>","(",")",".","<id>","action","Get","<\/id>","(",")",";","<id>","refresh","<\/id>","(",")",";","<id>","client","<\/id>","(",")",".","<id>","prepare","Get","<\/id>","(","\"locations\"",",","\"location\"",",","\"1\"",")",".","<id>","execute","<\/id>","(",")",".","<id>","action","Get","<\/id>","(",")",";","<id>","search","Response","<\/id>","<id>","result","<\/id>","=","<id>","client","<\/id>","(",")",".","<id>","prepare","Search","<\/id>","(","\"locations\"",")",".","<id>","set","Query","<\/id>","(","<id>","query","Builders","<\/id>",".","<id>","match","All","Query","<\/id>","(",")",")",".","<id>","set","Post","Filter","<\/id>","(","<id>","query","Builders","<\/id>",".","<id>","geo","Distance","Query","<\/id>","(","\"pin\"",")",".","<id>","geo","Distance","<\/id>","(","<id>","geo","Distance","<\/id>",".","<id>","arc","<\/id>",")",".","<id>","point","<\/id>","(","<id>","lat","<\/id>",",","<id>","lon","<\/id>",")",".","<id>","distance","<\/id>","(","\"1m\"",")",")",".","<id>","execute","<\/id>","(",")",".","<id>","action","Get","<\/id>","(",")",";","<id>","assert","Hit","Count","<\/id>","(","<id>","result","<\/id>",",","1",")",";","}","<SENTENCE_END\/>"],"file_name":"GeoDistanceTests.java","formatted_lines":["{"," Version version = VersionUtils.randomVersionBetween(random(), Version.V_2_0_0, Version.CURRENT);"," Settings settings = Settings.settingsBuilder().put(IndexMetaData.SETTING_VERSION_CREATED, version).build();"," double lat = 40.720611;"," double lon = -73.998776;",""," XContentBuilder mapping = JsonXContent.contentBuilder()"," .startObject()"," .startObject(\"location\")"," .startObject(\"properties\")"," .startObject(\"pin\")"," .field(\"type\", \"geo_point\");"," if (version.before(Version.V_2_2_0))"," {"," mapping.field(\"lat_lon\", true);"," }"," mapping.endObject().endObject().endObject().endObject();",""," XContentBuilder source = JsonXContent.contentBuilder()"," .startObject()"," .field(\"pin\", GeoHashUtils.stringEncode(lon, lat))"," .endObject();",""," assertAcked(prepareCreate(\"locations\").setSettings(settings).addMapping(\"location\", mapping));"," client().prepareIndex(\"locations\", \"location\", \"1\").setCreate(true).setSource(source).execute().actionGet();"," refresh();"," client().prepareGet(\"locations\", \"location\", \"1\").execute().actionGet();",""," SearchResponse result = client().prepareSearch(\"locations\")"," .setQuery(QueryBuilders.matchAllQuery())"," .setPostFilter(QueryBuilders.geoDistanceQuery(\"pin\")"," .geoDistance(GeoDistance.ARC)"," .point(lat, lon)"," .distance(\"1m\"))"," .execute().actionGet();",""," assertHitCount(result, 1);","}"],"function_name":"testGeoDistanceFilter","function_name_tokens":["test","geo","distance","filter"],"id_body_hash":"5c2412b23a91b6fc78eb1e65f9d75b28","id_same_identifier_list":[0,1,2,3,4,5,5,6,7,7,7,8,9,10,11,12,13,14,15,15,15,15,16,17,18,19,20,21,22,23,24,25,26,27,27,28,29,30,31,32,33,33,33,34,35,35,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,55,55,56,57,58,58,58,59,60,60,61,62,63,64,64,65,66,67,68,68,69,70,71,72,73,73,74,75,76,77,78,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,98,98,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,114,115,116,117,118,118,119,120,121,122,122,123,124,125,126,126,127,128,129,130,130,130,131,132,133,133,133,134,135,135,136,137,138,139,139,140,141,142,143,144,145,146,147,147,147,148,149,149,150,151,152,153,154,155,156,157,157,158,159,160,161,161,162,163,163,164,165,166,167,168,168,169,170,171,172,173,173,174,175,176,177,178,179,180,181,182,183,184,185,185,186,187,188,189,190,191,192,193,194,194,195,196,197,198,199,199,200,201,202,203,204,205,206,207,208,208,209,210,211,212,213,214,215,216,217,218,219,220,220,221,222,223,224,225,226,227,228,229,230,231,232,233,233,234,235,236,237,237,238,239,240,241,242,243,244,244,245,246,247,248,249,249,250,251,251,252,253,253,253,254,255,256,257,258,258,258,259,260,260,261,262,262,262,263,264,265,266,267,267,268,269,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,291,292,293,294,295,295,295,296,297,298,299,300,301,302,303],"option_correct":"testGeoDistanceFilter","options":["testFilter","testGeoDistanceFilter","putMapping","testConfigMultipleParametersLangWrongType","testSetValuesBackcompat","testDistanceSortingWithMissingGeoPoint","testInvalidGeoDistance"],"options_nlp":["test filter","test geo distance filter","put mapping","test config multiple parameters lang wrong type","test set values backcompat","test distance sorting with missing geo point","test invalid geo distance"],"options_random":["testSetValuesBackcompat","testConfigMultipleParametersLangWrongType","putMapping"],"options_tfidf":["testDistanceSortingWithMissingGeoPoint","testFilter","testInvalidGeoDistance"],"project_name":"elasticsearch","source_code_string":"public void testGeoDistanceFilter() throws IOException {\n Version version = VersionUtils.randomVersionBetween(random(), Version.V_2_0_0, Version.CURRENT);\n Settings settings = Settings.settingsBuilder().put(IndexMetaData.SETTING_VERSION_CREATED, version).build();\n double lat = 40.720611;\n double lon = -73.998776;\n\n XContentBuilder mapping = JsonXContent.contentBuilder()\n .startObject()\n .startObject(\"location\")\n .startObject(\"properties\")\n .startObject(\"pin\")\n .field(\"type\", \"geo_point\");\n if (version.before(Version.V_2_2_0)) {\n mapping.field(\"lat_lon\", true);\n }\n mapping.endObject().endObject().endObject().endObject();\n\n XContentBuilder source = JsonXContent.contentBuilder()\n .startObject()\n .field(\"pin\", GeoHashUtils.stringEncode(lon, lat))\n .endObject();\n\n assertAcked(prepareCreate(\"locations\").setSettings(settings).addMapping(\"location\", mapping));\n client().prepareIndex(\"locations\", \"location\", \"1\").setCreate(true).setSource(source).execute().actionGet();\n refresh();\n client().prepareGet(\"locations\", \"location\", \"1\").execute().actionGet();\n\n SearchResponse result = client().prepareSearch(\"locations\")\n .setQuery(QueryBuilders.matchAllQuery())\n .setPostFilter(QueryBuilders.geoDistanceQuery(\"pin\")\n .geoDistance(GeoDistance.ARC)\n .point(lat, lon)\n .distance(\"1m\"))\n .execute().actionGet();\n\n assertHitCount(result, 1);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"version","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"version","start_char":12,"line":1},{"index_id":3,"token_group":3,"text":"=","start_char":20,"line":1},{"index_id":4,"token_group":4,"text":"version","start_char":22,"line":1},{"index_id":5,"token_group":5,"text":"Utils","start_char":29,"line":1},{"index_id":6,"token_group":5,"text":".","start_char":34,"line":1},{"index_id":7,"token_group":6,"text":"random","start_char":35,"line":1},{"index_id":8,"token_group":7,"text":"Version","start_char":41,"line":1},{"index_id":9,"token_group":7,"text":"Between","start_char":48,"line":1},{"index_id":10,"token_group":7,"text":"(","start_char":55,"line":1},{"index_id":11,"token_group":8,"text":"random","start_char":56,"line":1},{"index_id":12,"token_group":9,"text":"(","start_char":62,"line":1},{"index_id":13,"token_group":10,"text":")","start_char":63,"line":1},{"index_id":14,"token_group":11,"text":",","start_char":64,"line":1},{"index_id":15,"token_group":12,"text":"version","start_char":66,"line":1},{"index_id":16,"token_group":13,"text":".","start_char":73,"line":1},{"index_id":17,"token_group":14,"text":"v","start_char":74,"line":1},{"index_id":18,"token_group":15,"text":"2","start_char":76,"line":1},{"index_id":19,"token_group":15,"text":"0","start_char":78,"line":1},{"index_id":20,"token_group":15,"text":"0","start_char":80,"line":1},{"index_id":21,"token_group":15,"text":",","start_char":81,"line":1},{"index_id":22,"token_group":16,"text":"version","start_char":83,"line":1},{"index_id":23,"token_group":17,"text":".","start_char":90,"line":1},{"index_id":24,"token_group":18,"text":"current","start_char":91,"line":1},{"index_id":25,"token_group":19,"text":")","start_char":98,"line":1},{"index_id":26,"token_group":20,"text":";","start_char":99,"line":1},{"index_id":27,"token_group":21,"text":"settings","start_char":4,"line":2},{"index_id":28,"token_group":22,"text":"settings","start_char":13,"line":2},{"index_id":29,"token_group":23,"text":"=","start_char":22,"line":2},{"index_id":30,"token_group":24,"text":"settings","start_char":24,"line":2},{"index_id":31,"token_group":25,"text":".","start_char":32,"line":2},{"index_id":32,"token_group":26,"text":"settings","start_char":33,"line":2},{"index_id":33,"token_group":27,"text":"Builder","start_char":41,"line":2},{"index_id":34,"token_group":27,"text":"(","start_char":48,"line":2},{"index_id":35,"token_group":28,"text":")","start_char":49,"line":2},{"index_id":36,"token_group":29,"text":".","start_char":50,"line":2},{"index_id":37,"token_group":30,"text":"put","start_char":51,"line":2},{"index_id":38,"token_group":31,"text":"(","start_char":54,"line":2},{"index_id":39,"token_group":32,"text":"index","start_char":55,"line":2},{"index_id":40,"token_group":33,"text":"Meta","start_char":60,"line":2},{"index_id":41,"token_group":33,"text":"Data","start_char":64,"line":2},{"index_id":42,"token_group":33,"text":".","start_char":68,"line":2},{"index_id":43,"token_group":34,"text":"setting","start_char":69,"line":2},{"index_id":44,"token_group":35,"text":"Version","start_char":77,"line":2},{"index_id":45,"token_group":35,"text":"Created","start_char":85,"line":2},{"index_id":46,"token_group":35,"text":",","start_char":92,"line":2},{"index_id":47,"token_group":36,"text":"version","start_char":94,"line":2},{"index_id":48,"token_group":37,"text":")","start_char":101,"line":2},{"index_id":49,"token_group":38,"text":".","start_char":102,"line":2},{"index_id":50,"token_group":39,"text":"build","start_char":103,"line":2},{"index_id":51,"token_group":40,"text":"(","start_char":108,"line":2},{"index_id":52,"token_group":41,"text":")","start_char":109,"line":2},{"index_id":53,"token_group":42,"text":";","start_char":110,"line":2},{"index_id":54,"token_group":43,"text":"double","start_char":4,"line":3},{"index_id":55,"token_group":44,"text":"lat","start_char":11,"line":3},{"index_id":56,"token_group":45,"text":"=","start_char":15,"line":3},{"index_id":57,"token_group":46,"text":"40.720611","start_char":17,"line":3},{"index_id":58,"token_group":47,"text":";","start_char":26,"line":3},{"index_id":59,"token_group":48,"text":"double","start_char":4,"line":4},{"index_id":60,"token_group":49,"text":"lon","start_char":11,"line":4},{"index_id":61,"token_group":50,"text":"=","start_char":15,"line":4},{"index_id":62,"token_group":51,"text":"-","start_char":17,"line":4},{"index_id":63,"token_group":52,"text":"73.998776","start_char":18,"line":4},{"index_id":64,"token_group":53,"text":";","start_char":27,"line":4},{"index_id":65,"token_group":54,"text":"x","start_char":4,"line":6},{"index_id":66,"token_group":55,"text":"Content","start_char":5,"line":6},{"index_id":67,"token_group":55,"text":"Builder","start_char":12,"line":6},{"index_id":68,"token_group":55,"text":"mapping","start_char":20,"line":6},{"index_id":69,"token_group":56,"text":"=","start_char":28,"line":6},{"index_id":70,"token_group":57,"text":"json","start_char":30,"line":6},{"index_id":71,"token_group":58,"text":"X","start_char":34,"line":6},{"index_id":72,"token_group":58,"text":"Content","start_char":35,"line":6},{"index_id":73,"token_group":58,"text":".","start_char":42,"line":6},{"index_id":74,"token_group":59,"text":"content","start_char":43,"line":6},{"index_id":75,"token_group":60,"text":"Builder","start_char":50,"line":6},{"index_id":76,"token_group":60,"text":"(","start_char":57,"line":6},{"index_id":77,"token_group":61,"text":")","start_char":58,"line":6},{"index_id":78,"token_group":62,"text":".","start_char":4,"line":7},{"index_id":79,"token_group":63,"text":"start","start_char":5,"line":7},{"index_id":80,"token_group":64,"text":"Object","start_char":10,"line":7},{"index_id":81,"token_group":64,"text":"(","start_char":16,"line":7},{"index_id":82,"token_group":65,"text":")","start_char":17,"line":7},{"index_id":83,"token_group":66,"text":".","start_char":4,"line":8},{"index_id":84,"token_group":67,"text":"start","start_char":5,"line":8},{"index_id":85,"token_group":68,"text":"Object","start_char":10,"line":8},{"index_id":86,"token_group":68,"text":"(","start_char":16,"line":8},{"index_id":87,"token_group":69,"text":"\"location\"","start_char":17,"line":8},{"index_id":88,"token_group":70,"text":")","start_char":27,"line":8},{"index_id":89,"token_group":71,"text":".","start_char":4,"line":9},{"index_id":90,"token_group":72,"text":"start","start_char":5,"line":9},{"index_id":91,"token_group":73,"text":"Object","start_char":10,"line":9},{"index_id":92,"token_group":73,"text":"(","start_char":16,"line":9},{"index_id":93,"token_group":74,"text":"\"properties\"","start_char":17,"line":9},{"index_id":94,"token_group":75,"text":")","start_char":29,"line":9},{"index_id":95,"token_group":76,"text":".","start_char":4,"line":10},{"index_id":96,"token_group":77,"text":"start","start_char":5,"line":10},{"index_id":97,"token_group":78,"text":"Object","start_char":10,"line":10},{"index_id":98,"token_group":78,"text":"(","start_char":16,"line":10},{"index_id":99,"token_group":79,"text":"\"pin\"","start_char":17,"line":10},{"index_id":100,"token_group":80,"text":")","start_char":22,"line":10},{"index_id":101,"token_group":81,"text":".","start_char":4,"line":11},{"index_id":102,"token_group":82,"text":"field","start_char":5,"line":11},{"index_id":103,"token_group":83,"text":"(","start_char":10,"line":11},{"index_id":104,"token_group":84,"text":"\"type\"","start_char":11,"line":11},{"index_id":105,"token_group":85,"text":",","start_char":17,"line":11},{"index_id":106,"token_group":86,"text":"\"geo_point\"","start_char":19,"line":11},{"index_id":107,"token_group":87,"text":")","start_char":30,"line":11},{"index_id":108,"token_group":88,"text":";","start_char":31,"line":11},{"index_id":109,"token_group":89,"text":"if","start_char":4,"line":12},{"index_id":110,"token_group":90,"text":"(","start_char":7,"line":12},{"index_id":111,"token_group":91,"text":"version","start_char":8,"line":12},{"index_id":112,"token_group":92,"text":".","start_char":15,"line":12},{"index_id":113,"token_group":93,"text":"before","start_char":16,"line":12},{"index_id":114,"token_group":94,"text":"(","start_char":22,"line":12},{"index_id":115,"token_group":95,"text":"version","start_char":23,"line":12},{"index_id":116,"token_group":96,"text":".","start_char":30,"line":12},{"index_id":117,"token_group":97,"text":"v","start_char":31,"line":12},{"index_id":118,"token_group":98,"text":"2","start_char":33,"line":12},{"index_id":119,"token_group":98,"text":"2","start_char":35,"line":12},{"index_id":120,"token_group":98,"text":"0","start_char":37,"line":12},{"index_id":121,"token_group":98,"text":")","start_char":38,"line":12},{"index_id":122,"token_group":99,"text":")","start_char":39,"line":12},{"index_id":123,"token_group":100,"text":"{","start_char":4,"line":13},{"index_id":124,"token_group":101,"text":"mapping","start_char":8,"line":14},{"index_id":125,"token_group":102,"text":".","start_char":15,"line":14},{"index_id":126,"token_group":103,"text":"field","start_char":16,"line":14},{"index_id":127,"token_group":104,"text":"(","start_char":21,"line":14},{"index_id":128,"token_group":105,"text":"\"lat_lon\"","start_char":22,"line":14},{"index_id":129,"token_group":106,"text":",","start_char":31,"line":14},{"index_id":130,"token_group":107,"text":"true","start_char":33,"line":14},{"index_id":131,"token_group":108,"text":")","start_char":37,"line":14},{"index_id":132,"token_group":109,"text":";","start_char":38,"line":14},{"index_id":133,"token_group":110,"text":"}","start_char":4,"line":15},{"index_id":134,"token_group":111,"text":"mapping","start_char":4,"line":16},{"index_id":135,"token_group":112,"text":".","start_char":11,"line":16},{"index_id":136,"token_group":113,"text":"end","start_char":12,"line":16},{"index_id":137,"token_group":114,"text":"Object","start_char":15,"line":16},{"index_id":138,"token_group":114,"text":"(","start_char":21,"line":16},{"index_id":139,"token_group":115,"text":")","start_char":22,"line":16},{"index_id":140,"token_group":116,"text":".","start_char":23,"line":16},{"index_id":141,"token_group":117,"text":"end","start_char":24,"line":16},{"index_id":142,"token_group":118,"text":"Object","start_char":27,"line":16},{"index_id":143,"token_group":118,"text":"(","start_char":33,"line":16},{"index_id":144,"token_group":119,"text":")","start_char":34,"line":16},{"index_id":145,"token_group":120,"text":".","start_char":35,"line":16},{"index_id":146,"token_group":121,"text":"end","start_char":36,"line":16},{"index_id":147,"token_group":122,"text":"Object","start_char":39,"line":16},{"index_id":148,"token_group":122,"text":"(","start_char":45,"line":16},{"index_id":149,"token_group":123,"text":")","start_char":46,"line":16},{"index_id":150,"token_group":124,"text":".","start_char":47,"line":16},{"index_id":151,"token_group":125,"text":"end","start_char":48,"line":16},{"index_id":152,"token_group":126,"text":"Object","start_char":51,"line":16},{"index_id":153,"token_group":126,"text":"(","start_char":57,"line":16},{"index_id":154,"token_group":127,"text":")","start_char":58,"line":16},{"index_id":155,"token_group":128,"text":";","start_char":59,"line":16},{"index_id":156,"token_group":129,"text":"x","start_char":4,"line":18},{"index_id":157,"token_group":130,"text":"Content","start_char":5,"line":18},{"index_id":158,"token_group":130,"text":"Builder","start_char":12,"line":18},{"index_id":159,"token_group":130,"text":"source","start_char":20,"line":18},{"index_id":160,"token_group":131,"text":"=","start_char":27,"line":18},{"index_id":161,"token_group":132,"text":"json","start_char":29,"line":18},{"index_id":162,"token_group":133,"text":"X","start_char":33,"line":18},{"index_id":163,"token_group":133,"text":"Content","start_char":34,"line":18},{"index_id":164,"token_group":133,"text":".","start_char":41,"line":18},{"index_id":165,"token_group":134,"text":"content","start_char":42,"line":18},{"index_id":166,"token_group":135,"text":"Builder","start_char":49,"line":18},{"index_id":167,"token_group":135,"text":"(","start_char":56,"line":18},{"index_id":168,"token_group":136,"text":")","start_char":57,"line":18},{"index_id":169,"token_group":137,"text":".","start_char":4,"line":19},{"index_id":170,"token_group":138,"text":"start","start_char":5,"line":19},{"index_id":171,"token_group":139,"text":"Object","start_char":10,"line":19},{"index_id":172,"token_group":139,"text":"(","start_char":16,"line":19},{"index_id":173,"token_group":140,"text":")","start_char":17,"line":19},{"index_id":174,"token_group":141,"text":".","start_char":4,"line":20},{"index_id":175,"token_group":142,"text":"field","start_char":5,"line":20},{"index_id":176,"token_group":143,"text":"(","start_char":10,"line":20},{"index_id":177,"token_group":144,"text":"\"pin\"","start_char":11,"line":20},{"index_id":178,"token_group":145,"text":",","start_char":16,"line":20},{"index_id":179,"token_group":146,"text":"geo","start_char":18,"line":20},{"index_id":180,"token_group":147,"text":"Hash","start_char":21,"line":20},{"index_id":181,"token_group":147,"text":"Utils","start_char":25,"line":20},{"index_id":182,"token_group":147,"text":".","start_char":30,"line":20},{"index_id":183,"token_group":148,"text":"string","start_char":31,"line":20},{"index_id":184,"token_group":149,"text":"Encode","start_char":37,"line":20},{"index_id":185,"token_group":149,"text":"(","start_char":43,"line":20},{"index_id":186,"token_group":150,"text":"lon","start_char":44,"line":20},{"index_id":187,"token_group":151,"text":",","start_char":47,"line":20},{"index_id":188,"token_group":152,"text":"lat","start_char":49,"line":20},{"index_id":189,"token_group":153,"text":")","start_char":52,"line":20},{"index_id":190,"token_group":154,"text":")","start_char":53,"line":20},{"index_id":191,"token_group":155,"text":".","start_char":4,"line":21},{"index_id":192,"token_group":156,"text":"end","start_char":5,"line":21},{"index_id":193,"token_group":157,"text":"Object","start_char":8,"line":21},{"index_id":194,"token_group":157,"text":"(","start_char":14,"line":21},{"index_id":195,"token_group":158,"text":")","start_char":15,"line":21},{"index_id":196,"token_group":159,"text":";","start_char":16,"line":21},{"index_id":197,"token_group":160,"text":"assert","start_char":4,"line":23},{"index_id":198,"token_group":161,"text":"Acked","start_char":10,"line":23},{"index_id":199,"token_group":161,"text":"(","start_char":15,"line":23},{"index_id":200,"token_group":162,"text":"prepare","start_char":16,"line":23},{"index_id":201,"token_group":163,"text":"Create","start_char":23,"line":23},{"index_id":202,"token_group":163,"text":"(","start_char":29,"line":23},{"index_id":203,"token_group":164,"text":"\"locations\"","start_char":30,"line":23},{"index_id":204,"token_group":165,"text":")","start_char":41,"line":23},{"index_id":205,"token_group":166,"text":".","start_char":42,"line":23},{"index_id":206,"token_group":167,"text":"set","start_char":43,"line":23},{"index_id":207,"token_group":168,"text":"Settings","start_char":46,"line":23},{"index_id":208,"token_group":168,"text":"(","start_char":54,"line":23},{"index_id":209,"token_group":169,"text":"settings","start_char":55,"line":23},{"index_id":210,"token_group":170,"text":")","start_char":63,"line":23},{"index_id":211,"token_group":171,"text":".","start_char":64,"line":23},{"index_id":212,"token_group":172,"text":"add","start_char":65,"line":23},{"index_id":213,"token_group":173,"text":"Mapping","start_char":68,"line":23},{"index_id":214,"token_group":173,"text":"(","start_char":75,"line":23},{"index_id":215,"token_group":174,"text":"\"location\"","start_char":76,"line":23},{"index_id":216,"token_group":175,"text":",","start_char":86,"line":23},{"index_id":217,"token_group":176,"text":"mapping","start_char":88,"line":23},{"index_id":218,"token_group":177,"text":")","start_char":95,"line":23},{"index_id":219,"token_group":178,"text":")","start_char":96,"line":23},{"index_id":220,"token_group":179,"text":";","start_char":97,"line":23},{"index_id":221,"token_group":180,"text":"client","start_char":4,"line":24},{"index_id":222,"token_group":181,"text":"(","start_char":10,"line":24},{"index_id":223,"token_group":182,"text":")","start_char":11,"line":24},{"index_id":224,"token_group":183,"text":".","start_char":12,"line":24},{"index_id":225,"token_group":184,"text":"prepare","start_char":13,"line":24},{"index_id":226,"token_group":185,"text":"Index","start_char":20,"line":24},{"index_id":227,"token_group":185,"text":"(","start_char":25,"line":24},{"index_id":228,"token_group":186,"text":"\"locations\"","start_char":26,"line":24},{"index_id":229,"token_group":187,"text":",","start_char":37,"line":24},{"index_id":230,"token_group":188,"text":"\"location\"","start_char":39,"line":24},{"index_id":231,"token_group":189,"text":",","start_char":49,"line":24},{"index_id":232,"token_group":190,"text":"\"1\"","start_char":51,"line":24},{"index_id":233,"token_group":191,"text":")","start_char":54,"line":24},{"index_id":234,"token_group":192,"text":".","start_char":55,"line":24},{"index_id":235,"token_group":193,"text":"set","start_char":56,"line":24},{"index_id":236,"token_group":194,"text":"Create","start_char":59,"line":24},{"index_id":237,"token_group":194,"text":"(","start_char":65,"line":24},{"index_id":238,"token_group":195,"text":"true","start_char":66,"line":24},{"index_id":239,"token_group":196,"text":")","start_char":70,"line":24},{"index_id":240,"token_group":197,"text":".","start_char":71,"line":24},{"index_id":241,"token_group":198,"text":"set","start_char":72,"line":24},{"index_id":242,"token_group":199,"text":"Source","start_char":75,"line":24},{"index_id":243,"token_group":199,"text":"(","start_char":81,"line":24},{"index_id":244,"token_group":200,"text":"source","start_char":82,"line":24},{"index_id":245,"token_group":201,"text":")","start_char":88,"line":24},{"index_id":246,"token_group":202,"text":".","start_char":89,"line":24},{"index_id":247,"token_group":203,"text":"execute","start_char":90,"line":24},{"index_id":248,"token_group":204,"text":"(","start_char":97,"line":24},{"index_id":249,"token_group":205,"text":")","start_char":98,"line":24},{"index_id":250,"token_group":206,"text":".","start_char":99,"line":24},{"index_id":251,"token_group":207,"text":"action","start_char":100,"line":24},{"index_id":252,"token_group":208,"text":"Get","start_char":106,"line":24},{"index_id":253,"token_group":208,"text":"(","start_char":109,"line":24},{"index_id":254,"token_group":209,"text":")","start_char":110,"line":24},{"index_id":255,"token_group":210,"text":";","start_char":111,"line":24},{"index_id":256,"token_group":211,"text":"refresh","start_char":4,"line":25},{"index_id":257,"token_group":212,"text":"(","start_char":11,"line":25},{"index_id":258,"token_group":213,"text":")","start_char":12,"line":25},{"index_id":259,"token_group":214,"text":";","start_char":13,"line":25},{"index_id":260,"token_group":215,"text":"client","start_char":4,"line":26},{"index_id":261,"token_group":216,"text":"(","start_char":10,"line":26},{"index_id":262,"token_group":217,"text":")","start_char":11,"line":26},{"index_id":263,"token_group":218,"text":".","start_char":12,"line":26},{"index_id":264,"token_group":219,"text":"prepare","start_char":13,"line":26},{"index_id":265,"token_group":220,"text":"Get","start_char":20,"line":26},{"index_id":266,"token_group":220,"text":"(","start_char":23,"line":26},{"index_id":267,"token_group":221,"text":"\"locations\"","start_char":24,"line":26},{"index_id":268,"token_group":222,"text":",","start_char":35,"line":26},{"index_id":269,"token_group":223,"text":"\"location\"","start_char":37,"line":26},{"index_id":270,"token_group":224,"text":",","start_char":47,"line":26},{"index_id":271,"token_group":225,"text":"\"1\"","start_char":49,"line":26},{"index_id":272,"token_group":226,"text":")","start_char":52,"line":26},{"index_id":273,"token_group":227,"text":".","start_char":53,"line":26},{"index_id":274,"token_group":228,"text":"execute","start_char":54,"line":26},{"index_id":275,"token_group":229,"text":"(","start_char":61,"line":26},{"index_id":276,"token_group":230,"text":")","start_char":62,"line":26},{"index_id":277,"token_group":231,"text":".","start_char":63,"line":26},{"index_id":278,"token_group":232,"text":"action","start_char":64,"line":26},{"index_id":279,"token_group":233,"text":"Get","start_char":70,"line":26},{"index_id":280,"token_group":233,"text":"(","start_char":73,"line":26},{"index_id":281,"token_group":234,"text":")","start_char":74,"line":26},{"index_id":282,"token_group":235,"text":";","start_char":75,"line":26},{"index_id":283,"token_group":236,"text":"search","start_char":4,"line":28},{"index_id":284,"token_group":237,"text":"Response","start_char":10,"line":28},{"index_id":285,"token_group":237,"text":"result","start_char":19,"line":28},{"index_id":286,"token_group":238,"text":"=","start_char":26,"line":28},{"index_id":287,"token_group":239,"text":"client","start_char":28,"line":28},{"index_id":288,"token_group":240,"text":"(","start_char":34,"line":28},{"index_id":289,"token_group":241,"text":")","start_char":35,"line":28},{"index_id":290,"token_group":242,"text":".","start_char":36,"line":28},{"index_id":291,"token_group":243,"text":"prepare","start_char":37,"line":28},{"index_id":292,"token_group":244,"text":"Search","start_char":44,"line":28},{"index_id":293,"token_group":244,"text":"(","start_char":50,"line":28},{"index_id":294,"token_group":245,"text":"\"locations\"","start_char":51,"line":28},{"index_id":295,"token_group":246,"text":")","start_char":62,"line":28},{"index_id":296,"token_group":247,"text":".","start_char":4,"line":29},{"index_id":297,"token_group":248,"text":"set","start_char":5,"line":29},{"index_id":298,"token_group":249,"text":"Query","start_char":8,"line":29},{"index_id":299,"token_group":249,"text":"(","start_char":13,"line":29},{"index_id":300,"token_group":250,"text":"query","start_char":14,"line":29},{"index_id":301,"token_group":251,"text":"Builders","start_char":19,"line":29},{"index_id":302,"token_group":251,"text":".","start_char":27,"line":29},{"index_id":303,"token_group":252,"text":"match","start_char":28,"line":29},{"index_id":304,"token_group":253,"text":"All","start_char":33,"line":29},{"index_id":305,"token_group":253,"text":"Query","start_char":36,"line":29},{"index_id":306,"token_group":253,"text":"(","start_char":41,"line":29},{"index_id":307,"token_group":254,"text":")","start_char":42,"line":29},{"index_id":308,"token_group":255,"text":")","start_char":43,"line":29},{"index_id":309,"token_group":256,"text":".","start_char":4,"line":30},{"index_id":310,"token_group":257,"text":"set","start_char":5,"line":30},{"index_id":311,"token_group":258,"text":"Post","start_char":8,"line":30},{"index_id":312,"token_group":258,"text":"Filter","start_char":12,"line":30},{"index_id":313,"token_group":258,"text":"(","start_char":18,"line":30},{"index_id":314,"token_group":259,"text":"query","start_char":19,"line":30},{"index_id":315,"token_group":260,"text":"Builders","start_char":24,"line":30},{"index_id":316,"token_group":260,"text":".","start_char":32,"line":30},{"index_id":317,"token_group":261,"text":"geo","start_char":33,"line":30},{"index_id":318,"token_group":262,"text":"Distance","start_char":36,"line":30},{"index_id":319,"token_group":262,"text":"Query","start_char":44,"line":30},{"index_id":320,"token_group":262,"text":"(","start_char":49,"line":30},{"index_id":321,"token_group":263,"text":"\"pin\"","start_char":50,"line":30},{"index_id":322,"token_group":264,"text":")","start_char":55,"line":30},{"index_id":323,"token_group":265,"text":".","start_char":19,"line":31},{"index_id":324,"token_group":266,"text":"geo","start_char":20,"line":31},{"index_id":325,"token_group":267,"text":"Distance","start_char":23,"line":31},{"index_id":326,"token_group":267,"text":"(","start_char":31,"line":31},{"index_id":327,"token_group":268,"text":"geo","start_char":32,"line":31},{"index_id":328,"token_group":269,"text":"Distance","start_char":35,"line":31},{"index_id":329,"token_group":269,"text":".","start_char":43,"line":31},{"index_id":330,"token_group":270,"text":"arc","start_char":44,"line":31},{"index_id":331,"token_group":271,"text":")","start_char":47,"line":31},{"index_id":332,"token_group":272,"text":".","start_char":19,"line":32},{"index_id":333,"token_group":273,"text":"point","start_char":20,"line":32},{"index_id":334,"token_group":274,"text":"(","start_char":25,"line":32},{"index_id":335,"token_group":275,"text":"lat","start_char":26,"line":32},{"index_id":336,"token_group":276,"text":",","start_char":29,"line":32},{"index_id":337,"token_group":277,"text":"lon","start_char":31,"line":32},{"index_id":338,"token_group":278,"text":")","start_char":34,"line":32},{"index_id":339,"token_group":279,"text":".","start_char":19,"line":33},{"index_id":340,"token_group":280,"text":"distance","start_char":20,"line":33},{"index_id":341,"token_group":281,"text":"(","start_char":28,"line":33},{"index_id":342,"token_group":282,"text":"\"1m\"","start_char":29,"line":33},{"index_id":343,"token_group":283,"text":")","start_char":33,"line":33},{"index_id":344,"token_group":284,"text":")","start_char":34,"line":33},{"index_id":345,"token_group":285,"text":".","start_char":4,"line":34},{"index_id":346,"token_group":286,"text":"execute","start_char":5,"line":34},{"index_id":347,"token_group":287,"text":"(","start_char":12,"line":34},{"index_id":348,"token_group":288,"text":")","start_char":13,"line":34},{"index_id":349,"token_group":289,"text":".","start_char":14,"line":34},{"index_id":350,"token_group":290,"text":"action","start_char":15,"line":34},{"index_id":351,"token_group":291,"text":"Get","start_char":21,"line":34},{"index_id":352,"token_group":291,"text":"(","start_char":24,"line":34},{"index_id":353,"token_group":292,"text":")","start_char":25,"line":34},{"index_id":354,"token_group":293,"text":";","start_char":26,"line":34},{"index_id":355,"token_group":294,"text":"assert","start_char":4,"line":36},{"index_id":356,"token_group":295,"text":"Hit","start_char":10,"line":36},{"index_id":357,"token_group":295,"text":"Count","start_char":13,"line":36},{"index_id":358,"token_group":295,"text":"(","start_char":18,"line":36},{"index_id":359,"token_group":296,"text":"result","start_char":19,"line":36},{"index_id":360,"token_group":297,"text":",","start_char":25,"line":36},{"index_id":361,"token_group":298,"text":"1","start_char":27,"line":36},{"index_id":362,"token_group":299,"text":")","start_char":28,"line":36},{"index_id":363,"token_group":300,"text":";","start_char":29,"line":36},{"index_id":364,"token_group":301,"text":"}","start_char":0,"line":37}],"tokens_list":["{","version","version","=","version","Utils",".","random","Version","Between","(","random","(",")",",","version",".","v","2","0","0",",","version",".","current",")",";","settings","settings","=","settings",".","settings","Builder","(",")",".","put","(","index","Meta","Data",".","setting","Version","Created",",","version",")",".","build","(",")",";","double","lat","=","40.720611",";","double","lon","=","-","73.998776",";","x","Content","Builder","mapping","=","json","X","Content",".","content","Builder","(",")",".","start","Object","(",")",".","start","Object","(","\"location\"",")",".","start","Object","(","\"properties\"",")",".","start","Object","(","\"pin\"",")",".","field","(","\"type\"",",","\"geo_point\"",")",";","if","(","version",".","before","(","version",".","v","2","2","0",")",")","{","mapping",".","field","(","\"lat_lon\"",",","true",")",";","}","mapping",".","end","Object","(",")",".","end","Object","(",")",".","end","Object","(",")",".","end","Object","(",")",";","x","Content","Builder","source","=","json","X","Content",".","content","Builder","(",")",".","start","Object","(",")",".","field","(","\"pin\"",",","geo","Hash","Utils",".","string","Encode","(","lon",",","lat",")",")",".","end","Object","(",")",";","assert","Acked","(","prepare","Create","(","\"locations\"",")",".","set","Settings","(","settings",")",".","add","Mapping","(","\"location\"",",","mapping",")",")",";","client","(",")",".","prepare","Index","(","\"locations\"",",","\"location\"",",","\"1\"",")",".","set","Create","(","true",")",".","set","Source","(","source",")",".","execute","(",")",".","action","Get","(",")",";","refresh","(",")",";","client","(",")",".","prepare","Get","(","\"locations\"",",","\"location\"",",","\"1\"",")",".","execute","(",")",".","action","Get","(",")",";","search","Response","result","=","client","(",")",".","prepare","Search","(","\"locations\"",")",".","set","Query","(","query","Builders",".","match","All","Query","(",")",")",".","set","Post","Filter","(","query","Builders",".","geo","Distance","Query","(","\"pin\"",")",".","geo","Distance","(","geo","Distance",".","arc",")",".","point","(","lat",",","lon",")",".","distance","(","\"1m\"",")",")",".","execute","(",")",".","action","Get","(",")",";","assert","Hit","Count","(","result",",","1",")",";","}"],"uuid":"199e3513a0982f456873a97b957c62fb"},{"cap_original_tokens":["<SENTENCE_START>","{","final","<id>","commit","Info","<\/id>","<id>","info","<\/id>","=","<id>","my","Infos","<\/id>",".","<id>","get","Or","Null","<\/id>","(","<id>","line","Number","<\/id>",")",";","if","(","<id>","info","<\/id>","==","null",")","return","\"\"",";","<id>","svn","File","Revision","<\/id>","<id>","revision","<\/id>","=","<id>","my","Revision","Map","<\/id>",".","<id>","get","<\/id>","(","<id>","info","<\/id>",".","<id>","get","Revision","<\/id>","(",")",")",";","if","(","<id>","revision","<\/id>","!=","null",")","{","<id>","string","<\/id>","<id>","prefix","<\/id>","=","<id>","my","Infos","<\/id>",".","<id>","get","Annotation","Source","<\/id>","(","<id>","line","Number","<\/id>",")",".","<id>","show","Merged","<\/id>","(",")","?","\"Merge source revision\"",":","\"Revision\"",";","return","<id>","prefix","<\/id>","+","\" \"","+","<id>","info","<\/id>",".","<id>","get","Revision","<\/id>","(",")","+","\": \"","+","<id>","revision","<\/id>",".","<id>","get","Commit","Message","<\/id>","(",")",";","}","return","\"\"",";","}","<SENTENCE_END\/>"],"file_name":"BaseSvnFileAnnotation.java","formatted_lines":["{"," final CommitInfo info = myInfos.getOrNull(lineNumber);"," if (info == null) return \"\";",""," SvnFileRevision revision = myRevisionMap.get(info.getRevision());"," if (revision != null)"," {"," String prefix = myInfos.getAnnotationSource(lineNumber).showMerged() ?"," \"Merge source revision\" : \"Revision\";",""," return prefix + \" \" + info.getRevision() + \": \" + revision.getCommitMessage();"," }"," return \"\";","}"],"function_name":"getToolTip","function_name_tokens":["get","tool","tip"],"id_body_hash":"d3d426e5e2234daecb339c257e037d02","id_same_identifier_list":[0,1,2,3,3,4,5,6,6,7,8,8,8,9,10,10,11,12,13,14,15,16,17,18,19,20,21,22,22,22,23,24,25,25,25,26,27,28,29,30,31,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,46,47,48,48,48,49,50,50,51,52,53,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,68,69,70,71,72,73,74,75,76,76,76,77,78,79,80,81,82,83,84,85],"option_correct":"getToolTip","options":["getToolTip","storeOriginalFontDefaults","getToolWindow","testDeleteSubstRoots","getToolPath","getAllResources","getToolWrapper"],"options_nlp":["get tool tip","store original font defaults","get tool window","test delete subst roots","get tool path","get all resources","get tool wrapper"],"options_random":["getAllResources","storeOriginalFontDefaults","testDeleteSubstRoots"],"options_tfidf":["getToolPath","getToolWindow","getToolWrapper"],"project_name":"intellij-community","source_code_string":"public String getToolTip(final int lineNumber) {\n final CommitInfo info = myInfos.getOrNull(lineNumber);\n if (info == null) return \"\";\n\n SvnFileRevision revision = myRevisionMap.get(info.getRevision());\n if (revision != null) {\n String prefix = myInfos.getAnnotationSource(lineNumber).showMerged() ? \"Merge source revision\" : \"Revision\";\n\n return prefix + \" \" + info.getRevision() + \": \" + revision.getCommitMessage();\n }\n return \"\";\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":"commit","start_char":10,"line":1},{"index_id":3,"token_group":3,"text":"Info","start_char":16,"line":1},{"index_id":4,"token_group":3,"text":"info","start_char":21,"line":1},{"index_id":5,"token_group":4,"text":"=","start_char":26,"line":1},{"index_id":6,"token_group":5,"text":"my","start_char":28,"line":1},{"index_id":7,"token_group":6,"text":"Infos","start_char":30,"line":1},{"index_id":8,"token_group":6,"text":".","start_char":35,"line":1},{"index_id":9,"token_group":7,"text":"get","start_char":36,"line":1},{"index_id":10,"token_group":8,"text":"Or","start_char":39,"line":1},{"index_id":11,"token_group":8,"text":"Null","start_char":41,"line":1},{"index_id":12,"token_group":8,"text":"(","start_char":45,"line":1},{"index_id":13,"token_group":9,"text":"line","start_char":46,"line":1},{"index_id":14,"token_group":10,"text":"Number","start_char":50,"line":1},{"index_id":15,"token_group":10,"text":")","start_char":56,"line":1},{"index_id":16,"token_group":11,"text":";","start_char":57,"line":1},{"index_id":17,"token_group":12,"text":"if","start_char":4,"line":2},{"index_id":18,"token_group":13,"text":"(","start_char":7,"line":2},{"index_id":19,"token_group":14,"text":"info","start_char":8,"line":2},{"index_id":20,"token_group":15,"text":"==","start_char":13,"line":2},{"index_id":21,"token_group":16,"text":"null","start_char":16,"line":2},{"index_id":22,"token_group":17,"text":")","start_char":20,"line":2},{"index_id":23,"token_group":18,"text":"return","start_char":22,"line":2},{"index_id":24,"token_group":19,"text":"\"\"","start_char":29,"line":2},{"index_id":25,"token_group":20,"text":";","start_char":31,"line":2},{"index_id":26,"token_group":21,"text":"svn","start_char":4,"line":4},{"index_id":27,"token_group":22,"text":"File","start_char":7,"line":4},{"index_id":28,"token_group":22,"text":"Revision","start_char":11,"line":4},{"index_id":29,"token_group":22,"text":"revision","start_char":20,"line":4},{"index_id":30,"token_group":23,"text":"=","start_char":29,"line":4},{"index_id":31,"token_group":24,"text":"my","start_char":31,"line":4},{"index_id":32,"token_group":25,"text":"Revision","start_char":33,"line":4},{"index_id":33,"token_group":25,"text":"Map","start_char":41,"line":4},{"index_id":34,"token_group":25,"text":".","start_char":44,"line":4},{"index_id":35,"token_group":26,"text":"get","start_char":45,"line":4},{"index_id":36,"token_group":27,"text":"(","start_char":48,"line":4},{"index_id":37,"token_group":28,"text":"info","start_char":49,"line":4},{"index_id":38,"token_group":29,"text":".","start_char":53,"line":4},{"index_id":39,"token_group":30,"text":"get","start_char":54,"line":4},{"index_id":40,"token_group":31,"text":"Revision","start_char":57,"line":4},{"index_id":41,"token_group":31,"text":"(","start_char":65,"line":4},{"index_id":42,"token_group":32,"text":")","start_char":66,"line":4},{"index_id":43,"token_group":33,"text":")","start_char":67,"line":4},{"index_id":44,"token_group":34,"text":";","start_char":68,"line":4},{"index_id":45,"token_group":35,"text":"if","start_char":4,"line":5},{"index_id":46,"token_group":36,"text":"(","start_char":7,"line":5},{"index_id":47,"token_group":37,"text":"revision","start_char":8,"line":5},{"index_id":48,"token_group":38,"text":"!=","start_char":17,"line":5},{"index_id":49,"token_group":39,"text":"null","start_char":20,"line":5},{"index_id":50,"token_group":40,"text":")","start_char":24,"line":5},{"index_id":51,"token_group":41,"text":"{","start_char":4,"line":6},{"index_id":52,"token_group":42,"text":"string","start_char":8,"line":7},{"index_id":53,"token_group":43,"text":"prefix","start_char":15,"line":7},{"index_id":54,"token_group":44,"text":"=","start_char":22,"line":7},{"index_id":55,"token_group":45,"text":"my","start_char":24,"line":7},{"index_id":56,"token_group":46,"text":"Infos","start_char":26,"line":7},{"index_id":57,"token_group":46,"text":".","start_char":31,"line":7},{"index_id":58,"token_group":47,"text":"get","start_char":32,"line":7},{"index_id":59,"token_group":48,"text":"Annotation","start_char":35,"line":7},{"index_id":60,"token_group":48,"text":"Source","start_char":45,"line":7},{"index_id":61,"token_group":48,"text":"(","start_char":51,"line":7},{"index_id":62,"token_group":49,"text":"line","start_char":52,"line":7},{"index_id":63,"token_group":50,"text":"Number","start_char":56,"line":7},{"index_id":64,"token_group":50,"text":")","start_char":62,"line":7},{"index_id":65,"token_group":51,"text":".","start_char":63,"line":7},{"index_id":66,"token_group":52,"text":"show","start_char":64,"line":7},{"index_id":67,"token_group":53,"text":"Merged","start_char":68,"line":7},{"index_id":68,"token_group":53,"text":"(","start_char":74,"line":7},{"index_id":69,"token_group":54,"text":")","start_char":75,"line":7},{"index_id":70,"token_group":55,"text":"?","start_char":77,"line":7},{"index_id":71,"token_group":56,"text":"\"Merge source revision\"","start_char":24,"line":8},{"index_id":72,"token_group":57,"text":":","start_char":48,"line":8},{"index_id":73,"token_group":58,"text":"\"Revision\"","start_char":50,"line":8},{"index_id":74,"token_group":59,"text":";","start_char":60,"line":8},{"index_id":75,"token_group":60,"text":"return","start_char":8,"line":10},{"index_id":76,"token_group":61,"text":"prefix","start_char":15,"line":10},{"index_id":77,"token_group":62,"text":"+","start_char":22,"line":10},{"index_id":78,"token_group":63,"text":"\" \"","start_char":24,"line":10},{"index_id":79,"token_group":64,"text":"+","start_char":28,"line":10},{"index_id":80,"token_group":65,"text":"info","start_char":30,"line":10},{"index_id":81,"token_group":66,"text":".","start_char":34,"line":10},{"index_id":82,"token_group":67,"text":"get","start_char":35,"line":10},{"index_id":83,"token_group":68,"text":"Revision","start_char":38,"line":10},{"index_id":84,"token_group":68,"text":"(","start_char":46,"line":10},{"index_id":85,"token_group":69,"text":")","start_char":47,"line":10},{"index_id":86,"token_group":70,"text":"+","start_char":49,"line":10},{"index_id":87,"token_group":71,"text":"\": \"","start_char":51,"line":10},{"index_id":88,"token_group":72,"text":"+","start_char":56,"line":10},{"index_id":89,"token_group":73,"text":"revision","start_char":58,"line":10},{"index_id":90,"token_group":74,"text":".","start_char":66,"line":10},{"index_id":91,"token_group":75,"text":"get","start_char":67,"line":10},{"index_id":92,"token_group":76,"text":"Commit","start_char":70,"line":10},{"index_id":93,"token_group":76,"text":"Message","start_char":76,"line":10},{"index_id":94,"token_group":76,"text":"(","start_char":83,"line":10},{"index_id":95,"token_group":77,"text":")","start_char":84,"line":10},{"index_id":96,"token_group":78,"text":";","start_char":85,"line":10},{"index_id":97,"token_group":79,"text":"}","start_char":4,"line":11},{"index_id":98,"token_group":80,"text":"return","start_char":4,"line":12},{"index_id":99,"token_group":81,"text":"\"\"","start_char":11,"line":12},{"index_id":100,"token_group":82,"text":";","start_char":13,"line":12},{"index_id":101,"token_group":83,"text":"}","start_char":0,"line":13}],"tokens_list":["{","final","commit","Info","info","=","my","Infos",".","get","Or","Null","(","line","Number",")",";","if","(","info","==","null",")","return","\"\"",";","svn","File","Revision","revision","=","my","Revision","Map",".","get","(","info",".","get","Revision","(",")",")",";","if","(","revision","!=","null",")","{","string","prefix","=","my","Infos",".","get","Annotation","Source","(","line","Number",")",".","show","Merged","(",")","?","\"Merge source revision\"",":","\"Revision\"",";","return","prefix","+","\" \"","+","info",".","get","Revision","(",")","+","\": \"","+","revision",".","get","Commit","Message","(",")",";","}","return","\"\"",";","}"],"uuid":"ae64f8a4339ef9836312c138de3b01c4"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","do","Test","<\/id>","(","new","<id>","mock","Introduce","Variable","Handler","<\/id>","(","\"s\"",",","true",",","true",",","true",",","<id>","common","Class","Names","<\/id>",".","<id>","java","Lang","String","<\/id>",")",")",";","}","<SENTENCE_END\/>"],"file_name":"IntroduceVariableTest.java","formatted_lines":["{"," doTest(new MockIntroduceVariableHandler(\"s\", true, true, true,"," CommonClassNames.JAVA_LANG_STRING));","}"],"function_name":"testReplaceAll","function_name_tokens":["test","replace","all"],"id_body_hash":"5e8608323bafc47c57afc03e46b6fcc5","id_same_identifier_list":[0,1,2,2,3,4,5,5,5,5,6,7,8,9,10,11,12,13,14,15,15,15,16,17,17,17,18,19,20,21,22],"option_correct":"testReplaceAll","options":["addClickNavigator","testReplaceAll1","testReplaceAll2","testReplaceAll","testReplaceAll3","extractNonModuleLibraries","isTemplateCallName"],"options_nlp":["add click navigator","test replace all 1","test replace all 2","test replace all","test replace all 3","extract non module libraries","is template call name"],"options_random":["addClickNavigator","extractNonModuleLibraries","isTemplateCallName"],"options_tfidf":["testReplaceAll1","testReplaceAll2","testReplaceAll3"],"project_name":"intellij-community","source_code_string":"public void testReplaceAll() {\n doTest(new MockIntroduceVariableHandler(\"s\", true, true, true, CommonClassNames.JAVA_LANG_STRING));\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"do","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Test","start_char":6,"line":1},{"index_id":3,"token_group":2,"text":"(","start_char":10,"line":1},{"index_id":4,"token_group":3,"text":"new","start_char":11,"line":1},{"index_id":5,"token_group":4,"text":"mock","start_char":15,"line":1},{"index_id":6,"token_group":5,"text":"Introduce","start_char":19,"line":1},{"index_id":7,"token_group":5,"text":"Variable","start_char":28,"line":1},{"index_id":8,"token_group":5,"text":"Handler","start_char":36,"line":1},{"index_id":9,"token_group":5,"text":"(","start_char":43,"line":1},{"index_id":10,"token_group":6,"text":"\"s\"","start_char":44,"line":1},{"index_id":11,"token_group":7,"text":",","start_char":47,"line":1},{"index_id":12,"token_group":8,"text":"true","start_char":49,"line":1},{"index_id":13,"token_group":9,"text":",","start_char":53,"line":1},{"index_id":14,"token_group":10,"text":"true","start_char":55,"line":1},{"index_id":15,"token_group":11,"text":",","start_char":59,"line":1},{"index_id":16,"token_group":12,"text":"true","start_char":61,"line":1},{"index_id":17,"token_group":13,"text":",","start_char":65,"line":1},{"index_id":18,"token_group":14,"text":"common","start_char":44,"line":2},{"index_id":19,"token_group":15,"text":"Class","start_char":50,"line":2},{"index_id":20,"token_group":15,"text":"Names","start_char":55,"line":2},{"index_id":21,"token_group":15,"text":".","start_char":60,"line":2},{"index_id":22,"token_group":16,"text":"java","start_char":61,"line":2},{"index_id":23,"token_group":17,"text":"Lang","start_char":66,"line":2},{"index_id":24,"token_group":17,"text":"String","start_char":71,"line":2},{"index_id":25,"token_group":17,"text":")","start_char":77,"line":2},{"index_id":26,"token_group":18,"text":")","start_char":78,"line":2},{"index_id":27,"token_group":19,"text":";","start_char":79,"line":2},{"index_id":28,"token_group":20,"text":"}","start_char":0,"line":3}],"tokens_list":["{","do","Test","(","new","mock","Introduce","Variable","Handler","(","\"s\"",",","true",",","true",",","true",",","common","Class","Names",".","java","Lang","String",")",")",";","}"],"uuid":"1b6cf5468b3e2696ed641054b1f78a71"},{"cap_original_tokens":["<SENTENCE_START>","{","return","(","<id>","clazz","<\/id>","!=","null","&&","(","<id>","dynamic","M","Bean","<\/id>",".","class",".","<id>","is","Assignable","From","<\/id>","(","<id>","clazz","<\/id>",")","||","(","<id>","get","M","Bean","Interface","<\/id>","(","<id>","clazz","<\/id>",")","!=","null","||","<id>","get","Mx","Bean","Interface","<\/id>","(","<id>","clazz","<\/id>",")","!=","null",")",")",")",";","}","<SENTENCE_END\/>"],"file_name":"JmxUtils.java","formatted_lines":["{"," return (clazz != null &&"," (DynamicMBean.class.isAssignableFrom(clazz) ||"," (getMBeanInterface(clazz) != null || getMXBeanInterface(clazz) != null)));","}"],"function_name":"isMBean","function_name_tokens":["is","m","bean"],"id_body_hash":"eba4ccc7406f11a4b35621f36e05a169","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,9,9,10,11,12,13,13,13,14,15,16,17,18,19,19,19,19,20,21,22,23,24,25,26,26,26,26,27,28,29,30,31,32,33,34,35,36,37],"option_correct":"isMBean","options":["removeConnectionSpecFromCurrentThread","isMBean","getDateTimeContext","setComparator","is","testIsMBean","testIsMBeanWithDynamicMBean"],"options_nlp":["remove connection spec from current thread","is m bean","get date time context","set comparator","is","test is m bean","test is m bean with dynamic m bean"],"options_random":["removeConnectionSpecFromCurrentThread","setComparator","getDateTimeContext"],"options_tfidf":["is","testIsMBean","testIsMBeanWithDynamicMBean"],"project_name":"spring-framework","source_code_string":"public static boolean isMBean(Class<?> clazz) {\n\t\treturn (clazz != null &&\n\t\t\t\t(DynamicMBean.class.isAssignableFrom(clazz) ||\n\t\t\t\t\t\t(getMBeanInterface(clazz) != null || getMXBeanInterface(clazz) != null)));\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":"clazz","start_char":12,"line":1},{"index_id":4,"token_group":4,"text":"!=","start_char":18,"line":1},{"index_id":5,"token_group":5,"text":"null","start_char":21,"line":1},{"index_id":6,"token_group":6,"text":"&&","start_char":26,"line":1},{"index_id":7,"token_group":7,"text":"(","start_char":12,"line":2},{"index_id":8,"token_group":8,"text":"dynamic","start_char":13,"line":2},{"index_id":9,"token_group":9,"text":"M","start_char":20,"line":2},{"index_id":10,"token_group":9,"text":"Bean","start_char":21,"line":2},{"index_id":11,"token_group":9,"text":".","start_char":25,"line":2},{"index_id":12,"token_group":10,"text":"class","start_char":26,"line":2},{"index_id":13,"token_group":11,"text":".","start_char":31,"line":2},{"index_id":14,"token_group":12,"text":"is","start_char":32,"line":2},{"index_id":15,"token_group":13,"text":"Assignable","start_char":34,"line":2},{"index_id":16,"token_group":13,"text":"From","start_char":44,"line":2},{"index_id":17,"token_group":13,"text":"(","start_char":48,"line":2},{"index_id":18,"token_group":14,"text":"clazz","start_char":49,"line":2},{"index_id":19,"token_group":15,"text":")","start_char":54,"line":2},{"index_id":20,"token_group":16,"text":"||","start_char":56,"line":2},{"index_id":21,"token_group":17,"text":"(","start_char":13,"line":3},{"index_id":22,"token_group":18,"text":"get","start_char":14,"line":3},{"index_id":23,"token_group":19,"text":"M","start_char":17,"line":3},{"index_id":24,"token_group":19,"text":"Bean","start_char":18,"line":3},{"index_id":25,"token_group":19,"text":"Interface","start_char":22,"line":3},{"index_id":26,"token_group":19,"text":"(","start_char":31,"line":3},{"index_id":27,"token_group":20,"text":"clazz","start_char":32,"line":3},{"index_id":28,"token_group":21,"text":")","start_char":37,"line":3},{"index_id":29,"token_group":22,"text":"!=","start_char":39,"line":3},{"index_id":30,"token_group":23,"text":"null","start_char":42,"line":3},{"index_id":31,"token_group":24,"text":"||","start_char":47,"line":3},{"index_id":32,"token_group":25,"text":"get","start_char":50,"line":3},{"index_id":33,"token_group":26,"text":"Mx","start_char":53,"line":3},{"index_id":34,"token_group":26,"text":"Bean","start_char":55,"line":3},{"index_id":35,"token_group":26,"text":"Interface","start_char":59,"line":3},{"index_id":36,"token_group":26,"text":"(","start_char":68,"line":3},{"index_id":37,"token_group":27,"text":"clazz","start_char":69,"line":3},{"index_id":38,"token_group":28,"text":")","start_char":74,"line":3},{"index_id":39,"token_group":29,"text":"!=","start_char":76,"line":3},{"index_id":40,"token_group":30,"text":"null","start_char":79,"line":3},{"index_id":41,"token_group":31,"text":")","start_char":83,"line":3},{"index_id":42,"token_group":32,"text":")","start_char":84,"line":3},{"index_id":43,"token_group":33,"text":")","start_char":85,"line":3},{"index_id":44,"token_group":34,"text":";","start_char":86,"line":3},{"index_id":45,"token_group":35,"text":"}","start_char":0,"line":4}],"tokens_list":["{","return","(","clazz","!=","null","&&","(","dynamic","M","Bean",".","class",".","is","Assignable","From","(","clazz",")","||","(","get","M","Bean","Interface","(","clazz",")","!=","null","||","get","Mx","Bean","Interface","(","clazz",")","!=","null",")",")",")",";","}"],"uuid":"7272fadcc66313b630819de42663adfe"},{"cap_original_tokens":["<SENTENCE_START>","{","long","<id>","nanos","Since","<\/id>","=","(","(","<id>","when","<\/id>","-","<id>","start","Epoch","<\/id>",")","*","10000",")","+","<id>","nanos","<\/id>",";","return","<id>","create","Time","<\/id>","(","<id>","nanos","Since","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"UUIDGen.java","formatted_lines":["{"," long nanosSince = ((when - START_EPOCH) * 10000) + nanos;"," return createTime(nanosSince);","}"],"function_name":"createTimeUnsafe","function_name_tokens":["create","time","unsafe"],"id_body_hash":"acfa999d0d8c0493ee4afe341330658b","id_same_identifier_list":[0,1,2,3,3,4,5,6,7,8,9,9,10,11,12,13,14,15,16,17,18,18,19,20,20,21,22,23,24],"option_correct":"createTimeUnsafe","options":["addRangeToNeighbors","getMinimumToken","createTimeUnsafe","stopUnsafe","createTime","createTimeSafe","unsetEnd_token"],"options_nlp":["add range to neighbors","get minimum token","create time unsafe","stop unsafe","create time","create time safe","unset end token"],"options_random":["addRangeToNeighbors","unsetEnd_token","getMinimumToken"],"options_tfidf":["createTime","stopUnsafe","createTimeSafe"],"project_name":"cassandra","source_code_string":"private long createTimeUnsafe(long when, int nanos)\n {\n long nanosSince = ((when - START_EPOCH) * 10000) + nanos;\n return createTime(nanosSince);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"long","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"nanos","start_char":9,"line":1},{"index_id":3,"token_group":3,"text":"Since","start_char":14,"line":1},{"index_id":4,"token_group":3,"text":"=","start_char":20,"line":1},{"index_id":5,"token_group":4,"text":"(","start_char":22,"line":1},{"index_id":6,"token_group":5,"text":"(","start_char":23,"line":1},{"index_id":7,"token_group":6,"text":"when","start_char":24,"line":1},{"index_id":8,"token_group":7,"text":"-","start_char":29,"line":1},{"index_id":9,"token_group":8,"text":"start","start_char":31,"line":1},{"index_id":10,"token_group":9,"text":"Epoch","start_char":37,"line":1},{"index_id":11,"token_group":9,"text":")","start_char":42,"line":1},{"index_id":12,"token_group":10,"text":"*","start_char":44,"line":1},{"index_id":13,"token_group":11,"text":"10000","start_char":46,"line":1},{"index_id":14,"token_group":12,"text":")","start_char":51,"line":1},{"index_id":15,"token_group":13,"text":"+","start_char":53,"line":1},{"index_id":16,"token_group":14,"text":"nanos","start_char":55,"line":1},{"index_id":17,"token_group":15,"text":";","start_char":60,"line":1},{"index_id":18,"token_group":16,"text":"return","start_char":4,"line":2},{"index_id":19,"token_group":17,"text":"create","start_char":11,"line":2},{"index_id":20,"token_group":18,"text":"Time","start_char":17,"line":2},{"index_id":21,"token_group":18,"text":"(","start_char":21,"line":2},{"index_id":22,"token_group":19,"text":"nanos","start_char":22,"line":2},{"index_id":23,"token_group":20,"text":"Since","start_char":27,"line":2},{"index_id":24,"token_group":20,"text":")","start_char":32,"line":2},{"index_id":25,"token_group":21,"text":";","start_char":33,"line":2},{"index_id":26,"token_group":22,"text":"}","start_char":0,"line":3}],"tokens_list":["{","long","nanos","Since","=","(","(","when","-","start","Epoch",")","*","10000",")","+","nanos",";","return","create","Time","(","nanos","Since",")",";","}"],"uuid":"6b79400f49ecf2020aad69decb4f850e"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","do","Rename","Conflict","Test","<\/id>","(","\"Foo\"",",","\"A class named 'Foo' is already defined in classNameConflict.py\"",")",";","}","<SENTENCE_END\/>"],"file_name":"PyRenameTest.java","formatted_lines":["{"," doRenameConflictTest(\"Foo\","," \"A class named 'Foo' is already defined in classNameConflict.py\");","}"],"function_name":"testClassNameConflict","function_name_tokens":["test","class","name","conflict"],"id_body_hash":"f9e21b2afddd01cfd83d0113275c3d49","id_same_identifier_list":[0,1,2,2,2,2,3,4,5,6,7,8,9,10],"option_correct":"testClassNameConflict","options":["withTypeText","testValueNameConflict","testGetClassConflict","testClassNameConflict","testNestedClassNameConflict","isHovered","isFieldInitialized"],"options_nlp":["with type text","test value name conflict","test get class conflict","test class name conflict","test nested class name conflict","is hovered","is field initialized"],"options_random":["isHovered","isFieldInitialized","withTypeText"],"options_tfidf":["testNestedClassNameConflict","testGetClassConflict","testValueNameConflict"],"project_name":"intellij-community","source_code_string":"public void testClassNameConflict() { \n doRenameConflictTest(\"Foo\", \"A class named 'Foo' is already defined in classNameConflict.py\");\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"do","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Rename","start_char":6,"line":1},{"index_id":3,"token_group":2,"text":"Conflict","start_char":12,"line":1},{"index_id":4,"token_group":2,"text":"Test","start_char":20,"line":1},{"index_id":5,"token_group":2,"text":"(","start_char":24,"line":1},{"index_id":6,"token_group":3,"text":"\"Foo\"","start_char":25,"line":1},{"index_id":7,"token_group":4,"text":",","start_char":30,"line":1},{"index_id":8,"token_group":5,"text":"\"A class named 'Foo' is already defined in classNameConflict.py\"","start_char":25,"line":2},{"index_id":9,"token_group":6,"text":")","start_char":89,"line":2},{"index_id":10,"token_group":7,"text":";","start_char":90,"line":2},{"index_id":11,"token_group":8,"text":"}","start_char":0,"line":3}],"tokens_list":["{","do","Rename","Conflict","Test","(","\"Foo\"",",","\"A class named 'Foo' is already defined in classNameConflict.py\"",")",";","}"],"uuid":"e05f9cc97eb1fb574c30dfcc5d5af6da"},{"cap_original_tokens":["<SENTENCE_START>","{","final","<id>","string","<\/id>","<id>","name","<\/id>","=","<id>","properties","Group","Jaxb","Mapping","<\/id>",".","<id>","get","Name","<\/id>","(",")",";","final","<id>","attribute","Role","<\/id>","<id>","attribute","Role","<\/id>","=","<id>","callback","<\/id>",".","<id>","get","Attribute","Source","Container","<\/id>","(",")",".","<id>","get","Attribute","Role","Base","<\/id>","(",")",".","<id>","append","<\/id>","(","<id>","name","<\/id>",")",";","final","<id>","attribute","Path","<\/id>","<id>","attribute","Path","<\/id>","=","<id>","callback","<\/id>",".","<id>","get","Attribute","Source","Container","<\/id>","(",")",".","<id>","get","Attribute","Path","Base","<\/id>","(",")",".","<id>","append","<\/id>","(","<id>","name","<\/id>",")",";","final","<id>","embeddable","Source","Virtual","Impl","<\/id>","<id>","embeddable","<\/id>","=","new","<id>","embeddable","Source","Virtual","Impl","<\/id>","(","<id>","mapping","Document","<\/id>",",","<id>","callback","<\/id>",",","new","<id>","embeddable","Source","Container","<\/id>","(",")","{","@","<id>","override","<\/id>","Public","<id>","attribute","Role","<\/id>","<id>","get","Attribute","Role","Base","<\/id>","(",")","{","return","<id>","attribute","Role","<\/id>",";","}","@","<id>","override","<\/id>","Public","<id>","attribute","Path","<\/id>","<id>","get","Attribute","Path","Base","<\/id>","(",")","{","return","<id>","attribute","Path","<\/id>",";","}","@","<id>","override","<\/id>","Public","<id>","tooling","Hint","Context","<\/id>","<id>","get","Tooling","Hint","Context","Baseline","For","Embeddable","<\/id>","(",")","{","return","<id>","callback","<\/id>",".","<id>","get","Attribute","Source","Container","<\/id>","(",")",".","<id>","get","Tooling","Hint","Context","<\/id>","(",")",";","}","}",",","<id>","properties","Group","Jaxb","Mapping","<\/id>",".","<id>","get","Attributes","<\/id>","(",")",",","<id>","logical","Table","Name","<\/id>",",","<id>","natural","Id","Mutability","<\/id>",",","<id>","properties","Group","Jaxb","Mapping","<\/id>",")",";","final","<id>","embeddable","Mapping","<\/id>","<id>","embeddable","Mapping","<\/id>","=","new","<id>","embeddable","Mapping","<\/id>","(",")","{","@","<id>","override","<\/id>","Public","<id>","string","<\/id>","<id>","get","Clazz","<\/id>","(",")","{","return","null",";","}","@","<id>","override","<\/id>","Public","<id>","list","<\/id>","<","<id>","jaxb","Hbm","Tuplizer","Type","<\/id>",">","<id>","get","Tuplizer","<\/id>","(",")","{","return","<id>","collections","<\/id>",".","<id>","empty","List","<\/id>","(",")",";","}","@","<id>","override","<\/id>","Public","<id>","string","<\/id>","<id>","get","Parent","<\/id>","(",")","{","return","null",";","}","}",";","final","<id>","embedded","Attribute","Mapping","<\/id>","<id>","attribute","Mapping","<\/id>","=","new","<id>","embedded","Attribute","Mapping","<\/id>","(",")","{","@","<id>","override","<\/id>","Public","boolean","<id>","is","Unique","<\/id>","(",")","{","return","<id>","properties","Group","Jaxb","Mapping","<\/id>",".","<id>","is","Unique","<\/id>","(",")",";","}","@","<id>","override","<\/id>","Public","<id>","embeddable","Mapping","<\/id>","<id>","get","Embeddable","Mapping","<\/id>","(",")","{","return","<id>","embeddable","Mapping","<\/id>",";","}","@","<id>","override","<\/id>","Public","<id>","string","<\/id>","<id>","get","Name","<\/id>","(",")","{","return","<id>","properties","Group","Jaxb","Mapping","<\/id>",".","<id>","get","Name","<\/id>","(",")",";","}","@","<id>","override","<\/id>","Public","<id>","string","<\/id>","<id>","get","Access","<\/id>","(",")","{","return","null",";","}","@","<id>","override","<\/id>","Public","<id>","list","<\/id>","<","<id>","jaxb","Hbm","Tooling","Hint","Type","<\/id>",">","<id>","get","Tooling","Hints","<\/id>","(",")","{","return","<id>","collections","<\/id>",".","<id>","empty","List","<\/id>","(",")",";","}","}",";","final","<id>","singular","Attribute","Source","Embedded","<\/id>","<id>","virtual","Attribute","<\/id>","=","new","<id>","abstract","Singular","Attribute","Source","Embedded","Impl","<\/id>","(","<id>","mapping","Document","<\/id>",",","<id>","attribute","Mapping","<\/id>",",","<id>","embeddable","<\/id>",",","<id>","natural","Id","Mutability","<\/id>",")","{","@","<id>","override","<\/id>","Public","boolean","<id>","is","Virtual","Attribute","<\/id>","(",")","{","return","true",";","}","@","<id>","override","<\/id>","Public","<id>","boolean","<\/id>","<id>","is","Insertable","<\/id>","(",")","{","return","<id>","properties","Group","Jaxb","Mapping","<\/id>",".","<id>","is","Insert","<\/id>","(",")",";","}","@","<id>","override","<\/id>","Public","<id>","boolean","<\/id>","<id>","is","Updatable","<\/id>","(",")","{","return","<id>","properties","Group","Jaxb","Mapping","<\/id>",".","<id>","is","Update","<\/id>","(",")",";","}","@","<id>","override","<\/id>","Public","boolean","<id>","is","Bytecode","Lazy","<\/id>","(",")","{","return","false",";","}","@","<id>","override","<\/id>","Public","<id>","xml","Element","Metadata","<\/id>","<id>","get","Source","Type","<\/id>","(",")","{","return","<id>","xml","Element","Metadata","<\/id>",".","<id>","properties","<\/id>",";","}","@","<id>","override","<\/id>","Public","<id>","string","<\/id>","<id>","get","Xml","Node","Name","<\/id>","(",")","{","return","null",";","}","@","<id>","override","<\/id>","Public","<id>","attribute","Path","<\/id>","<id>","get","Attribute","Path","<\/id>","(",")","{","return","<id>","attribute","Path","<\/id>",";","}","@","<id>","override","<\/id>","Public","<id>","attribute","Role","<\/id>","<id>","get","Attribute","Role","<\/id>","(",")","{","return","<id>","attribute","Role","<\/id>",";","}","@","<id>","override","<\/id>","Public","boolean","<id>","is","Included","In","Optimistic","Locking","<\/id>","(",")","{","return","false",";","}","@","<id>","override","<\/id>","Public","<id>","tooling","Hint","Context","<\/id>","<id>","get","Tooling","Hint","Context","<\/id>","(",")","{","return","<id>","mapping","Document","<\/id>",".","<id>","get","Tooling","Hint","Context","<\/id>","(",")",";","}","}",";","<id>","callback","<\/id>",".","<id>","add","Attribute","Source","<\/id>","(","<id>","virtual","Attribute","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"AttributesHelper.java","formatted_lines":["{"," final String name = propertiesGroupJaxbMapping.getName();"," final AttributeRole attributeRole = callback.getAttributeSourceContainer()"," .getAttributeRoleBase()"," .append( name );"," final AttributePath attributePath = callback.getAttributeSourceContainer()"," .getAttributePathBase()"," .append( name );",""," final EmbeddableSourceVirtualImpl embeddable = new EmbeddableSourceVirtualImpl("," mappingDocument,"," callback,"," new EmbeddableSourceContainer()"," {"," @Override"," public AttributeRole getAttributeRoleBase()"," {"," return attributeRole;"," }",""," @Override"," public AttributePath getAttributePathBase()"," {"," return attributePath;"," }",""," @Override"," public ToolingHintContext getToolingHintContextBaselineForEmbeddable()"," {"," return callback.getAttributeSourceContainer().getToolingHintContext();"," }"," },"," propertiesGroupJaxbMapping.getAttributes(),"," logicalTableName,"," naturalIdMutability,"," propertiesGroupJaxbMapping"," );","",""," final EmbeddableMapping embeddableMapping = new EmbeddableMapping()"," {"," @Override"," public String getClazz()"," {"," return null;"," }",""," @Override"," public List<JaxbHbmTuplizerType> getTuplizer()"," {"," return Collections.emptyList();"," }",""," @Override"," public String getParent()"," {"," return null;"," }"," };",""," final EmbeddedAttributeMapping attributeMapping = new"," EmbeddedAttributeMapping()"," {"," @Override"," public boolean isUnique()"," {"," return propertiesGroupJaxbMapping.isUnique();"," }",""," @Override"," public EmbeddableMapping getEmbeddableMapping()"," {"," return embeddableMapping;"," }",""," @Override"," public String getName()"," {"," return propertiesGroupJaxbMapping.getName();"," }",""," @Override"," public String getAccess()"," {"," return null;"," }",""," @Override"," public List<JaxbHbmToolingHintType> getToolingHints()"," {"," return Collections.emptyList();"," }"," };","",""," final SingularAttributeSourceEmbedded virtualAttribute = new"," AbstractSingularAttributeSourceEmbeddedImpl("," mappingDocument,"," attributeMapping,"," embeddable,"," naturalIdMutability"," )"," {"," @Override"," public boolean isVirtualAttribute()"," {"," return true;"," }",""," @Override"," public Boolean isInsertable()"," {"," return propertiesGroupJaxbMapping.isInsert();"," }",""," @Override"," public Boolean isUpdatable()"," {"," return propertiesGroupJaxbMapping.isUpdate();"," }",""," @Override"," public boolean isBytecodeLazy()"," {"," return false;"," }",""," @Override"," public XmlElementMetadata getSourceType()"," {"," return XmlElementMetadata.PROPERTIES;"," }",""," @Override"," public String getXmlNodeName()"," {"," return null;"," }",""," @Override"," public AttributePath getAttributePath()"," {"," return attributePath;"," }",""," @Override"," public AttributeRole getAttributeRole()"," {"," return attributeRole;"," }",""," @Override"," public boolean isIncludedInOptimisticLocking()"," {"," return false;"," }",""," @Override"," public ToolingHintContext getToolingHintContext()"," {"," return mappingDocument.getToolingHintContext();"," }"," };",""," callback.addAttributeSource( virtualAttribute );","}"],"function_name":"processPropertiesGroup","function_name_tokens":["process","properties","group"],"id_body_hash":"00a15d06f0bb85e80ec9f159e6102cc5","id_same_identifier_list":[0,1,2,3,4,5,6,6,6,6,7,8,8,9,10,11,12,13,13,14,14,15,16,17,18,18,18,18,19,20,21,22,22,22,22,23,24,25,26,27,28,29,30,31,32,32,33,33,34,35,36,37,37,37,37,38,39,40,41,41,41,41,42,43,44,45,46,47,48,49,50,51,51,51,51,52,53,54,55,55,55,55,56,57,57,58,59,60,61,62,62,62,63,64,65,66,67,68,69,69,70,70,70,70,71,72,73,74,75,75,76,77,78,79,80,81,81,82,82,82,82,83,84,85,86,87,87,88,89,90,91,92,93,93,93,94,94,94,94,94,94,94,95,96,97,98,99,100,101,101,101,101,102,103,104,105,105,105,105,106,107,108,109,110,111,112,112,112,112,113,114,114,115,116,117,118,118,118,119,120,120,120,121,122,122,122,122,123,124,125,126,126,127,127,128,129,130,130,131,132,133,134,135,136,137,138,138,139,140,141,142,143,144,145,146,147,148,149,150,151,151,151,151,152,153,153,154,155,156,157,158,159,160,160,161,162,163,164,165,166,167,168,169,169,170,171,172,173,174,175,176,177,178,179,180,180,180,181,181,182,183,184,184,184,185,186,187,188,189,190,191,192,192,193,194,195,196,197,197,197,197,198,199,199,200,201,202,203,204,205,206,207,207,208,208,208,209,210,211,212,213,213,214,215,216,217,218,219,220,220,221,222,223,224,225,225,225,225,226,227,227,228,229,230,231,232,233,234,235,236,236,237,238,239,240,241,242,243,244,245,246,247,248,249,249,249,249,249,250,251,251,251,252,253,254,255,256,257,258,258,259,260,261,262,263,264,265,266,266,266,266,267,267,268,269,270,270,270,270,270,270,271,272,272,273,274,274,275,276,277,278,278,278,279,280,281,282,283,284,285,285,285,286,287,288,289,290,291,292,293,294,295,296,297,297,298,299,300,301,302,302,302,302,303,304,304,305,306,307,308,309,310,311,312,313,313,314,315,316,317,318,318,318,318,319,320,320,321,322,323,324,325,326,327,328,329,329,329,330,331,332,333,334,335,336,337,338,339,340,340,340,341,341,341,342,343,344,345,346,346,346,347,348,349,350,351,352,353,354,355,355,355,355,356,357,358,359,360,361,362,363,364,365,366,366,367,367,367,368,369,370,371,372,372,373,374,375,376,377,378,378,379,379,379,380,381,382,383,384,384,385,386,387,388,389,390,391,391,391,391,391,392,393,394,395,396,397,398,399,400,401,402,402,402,403,403,403,403,404,405,406,407,408,408,409,410,410,410,410,411,412,413,414,415,416,417,418,419,419,419,420,421,421,422,423,424,425],"option_correct":"processPropertiesGroup","options":["testSetProperties","deleteTransientEntity","listenerGroup","isSame","processPropertiesGroup","setProperties","initializeSqlNode"],"options_nlp":["test set properties","delete transient entity","listener group","is same","process properties group","set properties","initialize sql node"],"options_random":["initializeSqlNode","deleteTransientEntity","isSame"],"options_tfidf":["setProperties","listenerGroup","testSetProperties"],"project_name":"hibernate-orm","source_code_string":"private static void processPropertiesGroup(\n\t\t\tfinal MappingDocument mappingDocument,\n\t\t\tfinal Callback callback,\n\t\t\tfinal JaxbHbmPropertiesType propertiesGroupJaxbMapping,\n\t\t\tString logicalTableName,\n\t\t\tNaturalIdMutability naturalIdMutability) {\n\t\tfinal String name = propertiesGroupJaxbMapping.getName();\n\t\tfinal AttributeRole attributeRole = callback.getAttributeSourceContainer()\n\t\t\t\t.getAttributeRoleBase()\n\t\t\t\t.append( name );\n\t\tfinal AttributePath attributePath = callback.getAttributeSourceContainer()\n\t\t\t\t.getAttributePathBase()\n\t\t\t\t.append( name );\n\n\t\tfinal EmbeddableSourceVirtualImpl embeddable = new EmbeddableSourceVirtualImpl(\n\t\t\t\tmappingDocument,\n\t\t\t\tcallback,\n\t\t\t\tnew EmbeddableSourceContainer() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic AttributeRole getAttributeRoleBase() {\n\t\t\t\t\t\treturn attributeRole;\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic AttributePath getAttributePathBase() {\n\t\t\t\t\t\treturn attributePath;\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic ToolingHintContext getToolingHintContextBaselineForEmbeddable() {\n\t\t\t\t\t\treturn callback.getAttributeSourceContainer().getToolingHintContext();\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tpropertiesGroupJaxbMapping.getAttributes(),\n\t\t\t\tlogicalTableName,\n\t\t\t\tnaturalIdMutability,\n\t\t\t\tpropertiesGroupJaxbMapping\n\t\t);\n\n\t\t\n\t\tfinal EmbeddableMapping embeddableMapping = new EmbeddableMapping() {\n\t\t\t@Override\n\t\t\tpublic String getClazz() {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic List<JaxbHbmTuplizerType> getTuplizer() {\n\t\t\t\treturn Collections.emptyList();\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic String getParent() {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t};\n\n\t\tfinal EmbeddedAttributeMapping attributeMapping = new EmbeddedAttributeMapping() {\n\t\t\t@Override\n\t\t\tpublic boolean isUnique() {\n\t\t\t\treturn propertiesGroupJaxbMapping.isUnique();\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic EmbeddableMapping getEmbeddableMapping() {\n\t\t\t\treturn embeddableMapping;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic String getName() {\n\t\t\t\treturn propertiesGroupJaxbMapping.getName();\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic String getAccess() {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic List<JaxbHbmToolingHintType> getToolingHints() {\n\t\t\t\treturn Collections.emptyList();\n\t\t\t}\n\t\t};\n\n\t\t\n\t\tfinal SingularAttributeSourceEmbedded virtualAttribute = new AbstractSingularAttributeSourceEmbeddedImpl(\n\t\t\t\tmappingDocument,\n\t\t\t\tattributeMapping,\n\t\t\t\tembeddable,\n\t\t\t\tnaturalIdMutability\n\t\t) {\n\t\t\t@Override\n\t\t\tpublic boolean isVirtualAttribute() {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic Boolean isInsertable() {\n\t\t\t\treturn propertiesGroupJaxbMapping.isInsert();\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic Boolean isUpdatable() {\n\t\t\t\treturn propertiesGroupJaxbMapping.isUpdate();\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic boolean isBytecodeLazy() {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic XmlElementMetadata getSourceType() {\n\t\t\t\treturn XmlElementMetadata.PROPERTIES;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic String getXmlNodeName() {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic AttributePath getAttributePath() {\n\t\t\t\treturn attributePath;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic AttributeRole getAttributeRole() {\n\t\t\t\treturn attributeRole;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic boolean isIncludedInOptimisticLocking() {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic ToolingHintContext getToolingHintContext() {\n\t\t\t\treturn mappingDocument.getToolingHintContext();\n\t\t\t}\n\t\t};\n\n\t\tcallback.addAttributeSource( virtualAttribute );\n\t}","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":"string","start_char":10,"line":1},{"index_id":3,"token_group":3,"text":"name","start_char":17,"line":1},{"index_id":4,"token_group":4,"text":"=","start_char":22,"line":1},{"index_id":5,"token_group":5,"text":"properties","start_char":24,"line":1},{"index_id":6,"token_group":6,"text":"Group","start_char":34,"line":1},{"index_id":7,"token_group":6,"text":"Jaxb","start_char":39,"line":1},{"index_id":8,"token_group":6,"text":"Mapping","start_char":43,"line":1},{"index_id":9,"token_group":6,"text":".","start_char":50,"line":1},{"index_id":10,"token_group":7,"text":"get","start_char":51,"line":1},{"index_id":11,"token_group":8,"text":"Name","start_char":54,"line":1},{"index_id":12,"token_group":8,"text":"(","start_char":58,"line":1},{"index_id":13,"token_group":9,"text":")","start_char":59,"line":1},{"index_id":14,"token_group":10,"text":";","start_char":60,"line":1},{"index_id":15,"token_group":11,"text":"final","start_char":4,"line":2},{"index_id":16,"token_group":12,"text":"attribute","start_char":10,"line":2},{"index_id":17,"token_group":13,"text":"Role","start_char":19,"line":2},{"index_id":18,"token_group":13,"text":"attribute","start_char":24,"line":2},{"index_id":19,"token_group":14,"text":"Role","start_char":33,"line":2},{"index_id":20,"token_group":14,"text":"=","start_char":38,"line":2},{"index_id":21,"token_group":15,"text":"callback","start_char":40,"line":2},{"index_id":22,"token_group":16,"text":".","start_char":48,"line":2},{"index_id":23,"token_group":17,"text":"get","start_char":49,"line":2},{"index_id":24,"token_group":18,"text":"Attribute","start_char":52,"line":2},{"index_id":25,"token_group":18,"text":"Source","start_char":61,"line":2},{"index_id":26,"token_group":18,"text":"Container","start_char":67,"line":2},{"index_id":27,"token_group":18,"text":"(","start_char":76,"line":2},{"index_id":28,"token_group":19,"text":")","start_char":77,"line":2},{"index_id":29,"token_group":20,"text":".","start_char":40,"line":3},{"index_id":30,"token_group":21,"text":"get","start_char":41,"line":3},{"index_id":31,"token_group":22,"text":"Attribute","start_char":44,"line":3},{"index_id":32,"token_group":22,"text":"Role","start_char":53,"line":3},{"index_id":33,"token_group":22,"text":"Base","start_char":57,"line":3},{"index_id":34,"token_group":22,"text":"(","start_char":61,"line":3},{"index_id":35,"token_group":23,"text":")","start_char":62,"line":3},{"index_id":36,"token_group":24,"text":".","start_char":40,"line":4},{"index_id":37,"token_group":25,"text":"append","start_char":41,"line":4},{"index_id":38,"token_group":26,"text":"(","start_char":47,"line":4},{"index_id":39,"token_group":27,"text":"name","start_char":49,"line":4},{"index_id":40,"token_group":28,"text":")","start_char":54,"line":4},{"index_id":41,"token_group":29,"text":";","start_char":55,"line":4},{"index_id":42,"token_group":30,"text":"final","start_char":4,"line":5},{"index_id":43,"token_group":31,"text":"attribute","start_char":10,"line":5},{"index_id":44,"token_group":32,"text":"Path","start_char":19,"line":5},{"index_id":45,"token_group":32,"text":"attribute","start_char":24,"line":5},{"index_id":46,"token_group":33,"text":"Path","start_char":33,"line":5},{"index_id":47,"token_group":33,"text":"=","start_char":38,"line":5},{"index_id":48,"token_group":34,"text":"callback","start_char":40,"line":5},{"index_id":49,"token_group":35,"text":".","start_char":48,"line":5},{"index_id":50,"token_group":36,"text":"get","start_char":49,"line":5},{"index_id":51,"token_group":37,"text":"Attribute","start_char":52,"line":5},{"index_id":52,"token_group":37,"text":"Source","start_char":61,"line":5},{"index_id":53,"token_group":37,"text":"Container","start_char":67,"line":5},{"index_id":54,"token_group":37,"text":"(","start_char":76,"line":5},{"index_id":55,"token_group":38,"text":")","start_char":77,"line":5},{"index_id":56,"token_group":39,"text":".","start_char":40,"line":6},{"index_id":57,"token_group":40,"text":"get","start_char":41,"line":6},{"index_id":58,"token_group":41,"text":"Attribute","start_char":44,"line":6},{"index_id":59,"token_group":41,"text":"Path","start_char":53,"line":6},{"index_id":60,"token_group":41,"text":"Base","start_char":57,"line":6},{"index_id":61,"token_group":41,"text":"(","start_char":61,"line":6},{"index_id":62,"token_group":42,"text":")","start_char":62,"line":6},{"index_id":63,"token_group":43,"text":".","start_char":40,"line":7},{"index_id":64,"token_group":44,"text":"append","start_char":41,"line":7},{"index_id":65,"token_group":45,"text":"(","start_char":47,"line":7},{"index_id":66,"token_group":46,"text":"name","start_char":49,"line":7},{"index_id":67,"token_group":47,"text":")","start_char":54,"line":7},{"index_id":68,"token_group":48,"text":";","start_char":55,"line":7},{"index_id":69,"token_group":49,"text":"final","start_char":4,"line":9},{"index_id":70,"token_group":50,"text":"embeddable","start_char":10,"line":9},{"index_id":71,"token_group":51,"text":"Source","start_char":20,"line":9},{"index_id":72,"token_group":51,"text":"Virtual","start_char":26,"line":9},{"index_id":73,"token_group":51,"text":"Impl","start_char":33,"line":9},{"index_id":74,"token_group":51,"text":"embeddable","start_char":38,"line":9},{"index_id":75,"token_group":52,"text":"=","start_char":49,"line":9},{"index_id":76,"token_group":53,"text":"new","start_char":51,"line":9},{"index_id":77,"token_group":54,"text":"embeddable","start_char":55,"line":9},{"index_id":78,"token_group":55,"text":"Source","start_char":65,"line":9},{"index_id":79,"token_group":55,"text":"Virtual","start_char":71,"line":9},{"index_id":80,"token_group":55,"text":"Impl","start_char":78,"line":9},{"index_id":81,"token_group":55,"text":"(","start_char":82,"line":9},{"index_id":82,"token_group":56,"text":"mapping","start_char":8,"line":10},{"index_id":83,"token_group":57,"text":"Document","start_char":15,"line":10},{"index_id":84,"token_group":57,"text":",","start_char":23,"line":10},{"index_id":85,"token_group":58,"text":"callback","start_char":8,"line":11},{"index_id":86,"token_group":59,"text":",","start_char":16,"line":11},{"index_id":87,"token_group":60,"text":"new","start_char":8,"line":12},{"index_id":88,"token_group":61,"text":"embeddable","start_char":12,"line":12},{"index_id":89,"token_group":62,"text":"Source","start_char":22,"line":12},{"index_id":90,"token_group":62,"text":"Container","start_char":28,"line":12},{"index_id":91,"token_group":62,"text":"(","start_char":37,"line":12},{"index_id":92,"token_group":63,"text":")","start_char":38,"line":12},{"index_id":93,"token_group":64,"text":"{","start_char":4,"line":13},{"index_id":94,"token_group":65,"text":"@","start_char":8,"line":14},{"index_id":95,"token_group":66,"text":"override","start_char":9,"line":14},{"index_id":96,"token_group":67,"text":"Public","start_char":8,"line":15},{"index_id":97,"token_group":68,"text":"attribute","start_char":15,"line":15},{"index_id":98,"token_group":69,"text":"Role","start_char":24,"line":15},{"index_id":99,"token_group":69,"text":"get","start_char":29,"line":15},{"index_id":100,"token_group":70,"text":"Attribute","start_char":32,"line":15},{"index_id":101,"token_group":70,"text":"Role","start_char":41,"line":15},{"index_id":102,"token_group":70,"text":"Base","start_char":45,"line":15},{"index_id":103,"token_group":70,"text":"(","start_char":49,"line":15},{"index_id":104,"token_group":71,"text":")","start_char":50,"line":15},{"index_id":105,"token_group":72,"text":"{","start_char":8,"line":16},{"index_id":106,"token_group":73,"text":"return","start_char":12,"line":17},{"index_id":107,"token_group":74,"text":"attribute","start_char":19,"line":17},{"index_id":108,"token_group":75,"text":"Role","start_char":28,"line":17},{"index_id":109,"token_group":75,"text":";","start_char":32,"line":17},{"index_id":110,"token_group":76,"text":"}","start_char":8,"line":18},{"index_id":111,"token_group":77,"text":"@","start_char":8,"line":20},{"index_id":112,"token_group":78,"text":"override","start_char":9,"line":20},{"index_id":113,"token_group":79,"text":"Public","start_char":8,"line":21},{"index_id":114,"token_group":80,"text":"attribute","start_char":15,"line":21},{"index_id":115,"token_group":81,"text":"Path","start_char":24,"line":21},{"index_id":116,"token_group":81,"text":"get","start_char":29,"line":21},{"index_id":117,"token_group":82,"text":"Attribute","start_char":32,"line":21},{"index_id":118,"token_group":82,"text":"Path","start_char":41,"line":21},{"index_id":119,"token_group":82,"text":"Base","start_char":45,"line":21},{"index_id":120,"token_group":82,"text":"(","start_char":49,"line":21},{"index_id":121,"token_group":83,"text":")","start_char":50,"line":21},{"index_id":122,"token_group":84,"text":"{","start_char":8,"line":22},{"index_id":123,"token_group":85,"text":"return","start_char":12,"line":23},{"index_id":124,"token_group":86,"text":"attribute","start_char":19,"line":23},{"index_id":125,"token_group":87,"text":"Path","start_char":28,"line":23},{"index_id":126,"token_group":87,"text":";","start_char":32,"line":23},{"index_id":127,"token_group":88,"text":"}","start_char":8,"line":24},{"index_id":128,"token_group":89,"text":"@","start_char":8,"line":26},{"index_id":129,"token_group":90,"text":"override","start_char":9,"line":26},{"index_id":130,"token_group":91,"text":"Public","start_char":8,"line":27},{"index_id":131,"token_group":92,"text":"tooling","start_char":15,"line":27},{"index_id":132,"token_group":93,"text":"Hint","start_char":22,"line":27},{"index_id":133,"token_group":93,"text":"Context","start_char":26,"line":27},{"index_id":134,"token_group":93,"text":"get","start_char":34,"line":27},{"index_id":135,"token_group":94,"text":"Tooling","start_char":37,"line":27},{"index_id":136,"token_group":94,"text":"Hint","start_char":44,"line":27},{"index_id":137,"token_group":94,"text":"Context","start_char":48,"line":27},{"index_id":138,"token_group":94,"text":"Baseline","start_char":55,"line":27},{"index_id":139,"token_group":94,"text":"For","start_char":63,"line":27},{"index_id":140,"token_group":94,"text":"Embeddable","start_char":66,"line":27},{"index_id":141,"token_group":94,"text":"(","start_char":76,"line":27},{"index_id":142,"token_group":95,"text":")","start_char":77,"line":27},{"index_id":143,"token_group":96,"text":"{","start_char":8,"line":28},{"index_id":144,"token_group":97,"text":"return","start_char":12,"line":29},{"index_id":145,"token_group":98,"text":"callback","start_char":19,"line":29},{"index_id":146,"token_group":99,"text":".","start_char":27,"line":29},{"index_id":147,"token_group":100,"text":"get","start_char":28,"line":29},{"index_id":148,"token_group":101,"text":"Attribute","start_char":31,"line":29},{"index_id":149,"token_group":101,"text":"Source","start_char":40,"line":29},{"index_id":150,"token_group":101,"text":"Container","start_char":46,"line":29},{"index_id":151,"token_group":101,"text":"(","start_char":55,"line":29},{"index_id":152,"token_group":102,"text":")","start_char":56,"line":29},{"index_id":153,"token_group":103,"text":".","start_char":57,"line":29},{"index_id":154,"token_group":104,"text":"get","start_char":58,"line":29},{"index_id":155,"token_group":105,"text":"Tooling","start_char":61,"line":29},{"index_id":156,"token_group":105,"text":"Hint","start_char":68,"line":29},{"index_id":157,"token_group":105,"text":"Context","start_char":72,"line":29},{"index_id":158,"token_group":105,"text":"(","start_char":79,"line":29},{"index_id":159,"token_group":106,"text":")","start_char":80,"line":29},{"index_id":160,"token_group":107,"text":";","start_char":81,"line":29},{"index_id":161,"token_group":108,"text":"}","start_char":8,"line":30},{"index_id":162,"token_group":109,"text":"}","start_char":4,"line":31},{"index_id":163,"token_group":110,"text":",","start_char":5,"line":31},{"index_id":164,"token_group":111,"text":"properties","start_char":4,"line":32},{"index_id":165,"token_group":112,"text":"Group","start_char":14,"line":32},{"index_id":166,"token_group":112,"text":"Jaxb","start_char":19,"line":32},{"index_id":167,"token_group":112,"text":"Mapping","start_char":23,"line":32},{"index_id":168,"token_group":112,"text":".","start_char":30,"line":32},{"index_id":169,"token_group":113,"text":"get","start_char":31,"line":32},{"index_id":170,"token_group":114,"text":"Attributes","start_char":34,"line":32},{"index_id":171,"token_group":114,"text":"(","start_char":44,"line":32},{"index_id":172,"token_group":115,"text":")","start_char":45,"line":32},{"index_id":173,"token_group":116,"text":",","start_char":46,"line":32},{"index_id":174,"token_group":117,"text":"logical","start_char":4,"line":33},{"index_id":175,"token_group":118,"text":"Table","start_char":11,"line":33},{"index_id":176,"token_group":118,"text":"Name","start_char":16,"line":33},{"index_id":177,"token_group":118,"text":",","start_char":20,"line":33},{"index_id":178,"token_group":119,"text":"natural","start_char":4,"line":34},{"index_id":179,"token_group":120,"text":"Id","start_char":11,"line":34},{"index_id":180,"token_group":120,"text":"Mutability","start_char":13,"line":34},{"index_id":181,"token_group":120,"text":",","start_char":23,"line":34},{"index_id":182,"token_group":121,"text":"properties","start_char":4,"line":35},{"index_id":183,"token_group":122,"text":"Group","start_char":14,"line":35},{"index_id":184,"token_group":122,"text":"Jaxb","start_char":19,"line":35},{"index_id":185,"token_group":122,"text":"Mapping","start_char":23,"line":35},{"index_id":186,"token_group":122,"text":")","start_char":4,"line":36},{"index_id":187,"token_group":123,"text":";","start_char":5,"line":36},{"index_id":188,"token_group":124,"text":"final","start_char":4,"line":39},{"index_id":189,"token_group":125,"text":"embeddable","start_char":10,"line":39},{"index_id":190,"token_group":126,"text":"Mapping","start_char":20,"line":39},{"index_id":191,"token_group":126,"text":"embeddable","start_char":28,"line":39},{"index_id":192,"token_group":127,"text":"Mapping","start_char":38,"line":39},{"index_id":193,"token_group":127,"text":"=","start_char":46,"line":39},{"index_id":194,"token_group":128,"text":"new","start_char":48,"line":39},{"index_id":195,"token_group":129,"text":"embeddable","start_char":52,"line":39},{"index_id":196,"token_group":130,"text":"Mapping","start_char":62,"line":39},{"index_id":197,"token_group":130,"text":"(","start_char":69,"line":39},{"index_id":198,"token_group":131,"text":")","start_char":70,"line":39},{"index_id":199,"token_group":132,"text":"{","start_char":4,"line":40},{"index_id":200,"token_group":133,"text":"@","start_char":8,"line":41},{"index_id":201,"token_group":134,"text":"override","start_char":9,"line":41},{"index_id":202,"token_group":135,"text":"Public","start_char":8,"line":42},{"index_id":203,"token_group":136,"text":"string","start_char":15,"line":42},{"index_id":204,"token_group":137,"text":"get","start_char":22,"line":42},{"index_id":205,"token_group":138,"text":"Clazz","start_char":25,"line":42},{"index_id":206,"token_group":138,"text":"(","start_char":30,"line":42},{"index_id":207,"token_group":139,"text":")","start_char":31,"line":42},{"index_id":208,"token_group":140,"text":"{","start_char":8,"line":43},{"index_id":209,"token_group":141,"text":"return","start_char":12,"line":44},{"index_id":210,"token_group":142,"text":"null","start_char":19,"line":44},{"index_id":211,"token_group":143,"text":";","start_char":23,"line":44},{"index_id":212,"token_group":144,"text":"}","start_char":8,"line":45},{"index_id":213,"token_group":145,"text":"@","start_char":8,"line":47},{"index_id":214,"token_group":146,"text":"override","start_char":9,"line":47},{"index_id":215,"token_group":147,"text":"Public","start_char":8,"line":48},{"index_id":216,"token_group":148,"text":"list","start_char":15,"line":48},{"index_id":217,"token_group":149,"text":"<","start_char":19,"line":48},{"index_id":218,"token_group":150,"text":"jaxb","start_char":20,"line":48},{"index_id":219,"token_group":151,"text":"Hbm","start_char":24,"line":48},{"index_id":220,"token_group":151,"text":"Tuplizer","start_char":27,"line":48},{"index_id":221,"token_group":151,"text":"Type","start_char":35,"line":48},{"index_id":222,"token_group":151,"text":">","start_char":39,"line":48},{"index_id":223,"token_group":152,"text":"get","start_char":41,"line":48},{"index_id":224,"token_group":153,"text":"Tuplizer","start_char":44,"line":48},{"index_id":225,"token_group":153,"text":"(","start_char":52,"line":48},{"index_id":226,"token_group":154,"text":")","start_char":53,"line":48},{"index_id":227,"token_group":155,"text":"{","start_char":8,"line":49},{"index_id":228,"token_group":156,"text":"return","start_char":12,"line":50},{"index_id":229,"token_group":157,"text":"collections","start_char":19,"line":50},{"index_id":230,"token_group":158,"text":".","start_char":30,"line":50},{"index_id":231,"token_group":159,"text":"empty","start_char":31,"line":50},{"index_id":232,"token_group":160,"text":"List","start_char":36,"line":50},{"index_id":233,"token_group":160,"text":"(","start_char":40,"line":50},{"index_id":234,"token_group":161,"text":")","start_char":41,"line":50},{"index_id":235,"token_group":162,"text":";","start_char":42,"line":50},{"index_id":236,"token_group":163,"text":"}","start_char":8,"line":51},{"index_id":237,"token_group":164,"text":"@","start_char":8,"line":53},{"index_id":238,"token_group":165,"text":"override","start_char":9,"line":53},{"index_id":239,"token_group":166,"text":"Public","start_char":8,"line":54},{"index_id":240,"token_group":167,"text":"string","start_char":15,"line":54},{"index_id":241,"token_group":168,"text":"get","start_char":22,"line":54},{"index_id":242,"token_group":169,"text":"Parent","start_char":25,"line":54},{"index_id":243,"token_group":169,"text":"(","start_char":31,"line":54},{"index_id":244,"token_group":170,"text":")","start_char":32,"line":54},{"index_id":245,"token_group":171,"text":"{","start_char":8,"line":55},{"index_id":246,"token_group":172,"text":"return","start_char":12,"line":56},{"index_id":247,"token_group":173,"text":"null","start_char":19,"line":56},{"index_id":248,"token_group":174,"text":";","start_char":23,"line":56},{"index_id":249,"token_group":175,"text":"}","start_char":8,"line":57},{"index_id":250,"token_group":176,"text":"}","start_char":4,"line":58},{"index_id":251,"token_group":177,"text":";","start_char":5,"line":58},{"index_id":252,"token_group":178,"text":"final","start_char":4,"line":60},{"index_id":253,"token_group":179,"text":"embedded","start_char":10,"line":60},{"index_id":254,"token_group":180,"text":"Attribute","start_char":18,"line":60},{"index_id":255,"token_group":180,"text":"Mapping","start_char":27,"line":60},{"index_id":256,"token_group":180,"text":"attribute","start_char":35,"line":60},{"index_id":257,"token_group":181,"text":"Mapping","start_char":44,"line":60},{"index_id":258,"token_group":181,"text":"=","start_char":52,"line":60},{"index_id":259,"token_group":182,"text":"new","start_char":54,"line":60},{"index_id":260,"token_group":183,"text":"embedded","start_char":4,"line":61},{"index_id":261,"token_group":184,"text":"Attribute","start_char":12,"line":61},{"index_id":262,"token_group":184,"text":"Mapping","start_char":21,"line":61},{"index_id":263,"token_group":184,"text":"(","start_char":28,"line":61},{"index_id":264,"token_group":185,"text":")","start_char":29,"line":61},{"index_id":265,"token_group":186,"text":"{","start_char":4,"line":62},{"index_id":266,"token_group":187,"text":"@","start_char":8,"line":63},{"index_id":267,"token_group":188,"text":"override","start_char":9,"line":63},{"index_id":268,"token_group":189,"text":"Public","start_char":8,"line":64},{"index_id":269,"token_group":190,"text":"boolean","start_char":15,"line":64},{"index_id":270,"token_group":191,"text":"is","start_char":23,"line":64},{"index_id":271,"token_group":192,"text":"Unique","start_char":25,"line":64},{"index_id":272,"token_group":192,"text":"(","start_char":31,"line":64},{"index_id":273,"token_group":193,"text":")","start_char":32,"line":64},{"index_id":274,"token_group":194,"text":"{","start_char":8,"line":65},{"index_id":275,"token_group":195,"text":"return","start_char":12,"line":66},{"index_id":276,"token_group":196,"text":"properties","start_char":19,"line":66},{"index_id":277,"token_group":197,"text":"Group","start_char":29,"line":66},{"index_id":278,"token_group":197,"text":"Jaxb","start_char":34,"line":66},{"index_id":279,"token_group":197,"text":"Mapping","start_char":38,"line":66},{"index_id":280,"token_group":197,"text":".","start_char":45,"line":66},{"index_id":281,"token_group":198,"text":"is","start_char":46,"line":66},{"index_id":282,"token_group":199,"text":"Unique","start_char":48,"line":66},{"index_id":283,"token_group":199,"text":"(","start_char":54,"line":66},{"index_id":284,"token_group":200,"text":")","start_char":55,"line":66},{"index_id":285,"token_group":201,"text":";","start_char":56,"line":66},{"index_id":286,"token_group":202,"text":"}","start_char":8,"line":67},{"index_id":287,"token_group":203,"text":"@","start_char":8,"line":69},{"index_id":288,"token_group":204,"text":"override","start_char":9,"line":69},{"index_id":289,"token_group":205,"text":"Public","start_char":8,"line":70},{"index_id":290,"token_group":206,"text":"embeddable","start_char":15,"line":70},{"index_id":291,"token_group":207,"text":"Mapping","start_char":25,"line":70},{"index_id":292,"token_group":207,"text":"get","start_char":33,"line":70},{"index_id":293,"token_group":208,"text":"Embeddable","start_char":36,"line":70},{"index_id":294,"token_group":208,"text":"Mapping","start_char":46,"line":70},{"index_id":295,"token_group":208,"text":"(","start_char":53,"line":70},{"index_id":296,"token_group":209,"text":")","start_char":54,"line":70},{"index_id":297,"token_group":210,"text":"{","start_char":8,"line":71},{"index_id":298,"token_group":211,"text":"return","start_char":12,"line":72},{"index_id":299,"token_group":212,"text":"embeddable","start_char":19,"line":72},{"index_id":300,"token_group":213,"text":"Mapping","start_char":29,"line":72},{"index_id":301,"token_group":213,"text":";","start_char":36,"line":72},{"index_id":302,"token_group":214,"text":"}","start_char":8,"line":73},{"index_id":303,"token_group":215,"text":"@","start_char":8,"line":75},{"index_id":304,"token_group":216,"text":"override","start_char":9,"line":75},{"index_id":305,"token_group":217,"text":"Public","start_char":8,"line":76},{"index_id":306,"token_group":218,"text":"string","start_char":15,"line":76},{"index_id":307,"token_group":219,"text":"get","start_char":22,"line":76},{"index_id":308,"token_group":220,"text":"Name","start_char":25,"line":76},{"index_id":309,"token_group":220,"text":"(","start_char":29,"line":76},{"index_id":310,"token_group":221,"text":")","start_char":30,"line":76},{"index_id":311,"token_group":222,"text":"{","start_char":8,"line":77},{"index_id":312,"token_group":223,"text":"return","start_char":12,"line":78},{"index_id":313,"token_group":224,"text":"properties","start_char":19,"line":78},{"index_id":314,"token_group":225,"text":"Group","start_char":29,"line":78},{"index_id":315,"token_group":225,"text":"Jaxb","start_char":34,"line":78},{"index_id":316,"token_group":225,"text":"Mapping","start_char":38,"line":78},{"index_id":317,"token_group":225,"text":".","start_char":45,"line":78},{"index_id":318,"token_group":226,"text":"get","start_char":46,"line":78},{"index_id":319,"token_group":227,"text":"Name","start_char":49,"line":78},{"index_id":320,"token_group":227,"text":"(","start_char":53,"line":78},{"index_id":321,"token_group":228,"text":")","start_char":54,"line":78},{"index_id":322,"token_group":229,"text":";","start_char":55,"line":78},{"index_id":323,"token_group":230,"text":"}","start_char":8,"line":79},{"index_id":324,"token_group":231,"text":"@","start_char":8,"line":81},{"index_id":325,"token_group":232,"text":"override","start_char":9,"line":81},{"index_id":326,"token_group":233,"text":"Public","start_char":8,"line":82},{"index_id":327,"token_group":234,"text":"string","start_char":15,"line":82},{"index_id":328,"token_group":235,"text":"get","start_char":22,"line":82},{"index_id":329,"token_group":236,"text":"Access","start_char":25,"line":82},{"index_id":330,"token_group":236,"text":"(","start_char":31,"line":82},{"index_id":331,"token_group":237,"text":")","start_char":32,"line":82},{"index_id":332,"token_group":238,"text":"{","start_char":8,"line":83},{"index_id":333,"token_group":239,"text":"return","start_char":12,"line":84},{"index_id":334,"token_group":240,"text":"null","start_char":19,"line":84},{"index_id":335,"token_group":241,"text":";","start_char":23,"line":84},{"index_id":336,"token_group":242,"text":"}","start_char":8,"line":85},{"index_id":337,"token_group":243,"text":"@","start_char":8,"line":87},{"index_id":338,"token_group":244,"text":"override","start_char":9,"line":87},{"index_id":339,"token_group":245,"text":"Public","start_char":8,"line":88},{"index_id":340,"token_group":246,"text":"list","start_char":15,"line":88},{"index_id":341,"token_group":247,"text":"<","start_char":19,"line":88},{"index_id":342,"token_group":248,"text":"jaxb","start_char":20,"line":88},{"index_id":343,"token_group":249,"text":"Hbm","start_char":24,"line":88},{"index_id":344,"token_group":249,"text":"Tooling","start_char":27,"line":88},{"index_id":345,"token_group":249,"text":"Hint","start_char":34,"line":88},{"index_id":346,"token_group":249,"text":"Type","start_char":38,"line":88},{"index_id":347,"token_group":249,"text":">","start_char":42,"line":88},{"index_id":348,"token_group":250,"text":"get","start_char":44,"line":88},{"index_id":349,"token_group":251,"text":"Tooling","start_char":47,"line":88},{"index_id":350,"token_group":251,"text":"Hints","start_char":54,"line":88},{"index_id":351,"token_group":251,"text":"(","start_char":59,"line":88},{"index_id":352,"token_group":252,"text":")","start_char":60,"line":88},{"index_id":353,"token_group":253,"text":"{","start_char":8,"line":89},{"index_id":354,"token_group":254,"text":"return","start_char":12,"line":90},{"index_id":355,"token_group":255,"text":"collections","start_char":19,"line":90},{"index_id":356,"token_group":256,"text":".","start_char":30,"line":90},{"index_id":357,"token_group":257,"text":"empty","start_char":31,"line":90},{"index_id":358,"token_group":258,"text":"List","start_char":36,"line":90},{"index_id":359,"token_group":258,"text":"(","start_char":40,"line":90},{"index_id":360,"token_group":259,"text":")","start_char":41,"line":90},{"index_id":361,"token_group":260,"text":";","start_char":42,"line":90},{"index_id":362,"token_group":261,"text":"}","start_char":8,"line":91},{"index_id":363,"token_group":262,"text":"}","start_char":4,"line":92},{"index_id":364,"token_group":263,"text":";","start_char":5,"line":92},{"index_id":365,"token_group":264,"text":"final","start_char":4,"line":95},{"index_id":366,"token_group":265,"text":"singular","start_char":10,"line":95},{"index_id":367,"token_group":266,"text":"Attribute","start_char":18,"line":95},{"index_id":368,"token_group":266,"text":"Source","start_char":27,"line":95},{"index_id":369,"token_group":266,"text":"Embedded","start_char":33,"line":95},{"index_id":370,"token_group":266,"text":"virtual","start_char":42,"line":95},{"index_id":371,"token_group":267,"text":"Attribute","start_char":49,"line":95},{"index_id":372,"token_group":267,"text":"=","start_char":59,"line":95},{"index_id":373,"token_group":268,"text":"new","start_char":61,"line":95},{"index_id":374,"token_group":269,"text":"abstract","start_char":4,"line":96},{"index_id":375,"token_group":270,"text":"Singular","start_char":12,"line":96},{"index_id":376,"token_group":270,"text":"Attribute","start_char":20,"line":96},{"index_id":377,"token_group":270,"text":"Source","start_char":29,"line":96},{"index_id":378,"token_group":270,"text":"Embedded","start_char":35,"line":96},{"index_id":379,"token_group":270,"text":"Impl","start_char":43,"line":96},{"index_id":380,"token_group":270,"text":"(","start_char":47,"line":96},{"index_id":381,"token_group":271,"text":"mapping","start_char":8,"line":97},{"index_id":382,"token_group":272,"text":"Document","start_char":15,"line":97},{"index_id":383,"token_group":272,"text":",","start_char":23,"line":97},{"index_id":384,"token_group":273,"text":"attribute","start_char":8,"line":98},{"index_id":385,"token_group":274,"text":"Mapping","start_char":17,"line":98},{"index_id":386,"token_group":274,"text":",","start_char":24,"line":98},{"index_id":387,"token_group":275,"text":"embeddable","start_char":8,"line":99},{"index_id":388,"token_group":276,"text":",","start_char":18,"line":99},{"index_id":389,"token_group":277,"text":"natural","start_char":8,"line":100},{"index_id":390,"token_group":278,"text":"Id","start_char":15,"line":100},{"index_id":391,"token_group":278,"text":"Mutability","start_char":17,"line":100},{"index_id":392,"token_group":278,"text":")","start_char":4,"line":101},{"index_id":393,"token_group":279,"text":"{","start_char":4,"line":102},{"index_id":394,"token_group":280,"text":"@","start_char":8,"line":103},{"index_id":395,"token_group":281,"text":"override","start_char":9,"line":103},{"index_id":396,"token_group":282,"text":"Public","start_char":8,"line":104},{"index_id":397,"token_group":283,"text":"boolean","start_char":15,"line":104},{"index_id":398,"token_group":284,"text":"is","start_char":23,"line":104},{"index_id":399,"token_group":285,"text":"Virtual","start_char":25,"line":104},{"index_id":400,"token_group":285,"text":"Attribute","start_char":32,"line":104},{"index_id":401,"token_group":285,"text":"(","start_char":41,"line":104},{"index_id":402,"token_group":286,"text":")","start_char":42,"line":104},{"index_id":403,"token_group":287,"text":"{","start_char":8,"line":105},{"index_id":404,"token_group":288,"text":"return","start_char":12,"line":106},{"index_id":405,"token_group":289,"text":"true","start_char":19,"line":106},{"index_id":406,"token_group":290,"text":";","start_char":23,"line":106},{"index_id":407,"token_group":291,"text":"}","start_char":8,"line":107},{"index_id":408,"token_group":292,"text":"@","start_char":8,"line":109},{"index_id":409,"token_group":293,"text":"override","start_char":9,"line":109},{"index_id":410,"token_group":294,"text":"Public","start_char":8,"line":110},{"index_id":411,"token_group":295,"text":"boolean","start_char":15,"line":110},{"index_id":412,"token_group":296,"text":"is","start_char":23,"line":110},{"index_id":413,"token_group":297,"text":"Insertable","start_char":25,"line":110},{"index_id":414,"token_group":297,"text":"(","start_char":35,"line":110},{"index_id":415,"token_group":298,"text":")","start_char":36,"line":110},{"index_id":416,"token_group":299,"text":"{","start_char":8,"line":111},{"index_id":417,"token_group":300,"text":"return","start_char":12,"line":112},{"index_id":418,"token_group":301,"text":"properties","start_char":19,"line":112},{"index_id":419,"token_group":302,"text":"Group","start_char":29,"line":112},{"index_id":420,"token_group":302,"text":"Jaxb","start_char":34,"line":112},{"index_id":421,"token_group":302,"text":"Mapping","start_char":38,"line":112},{"index_id":422,"token_group":302,"text":".","start_char":45,"line":112},{"index_id":423,"token_group":303,"text":"is","start_char":46,"line":112},{"index_id":424,"token_group":304,"text":"Insert","start_char":48,"line":112},{"index_id":425,"token_group":304,"text":"(","start_char":54,"line":112},{"index_id":426,"token_group":305,"text":")","start_char":55,"line":112},{"index_id":427,"token_group":306,"text":";","start_char":56,"line":112},{"index_id":428,"token_group":307,"text":"}","start_char":8,"line":113},{"index_id":429,"token_group":308,"text":"@","start_char":8,"line":115},{"index_id":430,"token_group":309,"text":"override","start_char":9,"line":115},{"index_id":431,"token_group":310,"text":"Public","start_char":8,"line":116},{"index_id":432,"token_group":311,"text":"boolean","start_char":15,"line":116},{"index_id":433,"token_group":312,"text":"is","start_char":23,"line":116},{"index_id":434,"token_group":313,"text":"Updatable","start_char":25,"line":116},{"index_id":435,"token_group":313,"text":"(","start_char":34,"line":116},{"index_id":436,"token_group":314,"text":")","start_char":35,"line":116},{"index_id":437,"token_group":315,"text":"{","start_char":8,"line":117},{"index_id":438,"token_group":316,"text":"return","start_char":12,"line":118},{"index_id":439,"token_group":317,"text":"properties","start_char":19,"line":118},{"index_id":440,"token_group":318,"text":"Group","start_char":29,"line":118},{"index_id":441,"token_group":318,"text":"Jaxb","start_char":34,"line":118},{"index_id":442,"token_group":318,"text":"Mapping","start_char":38,"line":118},{"index_id":443,"token_group":318,"text":".","start_char":45,"line":118},{"index_id":444,"token_group":319,"text":"is","start_char":46,"line":118},{"index_id":445,"token_group":320,"text":"Update","start_char":48,"line":118},{"index_id":446,"token_group":320,"text":"(","start_char":54,"line":118},{"index_id":447,"token_group":321,"text":")","start_char":55,"line":118},{"index_id":448,"token_group":322,"text":";","start_char":56,"line":118},{"index_id":449,"token_group":323,"text":"}","start_char":8,"line":119},{"index_id":450,"token_group":324,"text":"@","start_char":8,"line":121},{"index_id":451,"token_group":325,"text":"override","start_char":9,"line":121},{"index_id":452,"token_group":326,"text":"Public","start_char":8,"line":122},{"index_id":453,"token_group":327,"text":"boolean","start_char":15,"line":122},{"index_id":454,"token_group":328,"text":"is","start_char":23,"line":122},{"index_id":455,"token_group":329,"text":"Bytecode","start_char":25,"line":122},{"index_id":456,"token_group":329,"text":"Lazy","start_char":33,"line":122},{"index_id":457,"token_group":329,"text":"(","start_char":37,"line":122},{"index_id":458,"token_group":330,"text":")","start_char":38,"line":122},{"index_id":459,"token_group":331,"text":"{","start_char":8,"line":123},{"index_id":460,"token_group":332,"text":"return","start_char":12,"line":124},{"index_id":461,"token_group":333,"text":"false","start_char":19,"line":124},{"index_id":462,"token_group":334,"text":";","start_char":24,"line":124},{"index_id":463,"token_group":335,"text":"}","start_char":8,"line":125},{"index_id":464,"token_group":336,"text":"@","start_char":8,"line":127},{"index_id":465,"token_group":337,"text":"override","start_char":9,"line":127},{"index_id":466,"token_group":338,"text":"Public","start_char":8,"line":128},{"index_id":467,"token_group":339,"text":"xml","start_char":15,"line":128},{"index_id":468,"token_group":340,"text":"Element","start_char":18,"line":128},{"index_id":469,"token_group":340,"text":"Metadata","start_char":25,"line":128},{"index_id":470,"token_group":340,"text":"get","start_char":34,"line":128},{"index_id":471,"token_group":341,"text":"Source","start_char":37,"line":128},{"index_id":472,"token_group":341,"text":"Type","start_char":43,"line":128},{"index_id":473,"token_group":341,"text":"(","start_char":47,"line":128},{"index_id":474,"token_group":342,"text":")","start_char":48,"line":128},{"index_id":475,"token_group":343,"text":"{","start_char":8,"line":129},{"index_id":476,"token_group":344,"text":"return","start_char":12,"line":130},{"index_id":477,"token_group":345,"text":"xml","start_char":19,"line":130},{"index_id":478,"token_group":346,"text":"Element","start_char":22,"line":130},{"index_id":479,"token_group":346,"text":"Metadata","start_char":29,"line":130},{"index_id":480,"token_group":346,"text":".","start_char":37,"line":130},{"index_id":481,"token_group":347,"text":"properties","start_char":38,"line":130},{"index_id":482,"token_group":348,"text":";","start_char":48,"line":130},{"index_id":483,"token_group":349,"text":"}","start_char":8,"line":131},{"index_id":484,"token_group":350,"text":"@","start_char":8,"line":133},{"index_id":485,"token_group":351,"text":"override","start_char":9,"line":133},{"index_id":486,"token_group":352,"text":"Public","start_char":8,"line":134},{"index_id":487,"token_group":353,"text":"string","start_char":15,"line":134},{"index_id":488,"token_group":354,"text":"get","start_char":22,"line":134},{"index_id":489,"token_group":355,"text":"Xml","start_char":25,"line":134},{"index_id":490,"token_group":355,"text":"Node","start_char":28,"line":134},{"index_id":491,"token_group":355,"text":"Name","start_char":32,"line":134},{"index_id":492,"token_group":355,"text":"(","start_char":36,"line":134},{"index_id":493,"token_group":356,"text":")","start_char":37,"line":134},{"index_id":494,"token_group":357,"text":"{","start_char":8,"line":135},{"index_id":495,"token_group":358,"text":"return","start_char":12,"line":136},{"index_id":496,"token_group":359,"text":"null","start_char":19,"line":136},{"index_id":497,"token_group":360,"text":";","start_char":23,"line":136},{"index_id":498,"token_group":361,"text":"}","start_char":8,"line":137},{"index_id":499,"token_group":362,"text":"@","start_char":8,"line":139},{"index_id":500,"token_group":363,"text":"override","start_char":9,"line":139},{"index_id":501,"token_group":364,"text":"Public","start_char":8,"line":140},{"index_id":502,"token_group":365,"text":"attribute","start_char":15,"line":140},{"index_id":503,"token_group":366,"text":"Path","start_char":24,"line":140},{"index_id":504,"token_group":366,"text":"get","start_char":29,"line":140},{"index_id":505,"token_group":367,"text":"Attribute","start_char":32,"line":140},{"index_id":506,"token_group":367,"text":"Path","start_char":41,"line":140},{"index_id":507,"token_group":367,"text":"(","start_char":45,"line":140},{"index_id":508,"token_group":368,"text":")","start_char":46,"line":140},{"index_id":509,"token_group":369,"text":"{","start_char":8,"line":141},{"index_id":510,"token_group":370,"text":"return","start_char":12,"line":142},{"index_id":511,"token_group":371,"text":"attribute","start_char":19,"line":142},{"index_id":512,"token_group":372,"text":"Path","start_char":28,"line":142},{"index_id":513,"token_group":372,"text":";","start_char":32,"line":142},{"index_id":514,"token_group":373,"text":"}","start_char":8,"line":143},{"index_id":515,"token_group":374,"text":"@","start_char":8,"line":145},{"index_id":516,"token_group":375,"text":"override","start_char":9,"line":145},{"index_id":517,"token_group":376,"text":"Public","start_char":8,"line":146},{"index_id":518,"token_group":377,"text":"attribute","start_char":15,"line":146},{"index_id":519,"token_group":378,"text":"Role","start_char":24,"line":146},{"index_id":520,"token_group":378,"text":"get","start_char":29,"line":146},{"index_id":521,"token_group":379,"text":"Attribute","start_char":32,"line":146},{"index_id":522,"token_group":379,"text":"Role","start_char":41,"line":146},{"index_id":523,"token_group":379,"text":"(","start_char":45,"line":146},{"index_id":524,"token_group":380,"text":")","start_char":46,"line":146},{"index_id":525,"token_group":381,"text":"{","start_char":8,"line":147},{"index_id":526,"token_group":382,"text":"return","start_char":12,"line":148},{"index_id":527,"token_group":383,"text":"attribute","start_char":19,"line":148},{"index_id":528,"token_group":384,"text":"Role","start_char":28,"line":148},{"index_id":529,"token_group":384,"text":";","start_char":32,"line":148},{"index_id":530,"token_group":385,"text":"}","start_char":8,"line":149},{"index_id":531,"token_group":386,"text":"@","start_char":8,"line":151},{"index_id":532,"token_group":387,"text":"override","start_char":9,"line":151},{"index_id":533,"token_group":388,"text":"Public","start_char":8,"line":152},{"index_id":534,"token_group":389,"text":"boolean","start_char":15,"line":152},{"index_id":535,"token_group":390,"text":"is","start_char":23,"line":152},{"index_id":536,"token_group":391,"text":"Included","start_char":25,"line":152},{"index_id":537,"token_group":391,"text":"In","start_char":33,"line":152},{"index_id":538,"token_group":391,"text":"Optimistic","start_char":35,"line":152},{"index_id":539,"token_group":391,"text":"Locking","start_char":45,"line":152},{"index_id":540,"token_group":391,"text":"(","start_char":52,"line":152},{"index_id":541,"token_group":392,"text":")","start_char":53,"line":152},{"index_id":542,"token_group":393,"text":"{","start_char":8,"line":153},{"index_id":543,"token_group":394,"text":"return","start_char":12,"line":154},{"index_id":544,"token_group":395,"text":"false","start_char":19,"line":154},{"index_id":545,"token_group":396,"text":";","start_char":24,"line":154},{"index_id":546,"token_group":397,"text":"}","start_char":8,"line":155},{"index_id":547,"token_group":398,"text":"@","start_char":8,"line":157},{"index_id":548,"token_group":399,"text":"override","start_char":9,"line":157},{"index_id":549,"token_group":400,"text":"Public","start_char":8,"line":158},{"index_id":550,"token_group":401,"text":"tooling","start_char":15,"line":158},{"index_id":551,"token_group":402,"text":"Hint","start_char":22,"line":158},{"index_id":552,"token_group":402,"text":"Context","start_char":26,"line":158},{"index_id":553,"token_group":402,"text":"get","start_char":34,"line":158},{"index_id":554,"token_group":403,"text":"Tooling","start_char":37,"line":158},{"index_id":555,"token_group":403,"text":"Hint","start_char":44,"line":158},{"index_id":556,"token_group":403,"text":"Context","start_char":48,"line":158},{"index_id":557,"token_group":403,"text":"(","start_char":55,"line":158},{"index_id":558,"token_group":404,"text":")","start_char":56,"line":158},{"index_id":559,"token_group":405,"text":"{","start_char":8,"line":159},{"index_id":560,"token_group":406,"text":"return","start_char":12,"line":160},{"index_id":561,"token_group":407,"text":"mapping","start_char":19,"line":160},{"index_id":562,"token_group":408,"text":"Document","start_char":26,"line":160},{"index_id":563,"token_group":408,"text":".","start_char":34,"line":160},{"index_id":564,"token_group":409,"text":"get","start_char":35,"line":160},{"index_id":565,"token_group":410,"text":"Tooling","start_char":38,"line":160},{"index_id":566,"token_group":410,"text":"Hint","start_char":45,"line":160},{"index_id":567,"token_group":410,"text":"Context","start_char":49,"line":160},{"index_id":568,"token_group":410,"text":"(","start_char":56,"line":160},{"index_id":569,"token_group":411,"text":")","start_char":57,"line":160},{"index_id":570,"token_group":412,"text":";","start_char":58,"line":160},{"index_id":571,"token_group":413,"text":"}","start_char":8,"line":161},{"index_id":572,"token_group":414,"text":"}","start_char":4,"line":162},{"index_id":573,"token_group":415,"text":";","start_char":5,"line":162},{"index_id":574,"token_group":416,"text":"callback","start_char":4,"line":164},{"index_id":575,"token_group":417,"text":".","start_char":12,"line":164},{"index_id":576,"token_group":418,"text":"add","start_char":13,"line":164},{"index_id":577,"token_group":419,"text":"Attribute","start_char":16,"line":164},{"index_id":578,"token_group":419,"text":"Source","start_char":25,"line":164},{"index_id":579,"token_group":419,"text":"(","start_char":31,"line":164},{"index_id":580,"token_group":420,"text":"virtual","start_char":33,"line":164},{"index_id":581,"token_group":421,"text":"Attribute","start_char":40,"line":164},{"index_id":582,"token_group":421,"text":")","start_char":50,"line":164},{"index_id":583,"token_group":422,"text":";","start_char":51,"line":164},{"index_id":584,"token_group":423,"text":"}","start_char":0,"line":165}],"tokens_list":["{","final","string","name","=","properties","Group","Jaxb","Mapping",".","get","Name","(",")",";","final","attribute","Role","attribute","Role","=","callback",".","get","Attribute","Source","Container","(",")",".","get","Attribute","Role","Base","(",")",".","append","(","name",")",";","final","attribute","Path","attribute","Path","=","callback",".","get","Attribute","Source","Container","(",")",".","get","Attribute","Path","Base","(",")",".","append","(","name",")",";","final","embeddable","Source","Virtual","Impl","embeddable","=","new","embeddable","Source","Virtual","Impl","(","mapping","Document",",","callback",",","new","embeddable","Source","Container","(",")","{","@","override","Public","attribute","Role","get","Attribute","Role","Base","(",")","{","return","attribute","Role",";","}","@","override","Public","attribute","Path","get","Attribute","Path","Base","(",")","{","return","attribute","Path",";","}","@","override","Public","tooling","Hint","Context","get","Tooling","Hint","Context","Baseline","For","Embeddable","(",")","{","return","callback",".","get","Attribute","Source","Container","(",")",".","get","Tooling","Hint","Context","(",")",";","}","}",",","properties","Group","Jaxb","Mapping",".","get","Attributes","(",")",",","logical","Table","Name",",","natural","Id","Mutability",",","properties","Group","Jaxb","Mapping",")",";","final","embeddable","Mapping","embeddable","Mapping","=","new","embeddable","Mapping","(",")","{","@","override","Public","string","get","Clazz","(",")","{","return","null",";","}","@","override","Public","list","<","jaxb","Hbm","Tuplizer","Type",">","get","Tuplizer","(",")","{","return","collections",".","empty","List","(",")",";","}","@","override","Public","string","get","Parent","(",")","{","return","null",";","}","}",";","final","embedded","Attribute","Mapping","attribute","Mapping","=","new","embedded","Attribute","Mapping","(",")","{","@","override","Public","boolean","is","Unique","(",")","{","return","properties","Group","Jaxb","Mapping",".","is","Unique","(",")",";","}","@","override","Public","embeddable","Mapping","get","Embeddable","Mapping","(",")","{","return","embeddable","Mapping",";","}","@","override","Public","string","get","Name","(",")","{","return","properties","Group","Jaxb","Mapping",".","get","Name","(",")",";","}","@","override","Public","string","get","Access","(",")","{","return","null",";","}","@","override","Public","list","<","jaxb","Hbm","Tooling","Hint","Type",">","get","Tooling","Hints","(",")","{","return","collections",".","empty","List","(",")",";","}","}",";","final","singular","Attribute","Source","Embedded","virtual","Attribute","=","new","abstract","Singular","Attribute","Source","Embedded","Impl","(","mapping","Document",",","attribute","Mapping",",","embeddable",",","natural","Id","Mutability",")","{","@","override","Public","boolean","is","Virtual","Attribute","(",")","{","return","true",";","}","@","override","Public","boolean","is","Insertable","(",")","{","return","properties","Group","Jaxb","Mapping",".","is","Insert","(",")",";","}","@","override","Public","boolean","is","Updatable","(",")","{","return","properties","Group","Jaxb","Mapping",".","is","Update","(",")",";","}","@","override","Public","boolean","is","Bytecode","Lazy","(",")","{","return","false",";","}","@","override","Public","xml","Element","Metadata","get","Source","Type","(",")","{","return","xml","Element","Metadata",".","properties",";","}","@","override","Public","string","get","Xml","Node","Name","(",")","{","return","null",";","}","@","override","Public","attribute","Path","get","Attribute","Path","(",")","{","return","attribute","Path",";","}","@","override","Public","attribute","Role","get","Attribute","Role","(",")","{","return","attribute","Role",";","}","@","override","Public","boolean","is","Included","In","Optimistic","Locking","(",")","{","return","false",";","}","@","override","Public","tooling","Hint","Context","get","Tooling","Hint","Context","(",")","{","return","mapping","Document",".","get","Tooling","Hint","Context","(",")",";","}","}",";","callback",".","add","Attribute","Source","(","virtual","Attribute",")",";","}"],"uuid":"517026e3abcd1e3368b13744f7a3d3cb"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","","Original","Small","Image","Id","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"JournalArticleModelImpl.java","formatted_lines":["{"," return _originalSmallImageId;","}"],"function_name":"getOriginalSmallImageId","function_name_tokens":["get","original","small","image","id"],"id_body_hash":"a3ffb3ab57d8195e60d2cf8fb9b817fc","id_same_identifier_list":[0,1,2,3,3,3,3,3,4,5,6],"option_correct":"getOriginalSmallImageId","options":["invokeBridge","getRecurrence","setWrappedKaleoInstanceTokenLocalService","getSmallImageId","getOriginalIconImageId","getImageId","getOriginalSmallImageId"],"options_nlp":["invoke bridge","get recurrence","set wrapped kaleo instance token local service","get small image id","get original icon image id","get image id","get original small image id"],"options_random":["invokeBridge","getRecurrence","setWrappedKaleoInstanceTokenLocalService"],"options_tfidf":["getOriginalIconImageId","getSmallImageId","getImageId"],"project_name":"liferay-portal","source_code_string":"public long getOriginalSmallImageId() {\n\t\treturn _originalSmallImageId;\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":10,"line":1},{"index_id":3,"token_group":3,"text":"Original","start_char":12,"line":1},{"index_id":4,"token_group":3,"text":"Small","start_char":20,"line":1},{"index_id":5,"token_group":3,"text":"Image","start_char":25,"line":1},{"index_id":6,"token_group":3,"text":"Id","start_char":30,"line":1},{"index_id":7,"token_group":3,"text":";","start_char":32,"line":1},{"index_id":8,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","","Original","Small","Image","Id",";","}"],"uuid":"d106e609e55b888354edfb8326e93d8a"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","d","<\/id>","<id>","diff","<\/id>","=","<id>","get","Diff","By","Id","<\/id>","(","<id>","snapshot","Id","<\/id>",")",";","return","<id>","diff","<\/id>","==","null","?","<id>","snapshot","<\/id>",".","<id>","current","State","Id","<\/id>",":","<id>","diff","<\/id>",".","<id>","get","Snapshot","Id","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"AbstractINodeDiffList.java","formatted_lines":["{"," D diff = getDiffById(snapshotId);"," return diff == null ? Snapshot.CURRENT_STATE_ID : diff.getSnapshotId();","}"],"function_name":"getSnapshotById","function_name_tokens":["get","snapshot","by","id"],"id_body_hash":"ca081da61de69527f4674e891d2d6aa6","id_same_identifier_list":[0,1,2,3,4,5,5,5,5,6,7,7,8,9,10,11,12,13,14,15,16,17,17,17,18,19,20,21,21,21,22,23,24,25,26],"option_correct":"getSnapshotById","options":["getPathSnapshotId","getDiffById","pipeline_Fi_40","getSnapshotById","getNextId","script_","getSnapshotId"],"options_nlp":["get path snapshot id","get diff by id","pipeline fi 40","get snapshot by id","get next id","script","get snapshot id"],"options_random":["getNextId","pipeline_Fi_40","script_"],"options_tfidf":["getPathSnapshotId","getSnapshotId","getDiffById"],"project_name":"hadoop-common","source_code_string":"public final int getSnapshotById(final int snapshotId) {\n D diff = getDiffById(snapshotId);\n return diff == null ? Snapshot.CURRENT_STATE_ID : diff.getSnapshotId();\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"d","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"diff","start_char":6,"line":1},{"index_id":3,"token_group":3,"text":"=","start_char":11,"line":1},{"index_id":4,"token_group":4,"text":"get","start_char":13,"line":1},{"index_id":5,"token_group":5,"text":"Diff","start_char":16,"line":1},{"index_id":6,"token_group":5,"text":"By","start_char":20,"line":1},{"index_id":7,"token_group":5,"text":"Id","start_char":22,"line":1},{"index_id":8,"token_group":5,"text":"(","start_char":24,"line":1},{"index_id":9,"token_group":6,"text":"snapshot","start_char":25,"line":1},{"index_id":10,"token_group":7,"text":"Id","start_char":33,"line":1},{"index_id":11,"token_group":7,"text":")","start_char":35,"line":1},{"index_id":12,"token_group":8,"text":";","start_char":36,"line":1},{"index_id":13,"token_group":9,"text":"return","start_char":4,"line":2},{"index_id":14,"token_group":10,"text":"diff","start_char":11,"line":2},{"index_id":15,"token_group":11,"text":"==","start_char":16,"line":2},{"index_id":16,"token_group":12,"text":"null","start_char":19,"line":2},{"index_id":17,"token_group":13,"text":"?","start_char":24,"line":2},{"index_id":18,"token_group":14,"text":"snapshot","start_char":26,"line":2},{"index_id":19,"token_group":15,"text":".","start_char":34,"line":2},{"index_id":20,"token_group":16,"text":"current","start_char":35,"line":2},{"index_id":21,"token_group":17,"text":"State","start_char":43,"line":2},{"index_id":22,"token_group":17,"text":"Id","start_char":49,"line":2},{"index_id":23,"token_group":17,"text":":","start_char":52,"line":2},{"index_id":24,"token_group":18,"text":"diff","start_char":54,"line":2},{"index_id":25,"token_group":19,"text":".","start_char":58,"line":2},{"index_id":26,"token_group":20,"text":"get","start_char":59,"line":2},{"index_id":27,"token_group":21,"text":"Snapshot","start_char":62,"line":2},{"index_id":28,"token_group":21,"text":"Id","start_char":70,"line":2},{"index_id":29,"token_group":21,"text":"(","start_char":72,"line":2},{"index_id":30,"token_group":22,"text":")","start_char":73,"line":2},{"index_id":31,"token_group":23,"text":";","start_char":74,"line":2},{"index_id":32,"token_group":24,"text":"}","start_char":0,"line":3}],"tokens_list":["{","d","diff","=","get","Diff","By","Id","(","snapshot","Id",")",";","return","diff","==","null","?","snapshot",".","current","State","Id",":","diff",".","get","Snapshot","Id","(",")",";","}"],"uuid":"72c4b2f52e083f3073cfd70843cc5f87"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","log","<\/id>",".","<id>","debug","<\/id>","(","\"Requesting new token\"",")",";","int","<id>","status","<\/id>","=","<id>","get","Http","Client","<\/id>","(",")",".","<id>","execute","Method","<\/id>","(","<id>","method","<\/id>",")",";","if","(","<id>","status","<\/id>","!=","200",")","{","throw","new","<id>","exception","<\/id>","(","\"Error logging in: \"","+","<id>","method","<\/id>",".","<id>","get","Status","Line","<\/id>","(",")",")",";","}","<id>","document","<\/id>","<id>","document","<\/id>","=","new","<id>","sax","Builder","<\/id>","(","false",")",".","<id>","build","<\/id>","(","<id>","method","<\/id>",".","<id>","get","Response","Body","As","Stream","<\/id>","(",")",")",".","<id>","get","Document","<\/id>","(",")",";","<id>","x","Path","<\/id>","<id>","path","<\/id>","=","<id>","x","Path","<\/id>",".","<id>","new","Instance","<\/id>","(","\"\/response\/token\"",")",";","<id>","element","<\/id>","<id>","result","<\/id>","=","(","<id>","element","<\/id>",")","<id>","path","<\/id>",".","<id>","select","Single","Node","<\/id>","(","<id>","document","<\/id>",")",";","if","(","<id>","result","<\/id>","==","null",")","{","<id>","element","<\/id>","<id>","error","<\/id>","=","(","<id>","element","<\/id>",")","<id>","x","Path","<\/id>",".","<id>","new","Instance","<\/id>","(","\"\/response\/error\"",")",".","<id>","select","Single","Node","<\/id>","(","<id>","document","<\/id>",")",";","throw","new","<id>","exception","<\/id>","(","<id>","error","<\/id>","==","null","?","\"Error logging in\"",":","<id>","error","<\/id>",".","<id>","get","Text","<\/id>","(",")",")",";","}","<id>","my","Token","<\/id>","=","<id>","result","<\/id>",".","<id>","get","Text","Trim","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"FogBugzRepository.java","formatted_lines":["private void login(@NotNull PostMethod method) throws Exception {"," LOG.debug(\"Requesting new token\");"," int status = getHttpClient().executeMethod(method);"," if (status != 200)"," {"," throw new Exception(\"Error logging in: \" + method.getStatusLine());"," }"," Document document = new SAXBuilder(false).build(method.getResponseBodyAsStream()).getDocument();"," XPath path = XPath.newInstance(\"\/response\/token\");"," Element result = (Element)path.selectSingleNode(document);"," if (result == null)"," {"," Element error = (Element)XPath.newInstance(\"\/response\/error\").selectSingleNode("," document);"," throw new Exception(error == null ? \"Error logging in\" : error.getText());"," }"," myToken = result.getTextTrim();","}"],"function_name":"login","function_name_tokens":["login"],"id_body_hash":"3e879c9885c800e5f80657af89244b94","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,12,12,13,14,15,16,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,36,36,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,55,55,55,55,56,57,58,59,60,60,61,62,63,64,64,65,66,67,67,68,69,69,70,71,72,73,74,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,100,101,102,102,103,104,105,106,107,107,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,124,125,126,127,128,129,130,130,131,132,133,134,134,134,135,136,137,138,139],"option_correct":"login","options":["filesUpdateFinished","zzScanError","getVShift","login","pomFileExists","testComponentAbstractImplementation","testLoginForm"],"options_nlp":["files update finished","zz scan error","get v shift","login","pom file exists","test component abstract implementation","test login form"],"options_random":["filesUpdateFinished","pomFileExists","getVShift"],"options_tfidf":["testComponentAbstractImplementation","testLoginForm","zzScanError"],"project_name":"intellij-community","source_code_string":"private void login(@NotNull PostMethod method) throws Exception {\n LOG.debug(\"Requesting new token\");\n int status = getHttpClient().executeMethod(method);\n if (status != 200) {\n throw new Exception(\"Error logging in: \" + method.getStatusLine());\n }\n Document document = new SAXBuilder(false).build(method.getResponseBodyAsStream()).getDocument();\n XPath path = XPath.newInstance(\"\/response\/token\");\n Element result = (Element)path.selectSingleNode(document);\n if (result == null) {\n Element error = (Element)XPath.newInstance(\"\/response\/error\").selectSingleNode(document);\n throw new Exception(error == null ? \"Error logging in\" : error.getText());\n }\n myToken = result.getTextTrim();\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":65,"line":0},{"index_id":1,"token_group":1,"text":"log","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":7,"line":1},{"index_id":3,"token_group":3,"text":"debug","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"(","start_char":13,"line":1},{"index_id":5,"token_group":5,"text":"\"Requesting new token\"","start_char":14,"line":1},{"index_id":6,"token_group":6,"text":")","start_char":36,"line":1},{"index_id":7,"token_group":7,"text":";","start_char":37,"line":1},{"index_id":8,"token_group":8,"text":"int","start_char":4,"line":2},{"index_id":9,"token_group":9,"text":"status","start_char":8,"line":2},{"index_id":10,"token_group":10,"text":"=","start_char":15,"line":2},{"index_id":11,"token_group":11,"text":"get","start_char":17,"line":2},{"index_id":12,"token_group":12,"text":"Http","start_char":20,"line":2},{"index_id":13,"token_group":12,"text":"Client","start_char":24,"line":2},{"index_id":14,"token_group":12,"text":"(","start_char":30,"line":2},{"index_id":15,"token_group":13,"text":")","start_char":31,"line":2},{"index_id":16,"token_group":14,"text":".","start_char":32,"line":2},{"index_id":17,"token_group":15,"text":"execute","start_char":33,"line":2},{"index_id":18,"token_group":16,"text":"Method","start_char":40,"line":2},{"index_id":19,"token_group":16,"text":"(","start_char":46,"line":2},{"index_id":20,"token_group":17,"text":"method","start_char":47,"line":2},{"index_id":21,"token_group":18,"text":")","start_char":53,"line":2},{"index_id":22,"token_group":19,"text":";","start_char":54,"line":2},{"index_id":23,"token_group":20,"text":"if","start_char":4,"line":3},{"index_id":24,"token_group":21,"text":"(","start_char":7,"line":3},{"index_id":25,"token_group":22,"text":"status","start_char":8,"line":3},{"index_id":26,"token_group":23,"text":"!=","start_char":15,"line":3},{"index_id":27,"token_group":24,"text":"200","start_char":18,"line":3},{"index_id":28,"token_group":25,"text":")","start_char":21,"line":3},{"index_id":29,"token_group":26,"text":"{","start_char":4,"line":4},{"index_id":30,"token_group":27,"text":"throw","start_char":8,"line":5},{"index_id":31,"token_group":28,"text":"new","start_char":14,"line":5},{"index_id":32,"token_group":29,"text":"exception","start_char":18,"line":5},{"index_id":33,"token_group":30,"text":"(","start_char":27,"line":5},{"index_id":34,"token_group":31,"text":"\"Error logging in: \"","start_char":28,"line":5},{"index_id":35,"token_group":32,"text":"+","start_char":49,"line":5},{"index_id":36,"token_group":33,"text":"method","start_char":51,"line":5},{"index_id":37,"token_group":34,"text":".","start_char":57,"line":5},{"index_id":38,"token_group":35,"text":"get","start_char":58,"line":5},{"index_id":39,"token_group":36,"text":"Status","start_char":61,"line":5},{"index_id":40,"token_group":36,"text":"Line","start_char":67,"line":5},{"index_id":41,"token_group":36,"text":"(","start_char":71,"line":5},{"index_id":42,"token_group":37,"text":")","start_char":72,"line":5},{"index_id":43,"token_group":38,"text":")","start_char":73,"line":5},{"index_id":44,"token_group":39,"text":";","start_char":74,"line":5},{"index_id":45,"token_group":40,"text":"}","start_char":4,"line":6},{"index_id":46,"token_group":41,"text":"document","start_char":4,"line":7},{"index_id":47,"token_group":42,"text":"document","start_char":13,"line":7},{"index_id":48,"token_group":43,"text":"=","start_char":22,"line":7},{"index_id":49,"token_group":44,"text":"new","start_char":24,"line":7},{"index_id":50,"token_group":45,"text":"sax","start_char":28,"line":7},{"index_id":51,"token_group":46,"text":"Builder","start_char":31,"line":7},{"index_id":52,"token_group":46,"text":"(","start_char":38,"line":7},{"index_id":53,"token_group":47,"text":"false","start_char":39,"line":7},{"index_id":54,"token_group":48,"text":")","start_char":44,"line":7},{"index_id":55,"token_group":49,"text":".","start_char":45,"line":7},{"index_id":56,"token_group":50,"text":"build","start_char":46,"line":7},{"index_id":57,"token_group":51,"text":"(","start_char":51,"line":7},{"index_id":58,"token_group":52,"text":"method","start_char":52,"line":7},{"index_id":59,"token_group":53,"text":".","start_char":58,"line":7},{"index_id":60,"token_group":54,"text":"get","start_char":59,"line":7},{"index_id":61,"token_group":55,"text":"Response","start_char":62,"line":7},{"index_id":62,"token_group":55,"text":"Body","start_char":70,"line":7},{"index_id":63,"token_group":55,"text":"As","start_char":74,"line":7},{"index_id":64,"token_group":55,"text":"Stream","start_char":76,"line":7},{"index_id":65,"token_group":55,"text":"(","start_char":82,"line":7},{"index_id":66,"token_group":56,"text":")","start_char":83,"line":7},{"index_id":67,"token_group":57,"text":")","start_char":84,"line":7},{"index_id":68,"token_group":58,"text":".","start_char":85,"line":7},{"index_id":69,"token_group":59,"text":"get","start_char":86,"line":7},{"index_id":70,"token_group":60,"text":"Document","start_char":89,"line":7},{"index_id":71,"token_group":60,"text":"(","start_char":97,"line":7},{"index_id":72,"token_group":61,"text":")","start_char":98,"line":7},{"index_id":73,"token_group":62,"text":";","start_char":99,"line":7},{"index_id":74,"token_group":63,"text":"x","start_char":4,"line":8},{"index_id":75,"token_group":64,"text":"Path","start_char":5,"line":8},{"index_id":76,"token_group":64,"text":"path","start_char":10,"line":8},{"index_id":77,"token_group":65,"text":"=","start_char":15,"line":8},{"index_id":78,"token_group":66,"text":"x","start_char":17,"line":8},{"index_id":79,"token_group":67,"text":"Path","start_char":18,"line":8},{"index_id":80,"token_group":67,"text":".","start_char":22,"line":8},{"index_id":81,"token_group":68,"text":"new","start_char":23,"line":8},{"index_id":82,"token_group":69,"text":"Instance","start_char":26,"line":8},{"index_id":83,"token_group":69,"text":"(","start_char":34,"line":8},{"index_id":84,"token_group":70,"text":"\"\/response\/token\"","start_char":35,"line":8},{"index_id":85,"token_group":71,"text":")","start_char":52,"line":8},{"index_id":86,"token_group":72,"text":";","start_char":53,"line":8},{"index_id":87,"token_group":73,"text":"element","start_char":4,"line":9},{"index_id":88,"token_group":74,"text":"result","start_char":12,"line":9},{"index_id":89,"token_group":75,"text":"=","start_char":19,"line":9},{"index_id":90,"token_group":76,"text":"(","start_char":21,"line":9},{"index_id":91,"token_group":77,"text":"element","start_char":22,"line":9},{"index_id":92,"token_group":78,"text":")","start_char":29,"line":9},{"index_id":93,"token_group":79,"text":"path","start_char":30,"line":9},{"index_id":94,"token_group":80,"text":".","start_char":34,"line":9},{"index_id":95,"token_group":81,"text":"select","start_char":35,"line":9},{"index_id":96,"token_group":82,"text":"Single","start_char":41,"line":9},{"index_id":97,"token_group":82,"text":"Node","start_char":47,"line":9},{"index_id":98,"token_group":82,"text":"(","start_char":51,"line":9},{"index_id":99,"token_group":83,"text":"document","start_char":52,"line":9},{"index_id":100,"token_group":84,"text":")","start_char":60,"line":9},{"index_id":101,"token_group":85,"text":";","start_char":61,"line":9},{"index_id":102,"token_group":86,"text":"if","start_char":4,"line":10},{"index_id":103,"token_group":87,"text":"(","start_char":7,"line":10},{"index_id":104,"token_group":88,"text":"result","start_char":8,"line":10},{"index_id":105,"token_group":89,"text":"==","start_char":15,"line":10},{"index_id":106,"token_group":90,"text":"null","start_char":18,"line":10},{"index_id":107,"token_group":91,"text":")","start_char":22,"line":10},{"index_id":108,"token_group":92,"text":"{","start_char":4,"line":11},{"index_id":109,"token_group":93,"text":"element","start_char":8,"line":12},{"index_id":110,"token_group":94,"text":"error","start_char":16,"line":12},{"index_id":111,"token_group":95,"text":"=","start_char":22,"line":12},{"index_id":112,"token_group":96,"text":"(","start_char":24,"line":12},{"index_id":113,"token_group":97,"text":"element","start_char":25,"line":12},{"index_id":114,"token_group":98,"text":")","start_char":32,"line":12},{"index_id":115,"token_group":99,"text":"x","start_char":33,"line":12},{"index_id":116,"token_group":100,"text":"Path","start_char":34,"line":12},{"index_id":117,"token_group":100,"text":".","start_char":38,"line":12},{"index_id":118,"token_group":101,"text":"new","start_char":39,"line":12},{"index_id":119,"token_group":102,"text":"Instance","start_char":42,"line":12},{"index_id":120,"token_group":102,"text":"(","start_char":50,"line":12},{"index_id":121,"token_group":103,"text":"\"\/response\/error\"","start_char":51,"line":12},{"index_id":122,"token_group":104,"text":")","start_char":68,"line":12},{"index_id":123,"token_group":105,"text":".","start_char":69,"line":12},{"index_id":124,"token_group":106,"text":"select","start_char":70,"line":12},{"index_id":125,"token_group":107,"text":"Single","start_char":76,"line":12},{"index_id":126,"token_group":107,"text":"Node","start_char":82,"line":12},{"index_id":127,"token_group":107,"text":"(","start_char":86,"line":12},{"index_id":128,"token_group":108,"text":"document","start_char":12,"line":13},{"index_id":129,"token_group":109,"text":")","start_char":20,"line":13},{"index_id":130,"token_group":110,"text":";","start_char":21,"line":13},{"index_id":131,"token_group":111,"text":"throw","start_char":8,"line":14},{"index_id":132,"token_group":112,"text":"new","start_char":14,"line":14},{"index_id":133,"token_group":113,"text":"exception","start_char":18,"line":14},{"index_id":134,"token_group":114,"text":"(","start_char":27,"line":14},{"index_id":135,"token_group":115,"text":"error","start_char":28,"line":14},{"index_id":136,"token_group":116,"text":"==","start_char":34,"line":14},{"index_id":137,"token_group":117,"text":"null","start_char":37,"line":14},{"index_id":138,"token_group":118,"text":"?","start_char":42,"line":14},{"index_id":139,"token_group":119,"text":"\"Error logging in\"","start_char":44,"line":14},{"index_id":140,"token_group":120,"text":":","start_char":63,"line":14},{"index_id":141,"token_group":121,"text":"error","start_char":65,"line":14},{"index_id":142,"token_group":122,"text":".","start_char":70,"line":14},{"index_id":143,"token_group":123,"text":"get","start_char":71,"line":14},{"index_id":144,"token_group":124,"text":"Text","start_char":74,"line":14},{"index_id":145,"token_group":124,"text":"(","start_char":78,"line":14},{"index_id":146,"token_group":125,"text":")","start_char":79,"line":14},{"index_id":147,"token_group":126,"text":")","start_char":80,"line":14},{"index_id":148,"token_group":127,"text":";","start_char":81,"line":14},{"index_id":149,"token_group":128,"text":"}","start_char":4,"line":15},{"index_id":150,"token_group":129,"text":"my","start_char":4,"line":16},{"index_id":151,"token_group":130,"text":"Token","start_char":6,"line":16},{"index_id":152,"token_group":130,"text":"=","start_char":12,"line":16},{"index_id":153,"token_group":131,"text":"result","start_char":14,"line":16},{"index_id":154,"token_group":132,"text":".","start_char":20,"line":16},{"index_id":155,"token_group":133,"text":"get","start_char":21,"line":16},{"index_id":156,"token_group":134,"text":"Text","start_char":24,"line":16},{"index_id":157,"token_group":134,"text":"Trim","start_char":28,"line":16},{"index_id":158,"token_group":134,"text":"(","start_char":32,"line":16},{"index_id":159,"token_group":135,"text":")","start_char":33,"line":16},{"index_id":160,"token_group":136,"text":";","start_char":34,"line":16},{"index_id":161,"token_group":137,"text":"}","start_char":0,"line":17}],"tokens_list":["{","log",".","debug","(","\"Requesting new token\"",")",";","int","status","=","get","Http","Client","(",")",".","execute","Method","(","method",")",";","if","(","status","!=","200",")","{","throw","new","exception","(","\"Error logging in: \"","+","method",".","get","Status","Line","(",")",")",";","}","document","document","=","new","sax","Builder","(","false",")",".","build","(","method",".","get","Response","Body","As","Stream","(",")",")",".","get","Document","(",")",";","x","Path","path","=","x","Path",".","new","Instance","(","\"\/response\/token\"",")",";","element","result","=","(","element",")","path",".","select","Single","Node","(","document",")",";","if","(","result","==","null",")","{","element","error","=","(","element",")","x","Path",".","new","Instance","(","\"\/response\/error\"",")",".","select","Single","Node","(","document",")",";","throw","new","exception","(","error","==","null","?","\"Error logging in\"",":","error",".","get","Text","(",")",")",";","}","my","Token","=","result",".","get","Text","Trim","(",")",";","}"],"uuid":"b1ae610637f94ff954c0335f102fc1c3"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","kaleo","Task","Persistence","<\/id>","=","<id>","kaleo","Task","Persistence","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"KaleoLogLocalServiceBaseImpl.java","formatted_lines":["{"," this.kaleoTaskPersistence = kaleoTaskPersistence;","}"],"function_name":"setKaleoTaskPersistence","function_name_tokens":["set","kaleo","task","persistence"],"id_body_hash":"cbc59748eceabe04142a9b4ddeb626a7","id_same_identifier_list":[0,1,2,3,4,4,4,5,6,6,6,7,8,9],"option_correct":"setKaleoTaskPersistence","options":["setAnchorCssClass","getLast","setKaleoTaskPersistence","setKaleoTaskName","setKaleoTaskAssignmentPersistence","createConfigurationTable","setKaleoTaskId"],"options_nlp":["set anchor css class","get last","set kaleo task persistence","set kaleo task name","set kaleo task assignment persistence","create configuration table","set kaleo task id"],"options_random":["setAnchorCssClass","getLast","createConfigurationTable"],"options_tfidf":["setKaleoTaskName","setKaleoTaskAssignmentPersistence","setKaleoTaskId"],"project_name":"liferay-portal","source_code_string":"public void setKaleoTaskPersistence(\n\t\tKaleoTaskPersistence kaleoTaskPersistence) {\n\t\tthis.kaleoTaskPersistence = kaleoTaskPersistence;\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":"kaleo","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"Task","start_char":14,"line":1},{"index_id":5,"token_group":4,"text":"Persistence","start_char":18,"line":1},{"index_id":6,"token_group":4,"text":"=","start_char":30,"line":1},{"index_id":7,"token_group":5,"text":"kaleo","start_char":32,"line":1},{"index_id":8,"token_group":6,"text":"Task","start_char":37,"line":1},{"index_id":9,"token_group":6,"text":"Persistence","start_char":41,"line":1},{"index_id":10,"token_group":6,"text":";","start_char":52,"line":1},{"index_id":11,"token_group":7,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","kaleo","Task","Persistence","=","kaleo","Task","Persistence",";","}"],"uuid":"2231c1669bb0e3f7a4ad4137ab47f7cd"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","cancelled","<\/id>","=","true",";","<id>","stop","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"MavenExecutor.java","formatted_lines":["{"," cancelled = true;"," stop();","}"],"function_name":"cancel","function_name_tokens":["cancel"],"id_body_hash":"6b6ba23a62aff523b3f21fb12e818026","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11],"option_correct":"cancel","options":["cancel","computeProblemRange","cancelCurrent","importProjects","onCancel","getRemoteSdkMappedPaths","cancelClear"],"options_nlp":["cancel","compute problem range","cancel current","import projects","on cancel","get remote sdk mapped paths","cancel clear"],"options_random":["computeProblemRange","getRemoteSdkMappedPaths","importProjects"],"options_tfidf":["cancelClear","cancelCurrent","onCancel"],"project_name":"intellij-community","source_code_string":"public void cancel() {\n cancelled = true;\n stop();\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"cancelled","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"=","start_char":14,"line":1},{"index_id":3,"token_group":3,"text":"true","start_char":16,"line":1},{"index_id":4,"token_group":4,"text":";","start_char":20,"line":1},{"index_id":5,"token_group":5,"text":"stop","start_char":4,"line":2},{"index_id":6,"token_group":6,"text":"(","start_char":8,"line":2},{"index_id":7,"token_group":7,"text":")","start_char":9,"line":2},{"index_id":8,"token_group":8,"text":";","start_char":10,"line":2},{"index_id":9,"token_group":9,"text":"}","start_char":0,"line":3}],"tokens_list":["{","cancelled","=","true",";","stop","(",")",";","}"],"uuid":"4a0f419852a9b0141ff97f0bd54c0c53"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","exception","Logging","Enabled","<\/id>",".","<id>","get","Value","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"EJBComponentCreateService.java","formatted_lines":["{"," return exceptionLoggingEnabled.getValue();","}"],"function_name":"getExceptionLoggingEnabled","function_name_tokens":["get","exception","logging","enabled"],"id_body_hash":"9d2747b62a93940fd22a0663323248a8","id_same_identifier_list":[0,1,2,3,3,3,4,5,5,6,7,8,9,10],"option_correct":"getExceptionLoggingEnabled","options":["getExceptionClass","getExceptionLoggingEnabledInjector","getExceptionLoggingEnabled","third","writeException","newLine","setComponentCreateServiceFactory"],"options_nlp":["get exception class","get exception logging enabled injector","get exception logging enabled","third","write exception","new line","set component create service factory"],"options_random":["third","newLine","setComponentCreateServiceFactory"],"options_tfidf":["getExceptionClass","getExceptionLoggingEnabledInjector","writeException"],"project_name":"wildfly","source_code_string":"public AtomicBoolean getExceptionLoggingEnabled() {\n return exceptionLoggingEnabled.getValue();\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":"exception","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Logging","start_char":20,"line":1},{"index_id":4,"token_group":3,"text":"Enabled","start_char":27,"line":1},{"index_id":5,"token_group":3,"text":".","start_char":34,"line":1},{"index_id":6,"token_group":4,"text":"get","start_char":35,"line":1},{"index_id":7,"token_group":5,"text":"Value","start_char":38,"line":1},{"index_id":8,"token_group":5,"text":"(","start_char":43,"line":1},{"index_id":9,"token_group":6,"text":")","start_char":44,"line":1},{"index_id":10,"token_group":7,"text":";","start_char":45,"line":1},{"index_id":11,"token_group":8,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","exception","Logging","Enabled",".","get","Value","(",")",";","}"],"uuid":"442afd1f9db2cabc632d1b0b63580426"}]