-
Notifications
You must be signed in to change notification settings - Fork 1
/
experiment_0000090.json
1 lines (1 loc) · 93.9 KB
/
experiment_0000090.json
1
[{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","xml","Context","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"JPAMetadataProvider.java","formatted_lines":["{"," return xmlContext;","}"],"function_name":"getXMLContext","function_name_tokens":["get","xml","context"],"id_body_hash":"58ae28acd723b071400b8355a69fc1ab","id_same_identifier_list":[0,1,2,3,3,4,5,6],"option_correct":"getXMLContext","options":["getAliasResolutionContext","resetListener","setMiddle","findMessagesByTimestampRange","getContext","getXMLContext","getPersistenceContextMock"],"options_nlp":["get alias resolution context","reset listener","set middle","find messages by timestamp range","get context","get xml context","get persistence context mock"],"options_random":["findMessagesByTimestampRange","resetListener","setMiddle"],"options_tfidf":["getAliasResolutionContext","getPersistenceContextMock","getContext"],"project_name":"hibernate-orm","source_code_string":"public XMLContext getXMLContext() {\n\t\treturn xmlContext;\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":"xml","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Context","start_char":14,"line":1},{"index_id":4,"token_group":3,"text":";","start_char":21,"line":1},{"index_id":5,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","xml","Context",";","}"],"uuid":"f85a9587b07f77a4eae8c3a11f1e3810"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","shell","<\/id>",".","<id>","windows","<\/id>","?","<id>","fencer","True","Command","Windows","<\/id>",":","<id>","fencer","True","Command","Unix","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"TestDFSHAAdmin.java","formatted_lines":["{"," return Shell.WINDOWS ?"," FENCER_TRUE_COMMAND_WINDOWS : FENCER_TRUE_COMMAND_UNIX;","}"],"function_name":"getFencerTrueCommand","function_name_tokens":["get","fencer","true","command"],"id_body_hash":"40f8ef7e5608620d701d6d73f3538783","id_same_identifier_list":[0,1,2,3,4,5,6,7,7,7,7,8,9,9,9,9,10,11,12],"option_correct":"getFencerTrueCommand","options":["testWithReplicationFactorAsOne","getFencerTrueCommand","createApplicationAttemptState","getReplicationCommand","runAll","testCommandMapperAndCommandReducer","getFencerFalseCommand"],"options_nlp":["test with replication factor as one","get fencer true command","create application attempt state","get replication command","run all","test command mapper and command reducer","get fencer false command"],"options_random":["testWithReplicationFactorAsOne","runAll","createApplicationAttemptState"],"options_tfidf":["getReplicationCommand","testCommandMapperAndCommandReducer","getFencerFalseCommand"],"project_name":"hadoop-common","source_code_string":"public static String getFencerTrueCommand() {\n return Shell.WINDOWS ?\n FENCER_TRUE_COMMAND_WINDOWS : FENCER_TRUE_COMMAND_UNIX;\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":"shell","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":".","start_char":16,"line":1},{"index_id":4,"token_group":4,"text":"windows","start_char":17,"line":1},{"index_id":5,"token_group":5,"text":"?","start_char":25,"line":1},{"index_id":6,"token_group":6,"text":"fencer","start_char":11,"line":2},{"index_id":7,"token_group":7,"text":"True","start_char":18,"line":2},{"index_id":8,"token_group":7,"text":"Command","start_char":23,"line":2},{"index_id":9,"token_group":7,"text":"Windows","start_char":31,"line":2},{"index_id":10,"token_group":7,"text":":","start_char":39,"line":2},{"index_id":11,"token_group":8,"text":"fencer","start_char":41,"line":2},{"index_id":12,"token_group":9,"text":"True","start_char":48,"line":2},{"index_id":13,"token_group":9,"text":"Command","start_char":53,"line":2},{"index_id":14,"token_group":9,"text":"Unix","start_char":61,"line":2},{"index_id":15,"token_group":9,"text":";","start_char":65,"line":2},{"index_id":16,"token_group":10,"text":"}","start_char":0,"line":3}],"tokens_list":["{","return","shell",".","windows","?","fencer","True","Command","Windows",":","fencer","True","Command","Unix",";","}"],"uuid":"5f4eaa634a8a71e066d339972765e779"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","cache","Put","Count","<\/id>",".","<id>","get","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"ConcurrentQueryStatisticsImpl.java","formatted_lines":["{"," return cachePutCount.get();","}"],"function_name":"getCachePutCount","function_name_tokens":["get","cache","put","count"],"id_body_hash":"d71972b2458a5e1a04d91bafd13796b5","id_same_identifier_list":[0,1,2,3,3,3,4,5,6,7,8,9,10],"option_correct":"getCachePutCount","options":["getCount","getSubclassTableName","incrementCachePutCount","processSubEntityElements","testExpectations","getCachePutCount","incrementPutCount"],"options_nlp":["get count","get subclass table name","increment cache put count","process sub entity elements","test expectations","get cache put count","increment put count"],"options_random":["getSubclassTableName","processSubEntityElements","testExpectations"],"options_tfidf":["getCount","incrementCachePutCount","incrementPutCount"],"project_name":"hibernate-orm","source_code_string":"public long getCachePutCount() {\n\t\treturn cachePutCount.get();\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":"cache","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Put","start_char":16,"line":1},{"index_id":4,"token_group":3,"text":"Count","start_char":19,"line":1},{"index_id":5,"token_group":3,"text":".","start_char":24,"line":1},{"index_id":6,"token_group":4,"text":"get","start_char":25,"line":1},{"index_id":7,"token_group":5,"text":"(","start_char":28,"line":1},{"index_id":8,"token_group":6,"text":")","start_char":29,"line":1},{"index_id":9,"token_group":7,"text":";","start_char":30,"line":1},{"index_id":10,"token_group":8,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","cache","Put","Count",".","get","(",")",";","}"],"uuid":"25242673d76e450de14ff7ac260059ad"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","","User","Id","1","<\/id>","=","<id>","user","Id","1","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"SocialRelationSoap.java","formatted_lines":["{"," _userId1 = userId1;","}"],"function_name":"setUserId1","function_name_tokens":["set","user","id","1"],"id_body_hash":"1c8a5831cdf87bc51fe6d20af92001a9","id_same_identifier_list":[0,1,2,2,2,2,3,4,4,4,5,6,7],"option_correct":"setUserId1","options":["setUserId2","getCategoryKeys","setUserGroupId","getDDLRecordPersistence","setServiceBeanAopCacheManager","setUserId","setUserId1"],"options_nlp":["set user id 2","get category keys","set user group id","get ddl record persistence","set service bean aop cache manager","set user id","set user id 1"],"options_random":["getDDLRecordPersistence","getCategoryKeys","setServiceBeanAopCacheManager"],"options_tfidf":["setUserId2","setUserGroupId","setUserId"],"project_name":"liferay-portal","source_code_string":"public void setUserId1(long userId1) {\n\t\t_userId1 = userId1;\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"","start_char":1,"line":0},{"index_id":2,"token_group":2,"text":"User","start_char":5,"line":1},{"index_id":3,"token_group":2,"text":"Id","start_char":9,"line":1},{"index_id":4,"token_group":2,"text":"1","start_char":11,"line":1},{"index_id":5,"token_group":2,"text":"=","start_char":13,"line":1},{"index_id":6,"token_group":3,"text":"user","start_char":15,"line":1},{"index_id":7,"token_group":4,"text":"Id","start_char":19,"line":1},{"index_id":8,"token_group":4,"text":"1","start_char":21,"line":1},{"index_id":9,"token_group":4,"text":";","start_char":22,"line":1},{"index_id":10,"token_group":5,"text":"}","start_char":0,"line":2}],"tokens_list":["{","","User","Id","1","=","user","Id","1",";","}"],"uuid":"9d99de68c292f9c9b84d33accbebfc78"},{"cap_original_tokens":["<SENTENCE_START>","{","if","(","<id>","query","<\/id>","!=","null","&&","<id>","query","<\/id>",".","<id>","length","<\/id>","(",")",">","0",")","{","<id>","conf","<\/id>",".","<id>","set","<\/id>","(","<id>","db","Configuration","<\/id>",".","<id>","input","Query","<\/id>",",","<id>","query","<\/id>",")",";","}","}","<SENTENCE_END\/>"],"file_name":"DBConfiguration.java","formatted_lines":["{"," if(query != null && query.length() > 0)"," {"," conf.set(DBConfiguration.INPUT_QUERY, query);"," }","}"],"function_name":"setInputQuery","function_name_tokens":["set","input","query"],"id_body_hash":"902081789abd093a0439171ff5e9f650","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,21,22,23,23,24,25,26,27,28,29,30],"option_correct":"setInputQuery","options":["setInputCountQuery","mockAppAttempt","setInputBoundingQuery","testJobIdDefault","setInputQuery","build","setBoundingQuery"],"options_nlp":["set input count query","mock app attempt","set input bounding query","test job id default","set input query","build","set bounding query"],"options_random":["build","mockAppAttempt","testJobIdDefault"],"options_tfidf":["setInputCountQuery","setBoundingQuery","setInputBoundingQuery"],"project_name":"hadoop-common","source_code_string":"public void setInputQuery(String query) {\n if(query != null && query.length() >0) {\n conf.set(DBConfiguration.INPUT_QUERY, query);\n }\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"if","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"(","start_char":6,"line":1},{"index_id":3,"token_group":3,"text":"query","start_char":7,"line":1},{"index_id":4,"token_group":4,"text":"!=","start_char":13,"line":1},{"index_id":5,"token_group":5,"text":"null","start_char":16,"line":1},{"index_id":6,"token_group":6,"text":"&&","start_char":21,"line":1},{"index_id":7,"token_group":7,"text":"query","start_char":24,"line":1},{"index_id":8,"token_group":8,"text":".","start_char":29,"line":1},{"index_id":9,"token_group":9,"text":"length","start_char":30,"line":1},{"index_id":10,"token_group":10,"text":"(","start_char":36,"line":1},{"index_id":11,"token_group":11,"text":")","start_char":37,"line":1},{"index_id":12,"token_group":12,"text":">","start_char":39,"line":1},{"index_id":13,"token_group":13,"text":"0","start_char":41,"line":1},{"index_id":14,"token_group":14,"text":")","start_char":42,"line":1},{"index_id":15,"token_group":15,"text":"{","start_char":4,"line":2},{"index_id":16,"token_group":16,"text":"conf","start_char":8,"line":3},{"index_id":17,"token_group":17,"text":".","start_char":12,"line":3},{"index_id":18,"token_group":18,"text":"set","start_char":13,"line":3},{"index_id":19,"token_group":19,"text":"(","start_char":16,"line":3},{"index_id":20,"token_group":20,"text":"db","start_char":17,"line":3},{"index_id":21,"token_group":21,"text":"Configuration","start_char":19,"line":3},{"index_id":22,"token_group":21,"text":".","start_char":32,"line":3},{"index_id":23,"token_group":22,"text":"input","start_char":33,"line":3},{"index_id":24,"token_group":23,"text":"Query","start_char":39,"line":3},{"index_id":25,"token_group":23,"text":",","start_char":44,"line":3},{"index_id":26,"token_group":24,"text":"query","start_char":46,"line":3},{"index_id":27,"token_group":25,"text":")","start_char":51,"line":3},{"index_id":28,"token_group":26,"text":";","start_char":52,"line":3},{"index_id":29,"token_group":27,"text":"}","start_char":4,"line":4},{"index_id":30,"token_group":28,"text":"}","start_char":0,"line":5}],"tokens_list":["{","if","(","query","!=","null","&&","query",".","length","(",")",">","0",")","{","conf",".","set","(","db","Configuration",".","input","Query",",","query",")",";","}","}"],"uuid":"fff2516d0ee049c1982eb821c429c564"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","path","Address","<\/id>",".","<id>","path","Address","<\/id>","(","<id>","operation","<\/id>",".","<id>","require","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","op","Addr","<\/id>",")",")",";","}","<SENTENCE_END\/>"],"file_name":"Operations.java","formatted_lines":["{"," return PathAddress.pathAddress(operation.require("," ModelDescriptionConstants.OP_ADDR));","}"],"function_name":"getPathAddress","function_name_tokens":["get","path","address"],"id_body_hash":"00b7852a168435983e86c7bdde9bb62a","id_same_identifier_list":[0,1,2,3,3,4,5,5,6,7,8,9,10,11,11,11,12,13,13,14,15,16,17,18],"option_correct":"getPathAddress","options":["testSuspendAndActivate","getPathAddress","isOtherResourceAvailableThroughResourceEnvRef","getAddress","path","setActiveNamingStore","getPath"],"options_nlp":["test suspend and activate","get path address","is other resource available through resource env ref","get address","path","set active naming store","get path"],"options_random":["testSuspendAndActivate","setActiveNamingStore","isOtherResourceAvailableThroughResourceEnvRef"],"options_tfidf":["getAddress","getPath","path"],"project_name":"wildfly","source_code_string":"public static PathAddress getPathAddress(ModelNode operation) {\n return PathAddress.pathAddress(operation.require(ModelDescriptionConstants.OP_ADDR));\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"path","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Address","start_char":15,"line":1},{"index_id":4,"token_group":3,"text":".","start_char":22,"line":1},{"index_id":5,"token_group":4,"text":"path","start_char":23,"line":1},{"index_id":6,"token_group":5,"text":"Address","start_char":27,"line":1},{"index_id":7,"token_group":5,"text":"(","start_char":34,"line":1},{"index_id":8,"token_group":6,"text":"operation","start_char":35,"line":1},{"index_id":9,"token_group":7,"text":".","start_char":44,"line":1},{"index_id":10,"token_group":8,"text":"require","start_char":45,"line":1},{"index_id":11,"token_group":9,"text":"(","start_char":52,"line":1},{"index_id":12,"token_group":10,"text":"model","start_char":39,"line":2},{"index_id":13,"token_group":11,"text":"Description","start_char":44,"line":2},{"index_id":14,"token_group":11,"text":"Constants","start_char":55,"line":2},{"index_id":15,"token_group":11,"text":".","start_char":64,"line":2},{"index_id":16,"token_group":12,"text":"op","start_char":65,"line":2},{"index_id":17,"token_group":13,"text":"Addr","start_char":68,"line":2},{"index_id":18,"token_group":13,"text":")","start_char":72,"line":2},{"index_id":19,"token_group":14,"text":")","start_char":73,"line":2},{"index_id":20,"token_group":15,"text":";","start_char":74,"line":2},{"index_id":21,"token_group":16,"text":"}","start_char":0,"line":3}],"tokens_list":["{","return","path","Address",".","path","Address","(","operation",".","require","(","model","Description","Constants",".","op","Addr",")",")",";","}"],"uuid":"2fcfae2d7c29c8b9ec62494cb7e1327a"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","require","No","Attributes","<\/id>","(","<id>","reader","<\/id>",")",";","boolean","<id>","empty","<\/id>","=","true",";","while","(","<id>","reader","<\/id>",".","<id>","has","Next","<\/id>","(",")","&&","<id>","reader","<\/id>",".","<id>","next","Tag","<\/id>","(",")","!=","<id>","end","Element","<\/id>",")","{","switch","(","<id>","element","<\/id>",".","<id>","for","Name","<\/id>","(","<id>","reader","<\/id>",".","<id>","get","Local","Name","<\/id>","(",")",")",")","{","case","<id>","managed","Scheduled","Executor","Service","<\/id>",":","{","<id>","empty","<\/id>","=","false",";","<id>","parse","Managed","Scheduled","Executor","Service","<\/id>","(","<id>","reader","<\/id>",",","<id>","operations","<\/id>",",","<id>","subsystem","Path","Address","<\/id>",")",";","break",";","}","default",":","{","throw","<id>","unexpected","Element","<\/id>","(","<id>","reader","<\/id>",")",";","}","}","}","if","(","<id>","empty","<\/id>",")","{","throw","<id>","missing","Required","<\/id>","(","<id>","reader","<\/id>",",","<id>","enum","Set","<\/id>",".","<id>","of","<\/id>","(","<id>","element","<\/id>",".","<id>","managed","Scheduled","Executor","Service","<\/id>",")",")",";","}","}","<SENTENCE_END\/>"],"file_name":"EESubsystemParser20.java","formatted_lines":["{"," requireNoAttributes(reader);"," boolean empty = true;"," while (reader.hasNext() && reader.nextTag() != END_ELEMENT)"," {"," switch (Element.forName(reader.getLocalName()))"," {"," case MANAGED_SCHEDULED_EXECUTOR_SERVICE:"," {"," empty = false;"," parseManagedScheduledExecutorService(reader, operations, subsystemPathAddress);"," break;"," }"," default:"," {"," throw unexpectedElement(reader);"," }"," }"," }"," if(empty)"," {"," throw missingRequired(reader,"," EnumSet.of(Element.MANAGED_SCHEDULED_EXECUTOR_SERVICE));"," }","}"],"function_name":"parseManagedScheduledExecutorServices","function_name_tokens":["parse","managed","scheduled","executor","services"],"id_body_hash":"f247af646b9ad8c5ce32cd5a2092887d","id_same_identifier_list":[0,1,2,2,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,16,17,18,19,20,21,22,22,23,24,25,26,26,27,28,29,30,31,32,33,33,34,35,36,37,37,37,38,39,40,41,42,43,44,44,44,44,45,46,47,48,49,50,51,51,51,51,51,52,53,54,55,56,57,57,57,58,59,60,61,62,63,64,65,66,67,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,81,82,83,84,85,85,86,87,88,89,90,91,91,91,91,92,93,94,95,96,97],"option_correct":"parseManagedScheduledExecutorServices","options":["parseManagedScheduledExecutorServices","isDeliveryControlled","parseManagedExecutorServices","getAfterCompletion","testRebindReferenceable","testManagedScheduledExecutorServiceManagement","parseManagedScheduledExecutorService"],"options_nlp":["parse managed scheduled executor services","is delivery controlled","parse managed executor services","get after completion","test rebind referenceable","test managed scheduled executor service management","parse managed scheduled executor service"],"options_random":["getAfterCompletion","isDeliveryControlled","testRebindReferenceable"],"options_tfidf":["parseManagedScheduledExecutorService","testManagedScheduledExecutorServiceManagement","parseManagedExecutorServices"],"project_name":"wildfly","source_code_string":"static void parseManagedScheduledExecutorServices(XMLExtendedStreamReader reader, List<ModelNode> operations, PathAddress subsystemPathAddress) throws XMLStreamException {\n requireNoAttributes(reader);\n boolean empty = true;\n while (reader.hasNext() && reader.nextTag() != END_ELEMENT) {\n switch (Element.forName(reader.getLocalName())) {\n case MANAGED_SCHEDULED_EXECUTOR_SERVICE: {\n empty = false;\n parseManagedScheduledExecutorService(reader, operations, subsystemPathAddress);\n break;\n }\n default: {\n throw unexpectedElement(reader);\n }\n }\n }\n if(empty) {\n throw missingRequired(reader, EnumSet.of(Element.MANAGED_SCHEDULED_EXECUTOR_SERVICE));\n }\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"require","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"No","start_char":11,"line":1},{"index_id":3,"token_group":2,"text":"Attributes","start_char":13,"line":1},{"index_id":4,"token_group":2,"text":"(","start_char":23,"line":1},{"index_id":5,"token_group":3,"text":"reader","start_char":24,"line":1},{"index_id":6,"token_group":4,"text":")","start_char":30,"line":1},{"index_id":7,"token_group":5,"text":";","start_char":31,"line":1},{"index_id":8,"token_group":6,"text":"boolean","start_char":4,"line":2},{"index_id":9,"token_group":7,"text":"empty","start_char":12,"line":2},{"index_id":10,"token_group":8,"text":"=","start_char":18,"line":2},{"index_id":11,"token_group":9,"text":"true","start_char":20,"line":2},{"index_id":12,"token_group":10,"text":";","start_char":24,"line":2},{"index_id":13,"token_group":11,"text":"while","start_char":4,"line":3},{"index_id":14,"token_group":12,"text":"(","start_char":10,"line":3},{"index_id":15,"token_group":13,"text":"reader","start_char":11,"line":3},{"index_id":16,"token_group":14,"text":".","start_char":17,"line":3},{"index_id":17,"token_group":15,"text":"has","start_char":18,"line":3},{"index_id":18,"token_group":16,"text":"Next","start_char":21,"line":3},{"index_id":19,"token_group":16,"text":"(","start_char":25,"line":3},{"index_id":20,"token_group":17,"text":")","start_char":26,"line":3},{"index_id":21,"token_group":18,"text":"&&","start_char":28,"line":3},{"index_id":22,"token_group":19,"text":"reader","start_char":31,"line":3},{"index_id":23,"token_group":20,"text":".","start_char":37,"line":3},{"index_id":24,"token_group":21,"text":"next","start_char":38,"line":3},{"index_id":25,"token_group":22,"text":"Tag","start_char":42,"line":3},{"index_id":26,"token_group":22,"text":"(","start_char":45,"line":3},{"index_id":27,"token_group":23,"text":")","start_char":46,"line":3},{"index_id":28,"token_group":24,"text":"!=","start_char":48,"line":3},{"index_id":29,"token_group":25,"text":"end","start_char":51,"line":3},{"index_id":30,"token_group":26,"text":"Element","start_char":55,"line":3},{"index_id":31,"token_group":26,"text":")","start_char":62,"line":3},{"index_id":32,"token_group":27,"text":"{","start_char":4,"line":4},{"index_id":33,"token_group":28,"text":"switch","start_char":8,"line":5},{"index_id":34,"token_group":29,"text":"(","start_char":15,"line":5},{"index_id":35,"token_group":30,"text":"element","start_char":16,"line":5},{"index_id":36,"token_group":31,"text":".","start_char":23,"line":5},{"index_id":37,"token_group":32,"text":"for","start_char":24,"line":5},{"index_id":38,"token_group":33,"text":"Name","start_char":27,"line":5},{"index_id":39,"token_group":33,"text":"(","start_char":31,"line":5},{"index_id":40,"token_group":34,"text":"reader","start_char":32,"line":5},{"index_id":41,"token_group":35,"text":".","start_char":38,"line":5},{"index_id":42,"token_group":36,"text":"get","start_char":39,"line":5},{"index_id":43,"token_group":37,"text":"Local","start_char":42,"line":5},{"index_id":44,"token_group":37,"text":"Name","start_char":47,"line":5},{"index_id":45,"token_group":37,"text":"(","start_char":51,"line":5},{"index_id":46,"token_group":38,"text":")","start_char":52,"line":5},{"index_id":47,"token_group":39,"text":")","start_char":53,"line":5},{"index_id":48,"token_group":40,"text":")","start_char":54,"line":5},{"index_id":49,"token_group":41,"text":"{","start_char":8,"line":6},{"index_id":50,"token_group":42,"text":"case","start_char":8,"line":7},{"index_id":51,"token_group":43,"text":"managed","start_char":13,"line":7},{"index_id":52,"token_group":44,"text":"Scheduled","start_char":21,"line":7},{"index_id":53,"token_group":44,"text":"Executor","start_char":31,"line":7},{"index_id":54,"token_group":44,"text":"Service","start_char":40,"line":7},{"index_id":55,"token_group":44,"text":":","start_char":47,"line":7},{"index_id":56,"token_group":45,"text":"{","start_char":8,"line":8},{"index_id":57,"token_group":46,"text":"empty","start_char":12,"line":9},{"index_id":58,"token_group":47,"text":"=","start_char":18,"line":9},{"index_id":59,"token_group":48,"text":"false","start_char":20,"line":9},{"index_id":60,"token_group":49,"text":";","start_char":25,"line":9},{"index_id":61,"token_group":50,"text":"parse","start_char":12,"line":10},{"index_id":62,"token_group":51,"text":"Managed","start_char":17,"line":10},{"index_id":63,"token_group":51,"text":"Scheduled","start_char":24,"line":10},{"index_id":64,"token_group":51,"text":"Executor","start_char":33,"line":10},{"index_id":65,"token_group":51,"text":"Service","start_char":41,"line":10},{"index_id":66,"token_group":51,"text":"(","start_char":48,"line":10},{"index_id":67,"token_group":52,"text":"reader","start_char":49,"line":10},{"index_id":68,"token_group":53,"text":",","start_char":55,"line":10},{"index_id":69,"token_group":54,"text":"operations","start_char":57,"line":10},{"index_id":70,"token_group":55,"text":",","start_char":67,"line":10},{"index_id":71,"token_group":56,"text":"subsystem","start_char":69,"line":10},{"index_id":72,"token_group":57,"text":"Path","start_char":78,"line":10},{"index_id":73,"token_group":57,"text":"Address","start_char":82,"line":10},{"index_id":74,"token_group":57,"text":")","start_char":89,"line":10},{"index_id":75,"token_group":58,"text":";","start_char":90,"line":10},{"index_id":76,"token_group":59,"text":"break","start_char":12,"line":11},{"index_id":77,"token_group":60,"text":";","start_char":17,"line":11},{"index_id":78,"token_group":61,"text":"}","start_char":8,"line":12},{"index_id":79,"token_group":62,"text":"default","start_char":8,"line":13},{"index_id":80,"token_group":63,"text":":","start_char":15,"line":13},{"index_id":81,"token_group":64,"text":"{","start_char":8,"line":14},{"index_id":82,"token_group":65,"text":"throw","start_char":12,"line":15},{"index_id":83,"token_group":66,"text":"unexpected","start_char":18,"line":15},{"index_id":84,"token_group":67,"text":"Element","start_char":28,"line":15},{"index_id":85,"token_group":67,"text":"(","start_char":35,"line":15},{"index_id":86,"token_group":68,"text":"reader","start_char":36,"line":15},{"index_id":87,"token_group":69,"text":")","start_char":42,"line":15},{"index_id":88,"token_group":70,"text":";","start_char":43,"line":15},{"index_id":89,"token_group":71,"text":"}","start_char":8,"line":16},{"index_id":90,"token_group":72,"text":"}","start_char":8,"line":17},{"index_id":91,"token_group":73,"text":"}","start_char":4,"line":18},{"index_id":92,"token_group":74,"text":"if","start_char":4,"line":19},{"index_id":93,"token_group":75,"text":"(","start_char":6,"line":19},{"index_id":94,"token_group":76,"text":"empty","start_char":7,"line":19},{"index_id":95,"token_group":77,"text":")","start_char":12,"line":19},{"index_id":96,"token_group":78,"text":"{","start_char":4,"line":20},{"index_id":97,"token_group":79,"text":"throw","start_char":8,"line":21},{"index_id":98,"token_group":80,"text":"missing","start_char":14,"line":21},{"index_id":99,"token_group":81,"text":"Required","start_char":21,"line":21},{"index_id":100,"token_group":81,"text":"(","start_char":29,"line":21},{"index_id":101,"token_group":82,"text":"reader","start_char":30,"line":21},{"index_id":102,"token_group":83,"text":",","start_char":36,"line":21},{"index_id":103,"token_group":84,"text":"enum","start_char":30,"line":22},{"index_id":104,"token_group":85,"text":"Set","start_char":34,"line":22},{"index_id":105,"token_group":85,"text":".","start_char":37,"line":22},{"index_id":106,"token_group":86,"text":"of","start_char":38,"line":22},{"index_id":107,"token_group":87,"text":"(","start_char":40,"line":22},{"index_id":108,"token_group":88,"text":"element","start_char":41,"line":22},{"index_id":109,"token_group":89,"text":".","start_char":48,"line":22},{"index_id":110,"token_group":90,"text":"managed","start_char":49,"line":22},{"index_id":111,"token_group":91,"text":"Scheduled","start_char":57,"line":22},{"index_id":112,"token_group":91,"text":"Executor","start_char":67,"line":22},{"index_id":113,"token_group":91,"text":"Service","start_char":76,"line":22},{"index_id":114,"token_group":91,"text":")","start_char":83,"line":22},{"index_id":115,"token_group":92,"text":")","start_char":84,"line":22},{"index_id":116,"token_group":93,"text":";","start_char":85,"line":22},{"index_id":117,"token_group":94,"text":"}","start_char":4,"line":23},{"index_id":118,"token_group":95,"text":"}","start_char":0,"line":24}],"tokens_list":["{","require","No","Attributes","(","reader",")",";","boolean","empty","=","true",";","while","(","reader",".","has","Next","(",")","&&","reader",".","next","Tag","(",")","!=","end","Element",")","{","switch","(","element",".","for","Name","(","reader",".","get","Local","Name","(",")",")",")","{","case","managed","Scheduled","Executor","Service",":","{","empty","=","false",";","parse","Managed","Scheduled","Executor","Service","(","reader",",","operations",",","subsystem","Path","Address",")",";","break",";","}","default",":","{","throw","unexpected","Element","(","reader",")",";","}","}","}","if","(","empty",")","{","throw","missing","Required","(","reader",",","enum","Set",".","of","(","element",".","managed","Scheduled","Executor","Service",")",")",";","}","}"],"uuid":"7acdf7c7abc7966becbf87082388c2d1"},{"cap_original_tokens":["<SENTENCE_START>","{","return","new","<id>","range","<\/id>","(","<id>","marker","<\/id>",".","<id>","exactly","<\/id>","(","<id>","type","<\/id>",",","<id>","low","<\/id>",")",",","<id>","marker","<\/id>",".","<id>","upper","Unbounded","<\/id>","(","<id>","type","<\/id>",")",")",";","}","<SENTENCE_END\/>"],"file_name":"Range.java","formatted_lines":["{"," return new Range(Marker.exactly(type, low), Marker.upperUnbounded(type));","}"],"function_name":"greaterThanOrEqual","function_name_tokens":["greater","than","or","equal"],"id_body_hash":"42b9056780ed8d828a514080fb4e3902","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,17,18,19,20,21,22,23,24],"option_correct":"greaterThanOrEqual","options":["setGracePeriod","greaterThanOrEqual","jumpIfIntGreaterThanOrEqualZero","greaterThan","createSocksSocket","createLongDictionaryBlock","lessThanOrEqual"],"options_nlp":["set grace period","greater than or equal","jump if int greater than or equal zero","greater than","create socks socket","create long dictionary block","less than or equal"],"options_random":["setGracePeriod","createLongDictionaryBlock","createSocksSocket"],"options_tfidf":["jumpIfIntGreaterThanOrEqualZero","lessThanOrEqual","greaterThan"],"project_name":"presto","source_code_string":"public static Range greaterThanOrEqual(Type type, Object low)\n {\n return new Range(Marker.exactly(type, low), Marker.upperUnbounded(type));\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"new","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"range","start_char":15,"line":1},{"index_id":4,"token_group":4,"text":"(","start_char":20,"line":1},{"index_id":5,"token_group":5,"text":"marker","start_char":21,"line":1},{"index_id":6,"token_group":6,"text":".","start_char":27,"line":1},{"index_id":7,"token_group":7,"text":"exactly","start_char":28,"line":1},{"index_id":8,"token_group":8,"text":"(","start_char":35,"line":1},{"index_id":9,"token_group":9,"text":"type","start_char":36,"line":1},{"index_id":10,"token_group":10,"text":",","start_char":40,"line":1},{"index_id":11,"token_group":11,"text":"low","start_char":42,"line":1},{"index_id":12,"token_group":12,"text":")","start_char":45,"line":1},{"index_id":13,"token_group":13,"text":",","start_char":46,"line":1},{"index_id":14,"token_group":14,"text":"marker","start_char":48,"line":1},{"index_id":15,"token_group":15,"text":".","start_char":54,"line":1},{"index_id":16,"token_group":16,"text":"upper","start_char":55,"line":1},{"index_id":17,"token_group":17,"text":"Unbounded","start_char":60,"line":1},{"index_id":18,"token_group":17,"text":"(","start_char":69,"line":1},{"index_id":19,"token_group":18,"text":"type","start_char":70,"line":1},{"index_id":20,"token_group":19,"text":")","start_char":74,"line":1},{"index_id":21,"token_group":20,"text":")","start_char":75,"line":1},{"index_id":22,"token_group":21,"text":";","start_char":76,"line":1},{"index_id":23,"token_group":22,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","new","range","(","marker",".","exactly","(","type",",","low",")",",","marker",".","upper","Unbounded","(","type",")",")",";","}"],"uuid":"ec0cf5049a81c816bcd0780b71e81eb6"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","type","Converter","<\/id>","=","<id>","type","Converter","<\/id>",";","this",".","<id>","use","Default","Converter","<\/id>","=","false",";","}","<SENTENCE_END\/>"],"file_name":"ArgumentConvertingMethodInvoker.java","formatted_lines":["{"," this.typeConverter = typeConverter;"," this.useDefaultConverter = false;","}"],"function_name":"setTypeConverter","function_name_tokens":["set","type","converter"],"id_body_hash":"59ef4cccfa9d448cd35848edba925787","id_same_identifier_list":[0,1,2,3,4,4,5,6,6,7,8,9,10,10,10,11,12,13,14,15],"option_correct":"setTypeConverter","options":["testBlobSerializableType","setTypeConverter","getDefaultTypeConverter","customMapWithNonStringValue","setMessageConverter","getTypeConverter","setAsyncRequestFactory"],"options_nlp":["test blob serializable type","set type converter","get default type converter","custom map with non string value","set message converter","get type converter","set async request factory"],"options_random":["customMapWithNonStringValue","testBlobSerializableType","setAsyncRequestFactory"],"options_tfidf":["getTypeConverter","setMessageConverter","getDefaultTypeConverter"],"project_name":"spring-framework","source_code_string":"public void setTypeConverter(TypeConverter typeConverter) {\n\t\tthis.typeConverter = typeConverter;\n\t\tthis.useDefaultConverter = false;\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"this","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":8,"line":1},{"index_id":3,"token_group":3,"text":"type","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"Converter","start_char":13,"line":1},{"index_id":5,"token_group":4,"text":"=","start_char":23,"line":1},{"index_id":6,"token_group":5,"text":"type","start_char":25,"line":1},{"index_id":7,"token_group":6,"text":"Converter","start_char":29,"line":1},{"index_id":8,"token_group":6,"text":";","start_char":38,"line":1},{"index_id":9,"token_group":7,"text":"this","start_char":4,"line":2},{"index_id":10,"token_group":8,"text":".","start_char":8,"line":2},{"index_id":11,"token_group":9,"text":"use","start_char":9,"line":2},{"index_id":12,"token_group":10,"text":"Default","start_char":12,"line":2},{"index_id":13,"token_group":10,"text":"Converter","start_char":19,"line":2},{"index_id":14,"token_group":10,"text":"=","start_char":29,"line":2},{"index_id":15,"token_group":11,"text":"false","start_char":31,"line":2},{"index_id":16,"token_group":12,"text":";","start_char":36,"line":2},{"index_id":17,"token_group":13,"text":"}","start_char":0,"line":3}],"tokens_list":["{","this",".","type","Converter","=","type","Converter",";","this",".","use","Default","Converter","=","false",";","}"],"uuid":"6dc1376205aeb648df430b68c21e29bd"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","encoding","<\/id>","=","<id>","encoding","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"JibxMarshaller.java","formatted_lines":["{"," this.encoding = encoding;","}"],"function_name":"setEncoding","function_name_tokens":["set","encoding"],"id_body_hash":"48bf31ca2a477695f14be23035c3e81c","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9],"option_correct":"setEncoding","options":["setEncoding","setEncodingPropertyName","isPrimitiveOrWrapperWithDoubleWrapperClass","setMethodResolvers","setDisableHtmlEscaping","resolveResourceMatchingEncoding","setDefaultEncoding"],"options_nlp":["set encoding","set encoding property name","is primitive or wrapper with double wrapper class","set method resolvers","set disable html escaping","resolve resource matching encoding","set default encoding"],"options_random":["setMethodResolvers","setDisableHtmlEscaping","isPrimitiveOrWrapperWithDoubleWrapperClass"],"options_tfidf":["resolveResourceMatchingEncoding","setDefaultEncoding","setEncodingPropertyName"],"project_name":"spring-framework","source_code_string":"public void setEncoding(String encoding) {\n\t\tthis.encoding = encoding;\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"this","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":8,"line":1},{"index_id":3,"token_group":3,"text":"encoding","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"=","start_char":18,"line":1},{"index_id":5,"token_group":5,"text":"encoding","start_char":20,"line":1},{"index_id":6,"token_group":6,"text":";","start_char":28,"line":1},{"index_id":7,"token_group":7,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","encoding","=","encoding",";","}"],"uuid":"c51ba018666647899de6a50370186586"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","legacy","Local","Repository","Manager","<\/id>",".","<id>","overlay","<\/id>","(","<id>","local","Repository","<\/id>",",","<id>","legacy","Support","<\/id>",".","<id>","get","Repository","Session","<\/id>","(",")",",","<id>","repo","System","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"CustomMaven3ArtifactResolver.java","formatted_lines":["{"," return LegacyLocalRepositoryManager.overlay( localRepository,"," legacySupport.getRepositorySession(), repoSystem );","}"],"function_name":"getSession","function_name_tokens":["get","session"],"id_body_hash":"d58d1f36ba647954185989524a1d80c4","id_same_identifier_list":[0,1,2,3,3,3,3,4,5,6,7,7,8,9,9,10,11,11,11,12,13,14,15,15,16,17,18,19],"option_correct":"getSession","options":["testCallMethod","createConfigurationSettings","getSessionId","getHighlightingSession","doneStr","getSession","getAnnotationSession"],"options_nlp":["test call method","create configuration settings","get session id","get highlighting session","done str","get session","get annotation session"],"options_random":["testCallMethod","doneStr","createConfigurationSettings"],"options_tfidf":["getSessionId","getAnnotationSession","getHighlightingSession"],"project_name":"intellij-community","source_code_string":"private RepositorySystemSession getSession(ArtifactRepository localRepository) {\n return LegacyLocalRepositoryManager.overlay( localRepository, legacySupport.getRepositorySession(), repoSystem );\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"legacy","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Local","start_char":17,"line":1},{"index_id":4,"token_group":3,"text":"Repository","start_char":22,"line":1},{"index_id":5,"token_group":3,"text":"Manager","start_char":32,"line":1},{"index_id":6,"token_group":3,"text":".","start_char":39,"line":1},{"index_id":7,"token_group":4,"text":"overlay","start_char":40,"line":1},{"index_id":8,"token_group":5,"text":"(","start_char":47,"line":1},{"index_id":9,"token_group":6,"text":"local","start_char":49,"line":1},{"index_id":10,"token_group":7,"text":"Repository","start_char":54,"line":1},{"index_id":11,"token_group":7,"text":",","start_char":64,"line":1},{"index_id":12,"token_group":8,"text":"legacy","start_char":12,"line":2},{"index_id":13,"token_group":9,"text":"Support","start_char":18,"line":2},{"index_id":14,"token_group":9,"text":".","start_char":25,"line":2},{"index_id":15,"token_group":10,"text":"get","start_char":26,"line":2},{"index_id":16,"token_group":11,"text":"Repository","start_char":29,"line":2},{"index_id":17,"token_group":11,"text":"Session","start_char":39,"line":2},{"index_id":18,"token_group":11,"text":"(","start_char":46,"line":2},{"index_id":19,"token_group":12,"text":")","start_char":47,"line":2},{"index_id":20,"token_group":13,"text":",","start_char":48,"line":2},{"index_id":21,"token_group":14,"text":"repo","start_char":50,"line":2},{"index_id":22,"token_group":15,"text":"System","start_char":54,"line":2},{"index_id":23,"token_group":15,"text":")","start_char":61,"line":2},{"index_id":24,"token_group":16,"text":";","start_char":62,"line":2},{"index_id":25,"token_group":17,"text":"}","start_char":0,"line":3}],"tokens_list":["{","return","legacy","Local","Repository","Manager",".","overlay","(","local","Repository",",","legacy","Support",".","get","Repository","Session","(",")",",","repo","System",")",";","}"],"uuid":"e9f80f24294f11f3b6b08ba158773bf6"},{"cap_original_tokens":["<SENTENCE_START>","{","final","<id>","array","List","<\/id>","<","<id>","test","Proxy","<\/id>",">","<id>","result","<\/id>","=","<id>","my","Cache","<\/id>",".","<id>","get","<\/id>","(","<id>","filter","<\/id>",")",";","if","(","<id>","result","<\/id>","!=","null",")","return","<id>","result","<\/id>",";","final","<id>","array","List","<\/id>","<","<id>","test","Proxy","<\/id>",">","<id>","selected","<\/id>","=","new","<id>","array","List","<\/id>","<","<id>","test","Proxy","<\/id>",">","(",")",";","for","(","final","<id>","test","Proxy","<\/id>","<id>","child","Test","<\/id>",":","<id>","my","List","<\/id>",")","{","if","(","<id>","filter","<\/id>",".","<id>","should","Accept","<\/id>","(","<id>","child","Test","<\/id>",")",")","<id>","selected","<\/id>",".","<id>","add","<\/id>","(","<id>","child","Test","<\/id>",")",";","}","<id>","selected","<\/id>",".","<id>","trim","To","Size","<\/id>","(",")",";","<id>","my","Cache","<\/id>",".","<id>","put","<\/id>","(","<id>","filter","<\/id>",",","<id>","selected","<\/id>",")",";","return","<id>","selected","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"FilterCache.java","formatted_lines":["{"," final ArrayList<TestProxy> result = myCache.get(filter);"," if (result != null) return result;"," final ArrayList<TestProxy> selected = new ArrayList<TestProxy>();"," for (final TestProxy childTest : myList)"," {"," if (filter.shouldAccept(childTest)) selected.add(childTest);"," }"," selected.trimToSize();"," myCache.put(filter, selected);"," return selected;","}"],"function_name":"selectImpl","function_name_tokens":["select","impl"],"id_body_hash":"8a924102530c93149da1695794925faa","id_same_identifier_list":[0,1,2,3,3,4,5,5,6,7,8,9,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,26,27,28,28,29,30,31,32,33,33,34,35,35,36,37,38,39,40,41,42,43,43,44,44,45,46,46,47,48,49,50,51,52,53,53,54,55,55,56,57,58,59,60,61,62,62,63,64,65,66,67,68,68,68,69,70,71,72,72,73,74,75,76,77,78,79,80,81,82,83,84,85],"option_correct":"selectImpl","options":["createImpl","teardownLoadingFilter","unRegisterListeners","selectImpl","impl","loadEntriesFile","doTestImpl"],"options_nlp":["create impl","teardown loading filter","un register listeners","select impl","impl","load entries file","do test impl"],"options_random":["loadEntriesFile","teardownLoadingFilter","unRegisterListeners"],"options_tfidf":["createImpl","impl","doTestImpl"],"project_name":"intellij-community","source_code_string":"private ArrayList<TestProxy> selectImpl(@NotNull final Filter filter) {\n final ArrayList<TestProxy> result = myCache.get(filter);\n if (result != null) return result;\n final ArrayList<TestProxy> selected = new ArrayList<TestProxy>();\n for (final TestProxy childTest : myList) {\n if (filter.shouldAccept(childTest)) selected.add(childTest);\n }\n selected.trimToSize();\n myCache.put(filter, selected);\n return selected;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"final","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"array","start_char":10,"line":1},{"index_id":3,"token_group":3,"text":"List","start_char":15,"line":1},{"index_id":4,"token_group":3,"text":"<","start_char":19,"line":1},{"index_id":5,"token_group":4,"text":"test","start_char":20,"line":1},{"index_id":6,"token_group":5,"text":"Proxy","start_char":24,"line":1},{"index_id":7,"token_group":5,"text":">","start_char":29,"line":1},{"index_id":8,"token_group":6,"text":"result","start_char":31,"line":1},{"index_id":9,"token_group":7,"text":"=","start_char":38,"line":1},{"index_id":10,"token_group":8,"text":"my","start_char":41,"line":1},{"index_id":11,"token_group":9,"text":"Cache","start_char":43,"line":1},{"index_id":12,"token_group":9,"text":".","start_char":48,"line":1},{"index_id":13,"token_group":10,"text":"get","start_char":49,"line":1},{"index_id":14,"token_group":11,"text":"(","start_char":52,"line":1},{"index_id":15,"token_group":12,"text":"filter","start_char":53,"line":1},{"index_id":16,"token_group":13,"text":")","start_char":59,"line":1},{"index_id":17,"token_group":14,"text":";","start_char":60,"line":1},{"index_id":18,"token_group":15,"text":"if","start_char":4,"line":2},{"index_id":19,"token_group":16,"text":"(","start_char":7,"line":2},{"index_id":20,"token_group":17,"text":"result","start_char":8,"line":2},{"index_id":21,"token_group":18,"text":"!=","start_char":15,"line":2},{"index_id":22,"token_group":19,"text":"null","start_char":18,"line":2},{"index_id":23,"token_group":20,"text":")","start_char":22,"line":2},{"index_id":24,"token_group":21,"text":"return","start_char":24,"line":2},{"index_id":25,"token_group":22,"text":"result","start_char":31,"line":2},{"index_id":26,"token_group":23,"text":";","start_char":37,"line":2},{"index_id":27,"token_group":24,"text":"final","start_char":4,"line":3},{"index_id":28,"token_group":25,"text":"array","start_char":10,"line":3},{"index_id":29,"token_group":26,"text":"List","start_char":15,"line":3},{"index_id":30,"token_group":26,"text":"<","start_char":19,"line":3},{"index_id":31,"token_group":27,"text":"test","start_char":20,"line":3},{"index_id":32,"token_group":28,"text":"Proxy","start_char":24,"line":3},{"index_id":33,"token_group":28,"text":">","start_char":29,"line":3},{"index_id":34,"token_group":29,"text":"selected","start_char":31,"line":3},{"index_id":35,"token_group":30,"text":"=","start_char":40,"line":3},{"index_id":36,"token_group":31,"text":"new","start_char":42,"line":3},{"index_id":37,"token_group":32,"text":"array","start_char":46,"line":3},{"index_id":38,"token_group":33,"text":"List","start_char":51,"line":3},{"index_id":39,"token_group":33,"text":"<","start_char":55,"line":3},{"index_id":40,"token_group":34,"text":"test","start_char":56,"line":3},{"index_id":41,"token_group":35,"text":"Proxy","start_char":60,"line":3},{"index_id":42,"token_group":35,"text":">","start_char":65,"line":3},{"index_id":43,"token_group":36,"text":"(","start_char":66,"line":3},{"index_id":44,"token_group":37,"text":")","start_char":67,"line":3},{"index_id":45,"token_group":38,"text":";","start_char":68,"line":3},{"index_id":46,"token_group":39,"text":"for","start_char":4,"line":4},{"index_id":47,"token_group":40,"text":"(","start_char":8,"line":4},{"index_id":48,"token_group":41,"text":"final","start_char":9,"line":4},{"index_id":49,"token_group":42,"text":"test","start_char":15,"line":4},{"index_id":50,"token_group":43,"text":"Proxy","start_char":19,"line":4},{"index_id":51,"token_group":43,"text":"child","start_char":25,"line":4},{"index_id":52,"token_group":44,"text":"Test","start_char":30,"line":4},{"index_id":53,"token_group":44,"text":":","start_char":35,"line":4},{"index_id":54,"token_group":45,"text":"my","start_char":37,"line":4},{"index_id":55,"token_group":46,"text":"List","start_char":39,"line":4},{"index_id":56,"token_group":46,"text":")","start_char":43,"line":4},{"index_id":57,"token_group":47,"text":"{","start_char":4,"line":5},{"index_id":58,"token_group":48,"text":"if","start_char":8,"line":6},{"index_id":59,"token_group":49,"text":"(","start_char":11,"line":6},{"index_id":60,"token_group":50,"text":"filter","start_char":12,"line":6},{"index_id":61,"token_group":51,"text":".","start_char":18,"line":6},{"index_id":62,"token_group":52,"text":"should","start_char":19,"line":6},{"index_id":63,"token_group":53,"text":"Accept","start_char":25,"line":6},{"index_id":64,"token_group":53,"text":"(","start_char":31,"line":6},{"index_id":65,"token_group":54,"text":"child","start_char":32,"line":6},{"index_id":66,"token_group":55,"text":"Test","start_char":37,"line":6},{"index_id":67,"token_group":55,"text":")","start_char":41,"line":6},{"index_id":68,"token_group":56,"text":")","start_char":42,"line":6},{"index_id":69,"token_group":57,"text":"selected","start_char":44,"line":6},{"index_id":70,"token_group":58,"text":".","start_char":52,"line":6},{"index_id":71,"token_group":59,"text":"add","start_char":53,"line":6},{"index_id":72,"token_group":60,"text":"(","start_char":56,"line":6},{"index_id":73,"token_group":61,"text":"child","start_char":57,"line":6},{"index_id":74,"token_group":62,"text":"Test","start_char":62,"line":6},{"index_id":75,"token_group":62,"text":")","start_char":66,"line":6},{"index_id":76,"token_group":63,"text":";","start_char":67,"line":6},{"index_id":77,"token_group":64,"text":"}","start_char":4,"line":7},{"index_id":78,"token_group":65,"text":"selected","start_char":4,"line":8},{"index_id":79,"token_group":66,"text":".","start_char":12,"line":8},{"index_id":80,"token_group":67,"text":"trim","start_char":13,"line":8},{"index_id":81,"token_group":68,"text":"To","start_char":17,"line":8},{"index_id":82,"token_group":68,"text":"Size","start_char":19,"line":8},{"index_id":83,"token_group":68,"text":"(","start_char":23,"line":8},{"index_id":84,"token_group":69,"text":")","start_char":24,"line":8},{"index_id":85,"token_group":70,"text":";","start_char":25,"line":8},{"index_id":86,"token_group":71,"text":"my","start_char":4,"line":9},{"index_id":87,"token_group":72,"text":"Cache","start_char":6,"line":9},{"index_id":88,"token_group":72,"text":".","start_char":11,"line":9},{"index_id":89,"token_group":73,"text":"put","start_char":12,"line":9},{"index_id":90,"token_group":74,"text":"(","start_char":15,"line":9},{"index_id":91,"token_group":75,"text":"filter","start_char":16,"line":9},{"index_id":92,"token_group":76,"text":",","start_char":22,"line":9},{"index_id":93,"token_group":77,"text":"selected","start_char":24,"line":9},{"index_id":94,"token_group":78,"text":")","start_char":32,"line":9},{"index_id":95,"token_group":79,"text":";","start_char":33,"line":9},{"index_id":96,"token_group":80,"text":"return","start_char":4,"line":10},{"index_id":97,"token_group":81,"text":"selected","start_char":11,"line":10},{"index_id":98,"token_group":82,"text":";","start_char":19,"line":10},{"index_id":99,"token_group":83,"text":"}","start_char":0,"line":11}],"tokens_list":["{","final","array","List","<","test","Proxy",">","result","=","my","Cache",".","get","(","filter",")",";","if","(","result","!=","null",")","return","result",";","final","array","List","<","test","Proxy",">","selected","=","new","array","List","<","test","Proxy",">","(",")",";","for","(","final","test","Proxy","child","Test",":","my","List",")","{","if","(","filter",".","should","Accept","(","child","Test",")",")","selected",".","add","(","child","Test",")",";","}","selected",".","trim","To","Size","(",")",";","my","Cache",".","put","(","filter",",","selected",")",";","return","selected",";","}"],"uuid":"efe4cf7f7780d4a8f2257e69791ff6a0"},{"cap_original_tokens":["<SENTENCE_START>","{","return","this",".","<id>","block","Size","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"TarBuffer.java","formatted_lines":["{"," return this.blockSize;","}"],"function_name":"getBlockSize","function_name_tokens":["get","block","size"],"id_body_hash":"87dba72a51f045e5aaf4fdff9b808dd2","id_same_identifier_list":[0,1,2,3,4,5,5,6,7,8],"option_correct":"getBlockSize","options":["processModTimeResponse","getYSize","getXSize","getLambda","getSize","replaceFunction","getBlockSize"],"options_nlp":["process mod time response","get y size","get x size","get lambda","get size","replace function","get block size"],"options_random":["processModTimeResponse","replaceFunction","getLambda"],"options_tfidf":["getXSize","getYSize","getSize"],"project_name":"intellij-community","source_code_string":"public int getBlockSize() {\n return this.blockSize;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"this","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":".","start_char":15,"line":1},{"index_id":4,"token_group":4,"text":"block","start_char":16,"line":1},{"index_id":5,"token_group":5,"text":"Size","start_char":21,"line":1},{"index_id":6,"token_group":5,"text":";","start_char":25,"line":1},{"index_id":7,"token_group":6,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","this",".","block","Size",";","}"],"uuid":"30f081ffb11d8616b44061f38b62dcd2"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","conf","<\/id>","=","new","<id>","configuration","<\/id>","(",")",";","<id>","conf","<\/id>",".","<id>","set","Boolean","<\/id>","(","<id>","dfs","Config","Keys","<\/id>",".","<id>","dfs","Namenode","Xattrs","Enabled","Key","<\/id>",",","true",")",";","<id>","cluster","<\/id>","=","new","<id>","mini","Dfs","Cluster","<\/id>",".","<id>","builder","<\/id>","(","<id>","conf","<\/id>",")",".","<id>","num","Data","Nodes","<\/id>","(","1",")",".","<id>","format","<\/id>","(","true",")",".","<id>","build","<\/id>","(",")",";","<id>","cluster","<\/id>",".","<id>","wait","Active","<\/id>","(",")",";","<id>","fs","<\/id>","=","<id>","cluster","<\/id>",".","<id>","get","File","System","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"TestDistCpWithRawXAttrs.java","formatted_lines":["{"," conf = new Configuration();"," conf.setBoolean(DFSConfigKeys.DFS_NAMENODE_XATTRS_ENABLED_KEY, true);"," cluster = new MiniDFSCluster.Builder(conf).numDataNodes(1).format(true)"," .build();"," cluster.waitActive();"," fs = cluster.getFileSystem();","}"],"function_name":"init","function_name_tokens":["init"],"id_body_hash":"3e736e952cd07d828798479038aa6798","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,11,12,13,13,13,14,15,15,15,15,15,16,17,18,19,20,21,22,23,23,23,24,25,26,27,28,29,30,30,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,54,54,55,56,57,58,59],"option_correct":"init","options":["init","testGzipCodecRead","failedInit","testNMShutdownForRegistrationFailure","initConfiguration","refreshNNList","initContainers"],"options_nlp":["init","test gzip codec read","failed init","test nm shutdown for registration failure","init configuration","refresh nn list","init containers"],"options_random":["testGzipCodecRead","refreshNNList","testNMShutdownForRegistrationFailure"],"options_tfidf":["failedInit","initConfiguration","initContainers"],"project_name":"hadoop-common","source_code_string":"@BeforeClass\n public static void init() throws Exception {\n conf = new Configuration();\n conf.setBoolean(DFSConfigKeys.DFS_NAMENODE_XATTRS_ENABLED_KEY, true);\n cluster = new MiniDFSCluster.Builder(conf).numDataNodes(1).format(true)\n .build();\n cluster.waitActive();\n fs = cluster.getFileSystem();\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"conf","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"=","start_char":9,"line":1},{"index_id":3,"token_group":3,"text":"new","start_char":11,"line":1},{"index_id":4,"token_group":4,"text":"configuration","start_char":15,"line":1},{"index_id":5,"token_group":5,"text":"(","start_char":28,"line":1},{"index_id":6,"token_group":6,"text":")","start_char":29,"line":1},{"index_id":7,"token_group":7,"text":";","start_char":30,"line":1},{"index_id":8,"token_group":8,"text":"conf","start_char":4,"line":2},{"index_id":9,"token_group":9,"text":".","start_char":8,"line":2},{"index_id":10,"token_group":10,"text":"set","start_char":9,"line":2},{"index_id":11,"token_group":11,"text":"Boolean","start_char":12,"line":2},{"index_id":12,"token_group":11,"text":"(","start_char":19,"line":2},{"index_id":13,"token_group":12,"text":"dfs","start_char":20,"line":2},{"index_id":14,"token_group":13,"text":"Config","start_char":23,"line":2},{"index_id":15,"token_group":13,"text":"Keys","start_char":29,"line":2},{"index_id":16,"token_group":13,"text":".","start_char":33,"line":2},{"index_id":17,"token_group":14,"text":"dfs","start_char":34,"line":2},{"index_id":18,"token_group":15,"text":"Namenode","start_char":38,"line":2},{"index_id":19,"token_group":15,"text":"Xattrs","start_char":47,"line":2},{"index_id":20,"token_group":15,"text":"Enabled","start_char":54,"line":2},{"index_id":21,"token_group":15,"text":"Key","start_char":62,"line":2},{"index_id":22,"token_group":15,"text":",","start_char":65,"line":2},{"index_id":23,"token_group":16,"text":"true","start_char":67,"line":2},{"index_id":24,"token_group":17,"text":")","start_char":71,"line":2},{"index_id":25,"token_group":18,"text":";","start_char":72,"line":2},{"index_id":26,"token_group":19,"text":"cluster","start_char":4,"line":3},{"index_id":27,"token_group":20,"text":"=","start_char":12,"line":3},{"index_id":28,"token_group":21,"text":"new","start_char":14,"line":3},{"index_id":29,"token_group":22,"text":"mini","start_char":18,"line":3},{"index_id":30,"token_group":23,"text":"Dfs","start_char":22,"line":3},{"index_id":31,"token_group":23,"text":"Cluster","start_char":25,"line":3},{"index_id":32,"token_group":23,"text":".","start_char":32,"line":3},{"index_id":33,"token_group":24,"text":"builder","start_char":33,"line":3},{"index_id":34,"token_group":25,"text":"(","start_char":40,"line":3},{"index_id":35,"token_group":26,"text":"conf","start_char":41,"line":3},{"index_id":36,"token_group":27,"text":")","start_char":45,"line":3},{"index_id":37,"token_group":28,"text":".","start_char":46,"line":3},{"index_id":38,"token_group":29,"text":"num","start_char":47,"line":3},{"index_id":39,"token_group":30,"text":"Data","start_char":50,"line":3},{"index_id":40,"token_group":30,"text":"Nodes","start_char":54,"line":3},{"index_id":41,"token_group":30,"text":"(","start_char":59,"line":3},{"index_id":42,"token_group":31,"text":"1","start_char":60,"line":3},{"index_id":43,"token_group":32,"text":")","start_char":61,"line":3},{"index_id":44,"token_group":33,"text":".","start_char":62,"line":3},{"index_id":45,"token_group":34,"text":"format","start_char":63,"line":3},{"index_id":46,"token_group":35,"text":"(","start_char":69,"line":3},{"index_id":47,"token_group":36,"text":"true","start_char":70,"line":3},{"index_id":48,"token_group":37,"text":")","start_char":74,"line":3},{"index_id":49,"token_group":38,"text":".","start_char":4,"line":4},{"index_id":50,"token_group":39,"text":"build","start_char":5,"line":4},{"index_id":51,"token_group":40,"text":"(","start_char":10,"line":4},{"index_id":52,"token_group":41,"text":")","start_char":11,"line":4},{"index_id":53,"token_group":42,"text":";","start_char":12,"line":4},{"index_id":54,"token_group":43,"text":"cluster","start_char":4,"line":5},{"index_id":55,"token_group":44,"text":".","start_char":11,"line":5},{"index_id":56,"token_group":45,"text":"wait","start_char":12,"line":5},{"index_id":57,"token_group":46,"text":"Active","start_char":16,"line":5},{"index_id":58,"token_group":46,"text":"(","start_char":22,"line":5},{"index_id":59,"token_group":47,"text":")","start_char":23,"line":5},{"index_id":60,"token_group":48,"text":";","start_char":24,"line":5},{"index_id":61,"token_group":49,"text":"fs","start_char":4,"line":6},{"index_id":62,"token_group":50,"text":"=","start_char":7,"line":6},{"index_id":63,"token_group":51,"text":"cluster","start_char":9,"line":6},{"index_id":64,"token_group":52,"text":".","start_char":16,"line":6},{"index_id":65,"token_group":53,"text":"get","start_char":17,"line":6},{"index_id":66,"token_group":54,"text":"File","start_char":20,"line":6},{"index_id":67,"token_group":54,"text":"System","start_char":24,"line":6},{"index_id":68,"token_group":54,"text":"(","start_char":30,"line":6},{"index_id":69,"token_group":55,"text":")","start_char":31,"line":6},{"index_id":70,"token_group":56,"text":";","start_char":32,"line":6},{"index_id":71,"token_group":57,"text":"}","start_char":0,"line":7}],"tokens_list":["{","conf","=","new","configuration","(",")",";","conf",".","set","Boolean","(","dfs","Config","Keys",".","dfs","Namenode","Xattrs","Enabled","Key",",","true",")",";","cluster","=","new","mini","Dfs","Cluster",".","builder","(","conf",")",".","num","Data","Nodes","(","1",")",".","format","(","true",")",".","build","(",")",";","cluster",".","wait","Active","(",")",";","fs","=","cluster",".","get","File","System","(",")",";","}"],"uuid":"4a907f0d8a5f7fcc10af383a449583a9"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","expando","Row","Local","Service","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"BookmarksFolderServiceBaseImpl.java","formatted_lines":["{"," return expandoRowLocalService;","}"],"function_name":"getExpandoRowLocalService","function_name_tokens":["get","expando","row","local","service"],"id_body_hash":"0ef8acc5124a84804ad5ef0bf69f7321","id_same_identifier_list":[0,1,2,3,3,3,3,4,5,6],"option_correct":"getExpandoRowLocalService","options":["getExpandoValueLocalService","isDefaultDatabase","setExpandoRowLocalService","getExpandoRowLocalService","getInlineLabel","setExpandoValueLocalService","setPasswordPolicyService"],"options_nlp":["get expando value local service","is default database","set expando row local service","get expando row local service","get inline label","set expando value local service","set password policy service"],"options_random":["isDefaultDatabase","getInlineLabel","setPasswordPolicyService"],"options_tfidf":["setExpandoRowLocalService","getExpandoValueLocalService","setExpandoValueLocalService"],"project_name":"liferay-portal","source_code_string":"public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {\n\t\treturn expandoRowLocalService;\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"expando","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Row","start_char":18,"line":1},{"index_id":4,"token_group":3,"text":"Local","start_char":21,"line":1},{"index_id":5,"token_group":3,"text":"Service","start_char":26,"line":1},{"index_id":6,"token_group":3,"text":";","start_char":33,"line":1},{"index_id":7,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","expando","Row","Local","Service",";","}"],"uuid":"75749e6a491ee5f8fbe106d0c82ea7f8"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","model","Node","<\/id>","<id>","read","Resource","<\/id>","=","new","<id>","model","Node","<\/id>","(",")",";","<id>","read","Resource","<\/id>",".","<id>","get","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","address","<\/id>",")",".","<id>","add","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","deployment","<\/id>",",","<id>","deployment","Name","<\/id>",")",";","<id>","read","Resource","<\/id>",".","<id>","get","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","op","<\/id>",")",".","<id>","set","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","read","Resource","Operation","<\/id>",")",";","<id>","read","Resource","<\/id>",".","<id>","get","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","include","Runtime","<\/id>",")",".","<id>","set","<\/id>","(","true",")",";","<id>","read","Resource","<\/id>",".","<id>","get","<\/id>","(","<id>","model","Description","Constants","<\/id>",".","<id>","recursive","<\/id>",")",".","<id>","set","<\/id>","(","true",")",";","<id>","model","Node","<\/id>","<id>","result","<\/id>","=","<id>","controller","Client","<\/id>",".","<id>","execute","<\/id>","(","<id>","read","Resource","<\/id>",")",";","<id>","assert","<\/id>",".","<id>","assert","True","<\/id>","(","\"Failed to list resources: \"","+","<id>","result","<\/id>",",","<id>","operations","<\/id>",".","<id>","is","Successful","Outcome","<\/id>","(","<id>","result","<\/id>",")",")",";","}","<SENTENCE_END\/>"],"file_name":"StatelessEJBRemoteHomeRuntimeNameTestCase.java","formatted_lines":["{",""," ModelNode readResource = new ModelNode();"," readResource.get(ModelDescriptionConstants.ADDRESS).add(ModelDescriptionConstants.DEPLOYMENT, DEPLOYMENT_NAME);"," readResource.get(ModelDescriptionConstants.OP).set(ModelDescriptionConstants.READ_RESOURCE_OPERATION);"," readResource.get(ModelDescriptionConstants.INCLUDE_RUNTIME).set(true);"," readResource.get(ModelDescriptionConstants.RECURSIVE).set(true);"," ModelNode result = controllerClient.execute(readResource);","",""," Assert.assertTrue(\"Failed to list resources: \" + result, Operations.isSuccessfulOutcome(result));","}"],"function_name":"testRecursive","function_name_tokens":["test","recursive"],"id_body_hash":"445b2fb1c85fdf0004200a8869de1f3a","id_same_identifier_list":[0,1,2,2,3,3,4,5,6,6,7,8,9,10,10,11,12,13,14,14,14,15,16,17,18,19,20,21,21,21,22,23,24,25,25,26,27,28,28,29,30,31,32,32,32,33,34,35,36,37,38,39,39,39,40,41,41,41,42,43,44,44,45,46,47,48,48,48,49,50,50,51,52,53,54,55,56,57,58,58,59,60,61,62,62,62,63,64,65,66,67,68,69,70,71,72,72,73,74,75,75,76,77,78,79,79,80,81,82,83,84,84,85,86,87,88,89,90,91,92,92,92,93,94,95,96,97,98,99],"option_correct":"testRecursive","options":["testRecursiveJARResourceRetrievalForSpecifiedRootDir","testRecursiveJARResourceRetrieval","testRecursive","checkTestPropertyInJSP","getNumber","testNonRecursiveJARResourceRetrieval","createTimer"],"options_nlp":["test recursive jar resource retrieval for specified root dir","test recursive jar resource retrieval","test recursive","check test property in jsp","get number","test non recursive jar resource retrieval","create timer"],"options_random":["checkTestPropertyInJSP","getNumber","createTimer"],"options_tfidf":["testNonRecursiveJARResourceRetrieval","testRecursiveJARResourceRetrieval","testRecursiveJARResourceRetrievalForSpecifiedRootDir"],"project_name":"wildfly","source_code_string":"@Test\n @InSequence(value = 4)\n public void testRecursive() throws Exception {\n\n ModelNode readResource = new ModelNode();\n readResource.get(ModelDescriptionConstants.ADDRESS).add(ModelDescriptionConstants.DEPLOYMENT, DEPLOYMENT_NAME);\n readResource.get(ModelDescriptionConstants.OP).set(ModelDescriptionConstants.READ_RESOURCE_OPERATION);\n readResource.get(ModelDescriptionConstants.INCLUDE_RUNTIME).set(true);\n readResource.get(ModelDescriptionConstants.RECURSIVE).set(true);\n ModelNode result = controllerClient.execute(readResource);\n\n \n Assert.assertTrue(\"Failed to list resources: \" + result, Operations.isSuccessfulOutcome(result));\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"model","start_char":4,"line":2},{"index_id":2,"token_group":2,"text":"Node","start_char":9,"line":2},{"index_id":3,"token_group":2,"text":"read","start_char":14,"line":2},{"index_id":4,"token_group":3,"text":"Resource","start_char":18,"line":2},{"index_id":5,"token_group":3,"text":"=","start_char":27,"line":2},{"index_id":6,"token_group":4,"text":"new","start_char":29,"line":2},{"index_id":7,"token_group":5,"text":"model","start_char":33,"line":2},{"index_id":8,"token_group":6,"text":"Node","start_char":38,"line":2},{"index_id":9,"token_group":6,"text":"(","start_char":42,"line":2},{"index_id":10,"token_group":7,"text":")","start_char":43,"line":2},{"index_id":11,"token_group":8,"text":";","start_char":44,"line":2},{"index_id":12,"token_group":9,"text":"read","start_char":4,"line":3},{"index_id":13,"token_group":10,"text":"Resource","start_char":8,"line":3},{"index_id":14,"token_group":10,"text":".","start_char":16,"line":3},{"index_id":15,"token_group":11,"text":"get","start_char":17,"line":3},{"index_id":16,"token_group":12,"text":"(","start_char":20,"line":3},{"index_id":17,"token_group":13,"text":"model","start_char":21,"line":3},{"index_id":18,"token_group":14,"text":"Description","start_char":26,"line":3},{"index_id":19,"token_group":14,"text":"Constants","start_char":37,"line":3},{"index_id":20,"token_group":14,"text":".","start_char":46,"line":3},{"index_id":21,"token_group":15,"text":"address","start_char":47,"line":3},{"index_id":22,"token_group":16,"text":")","start_char":54,"line":3},{"index_id":23,"token_group":17,"text":".","start_char":55,"line":3},{"index_id":24,"token_group":18,"text":"add","start_char":56,"line":3},{"index_id":25,"token_group":19,"text":"(","start_char":59,"line":3},{"index_id":26,"token_group":20,"text":"model","start_char":60,"line":3},{"index_id":27,"token_group":21,"text":"Description","start_char":65,"line":3},{"index_id":28,"token_group":21,"text":"Constants","start_char":76,"line":3},{"index_id":29,"token_group":21,"text":".","start_char":85,"line":3},{"index_id":30,"token_group":22,"text":"deployment","start_char":86,"line":3},{"index_id":31,"token_group":23,"text":",","start_char":96,"line":3},{"index_id":32,"token_group":24,"text":"deployment","start_char":98,"line":3},{"index_id":33,"token_group":25,"text":"Name","start_char":109,"line":3},{"index_id":34,"token_group":25,"text":")","start_char":113,"line":3},{"index_id":35,"token_group":26,"text":";","start_char":114,"line":3},{"index_id":36,"token_group":27,"text":"read","start_char":4,"line":4},{"index_id":37,"token_group":28,"text":"Resource","start_char":8,"line":4},{"index_id":38,"token_group":28,"text":".","start_char":16,"line":4},{"index_id":39,"token_group":29,"text":"get","start_char":17,"line":4},{"index_id":40,"token_group":30,"text":"(","start_char":20,"line":4},{"index_id":41,"token_group":31,"text":"model","start_char":21,"line":4},{"index_id":42,"token_group":32,"text":"Description","start_char":26,"line":4},{"index_id":43,"token_group":32,"text":"Constants","start_char":37,"line":4},{"index_id":44,"token_group":32,"text":".","start_char":46,"line":4},{"index_id":45,"token_group":33,"text":"op","start_char":47,"line":4},{"index_id":46,"token_group":34,"text":")","start_char":49,"line":4},{"index_id":47,"token_group":35,"text":".","start_char":50,"line":4},{"index_id":48,"token_group":36,"text":"set","start_char":51,"line":4},{"index_id":49,"token_group":37,"text":"(","start_char":54,"line":4},{"index_id":50,"token_group":38,"text":"model","start_char":55,"line":4},{"index_id":51,"token_group":39,"text":"Description","start_char":60,"line":4},{"index_id":52,"token_group":39,"text":"Constants","start_char":71,"line":4},{"index_id":53,"token_group":39,"text":".","start_char":80,"line":4},{"index_id":54,"token_group":40,"text":"read","start_char":81,"line":4},{"index_id":55,"token_group":41,"text":"Resource","start_char":86,"line":4},{"index_id":56,"token_group":41,"text":"Operation","start_char":95,"line":4},{"index_id":57,"token_group":41,"text":")","start_char":104,"line":4},{"index_id":58,"token_group":42,"text":";","start_char":105,"line":4},{"index_id":59,"token_group":43,"text":"read","start_char":4,"line":5},{"index_id":60,"token_group":44,"text":"Resource","start_char":8,"line":5},{"index_id":61,"token_group":44,"text":".","start_char":16,"line":5},{"index_id":62,"token_group":45,"text":"get","start_char":17,"line":5},{"index_id":63,"token_group":46,"text":"(","start_char":20,"line":5},{"index_id":64,"token_group":47,"text":"model","start_char":21,"line":5},{"index_id":65,"token_group":48,"text":"Description","start_char":26,"line":5},{"index_id":66,"token_group":48,"text":"Constants","start_char":37,"line":5},{"index_id":67,"token_group":48,"text":".","start_char":46,"line":5},{"index_id":68,"token_group":49,"text":"include","start_char":47,"line":5},{"index_id":69,"token_group":50,"text":"Runtime","start_char":55,"line":5},{"index_id":70,"token_group":50,"text":")","start_char":62,"line":5},{"index_id":71,"token_group":51,"text":".","start_char":63,"line":5},{"index_id":72,"token_group":52,"text":"set","start_char":64,"line":5},{"index_id":73,"token_group":53,"text":"(","start_char":67,"line":5},{"index_id":74,"token_group":54,"text":"true","start_char":68,"line":5},{"index_id":75,"token_group":55,"text":")","start_char":72,"line":5},{"index_id":76,"token_group":56,"text":";","start_char":73,"line":5},{"index_id":77,"token_group":57,"text":"read","start_char":4,"line":6},{"index_id":78,"token_group":58,"text":"Resource","start_char":8,"line":6},{"index_id":79,"token_group":58,"text":".","start_char":16,"line":6},{"index_id":80,"token_group":59,"text":"get","start_char":17,"line":6},{"index_id":81,"token_group":60,"text":"(","start_char":20,"line":6},{"index_id":82,"token_group":61,"text":"model","start_char":21,"line":6},{"index_id":83,"token_group":62,"text":"Description","start_char":26,"line":6},{"index_id":84,"token_group":62,"text":"Constants","start_char":37,"line":6},{"index_id":85,"token_group":62,"text":".","start_char":46,"line":6},{"index_id":86,"token_group":63,"text":"recursive","start_char":47,"line":6},{"index_id":87,"token_group":64,"text":")","start_char":56,"line":6},{"index_id":88,"token_group":65,"text":".","start_char":57,"line":6},{"index_id":89,"token_group":66,"text":"set","start_char":58,"line":6},{"index_id":90,"token_group":67,"text":"(","start_char":61,"line":6},{"index_id":91,"token_group":68,"text":"true","start_char":62,"line":6},{"index_id":92,"token_group":69,"text":")","start_char":66,"line":6},{"index_id":93,"token_group":70,"text":";","start_char":67,"line":6},{"index_id":94,"token_group":71,"text":"model","start_char":4,"line":7},{"index_id":95,"token_group":72,"text":"Node","start_char":9,"line":7},{"index_id":96,"token_group":72,"text":"result","start_char":14,"line":7},{"index_id":97,"token_group":73,"text":"=","start_char":21,"line":7},{"index_id":98,"token_group":74,"text":"controller","start_char":23,"line":7},{"index_id":99,"token_group":75,"text":"Client","start_char":33,"line":7},{"index_id":100,"token_group":75,"text":".","start_char":39,"line":7},{"index_id":101,"token_group":76,"text":"execute","start_char":40,"line":7},{"index_id":102,"token_group":77,"text":"(","start_char":47,"line":7},{"index_id":103,"token_group":78,"text":"read","start_char":48,"line":7},{"index_id":104,"token_group":79,"text":"Resource","start_char":52,"line":7},{"index_id":105,"token_group":79,"text":")","start_char":60,"line":7},{"index_id":106,"token_group":80,"text":";","start_char":61,"line":7},{"index_id":107,"token_group":81,"text":"assert","start_char":4,"line":10},{"index_id":108,"token_group":82,"text":".","start_char":10,"line":10},{"index_id":109,"token_group":83,"text":"assert","start_char":11,"line":10},{"index_id":110,"token_group":84,"text":"True","start_char":17,"line":10},{"index_id":111,"token_group":84,"text":"(","start_char":21,"line":10},{"index_id":112,"token_group":85,"text":"\"Failed to list resources: \"","start_char":22,"line":10},{"index_id":113,"token_group":86,"text":"+","start_char":51,"line":10},{"index_id":114,"token_group":87,"text":"result","start_char":53,"line":10},{"index_id":115,"token_group":88,"text":",","start_char":59,"line":10},{"index_id":116,"token_group":89,"text":"operations","start_char":61,"line":10},{"index_id":117,"token_group":90,"text":".","start_char":71,"line":10},{"index_id":118,"token_group":91,"text":"is","start_char":72,"line":10},{"index_id":119,"token_group":92,"text":"Successful","start_char":74,"line":10},{"index_id":120,"token_group":92,"text":"Outcome","start_char":84,"line":10},{"index_id":121,"token_group":92,"text":"(","start_char":91,"line":10},{"index_id":122,"token_group":93,"text":"result","start_char":92,"line":10},{"index_id":123,"token_group":94,"text":")","start_char":98,"line":10},{"index_id":124,"token_group":95,"text":")","start_char":99,"line":10},{"index_id":125,"token_group":96,"text":";","start_char":100,"line":10},{"index_id":126,"token_group":97,"text":"}","start_char":0,"line":11}],"tokens_list":["{","model","Node","read","Resource","=","new","model","Node","(",")",";","read","Resource",".","get","(","model","Description","Constants",".","address",")",".","add","(","model","Description","Constants",".","deployment",",","deployment","Name",")",";","read","Resource",".","get","(","model","Description","Constants",".","op",")",".","set","(","model","Description","Constants",".","read","Resource","Operation",")",";","read","Resource",".","get","(","model","Description","Constants",".","include","Runtime",")",".","set","(","true",")",";","read","Resource",".","get","(","model","Description","Constants",".","recursive",")",".","set","(","true",")",";","model","Node","result","=","controller","Client",".","execute","(","read","Resource",")",";","assert",".","assert","True","(","\"Failed to list resources: \"","+","result",",","operations",".","is","Successful","Outcome","(","result",")",")",";","}"],"uuid":"920a91b7249d8db45363aa3cb53bbc1f"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","portlet","Mode","Map","<\/id>",".","<id>","put","All","<\/id>","(","<id>","portlet","Mode","Map","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"PortletModeHandlerMapping.java","formatted_lines":["{"," this.portletModeMap.putAll(portletModeMap);","}"],"function_name":"setPortletModeMap","function_name_tokens":["set","portlet","mode","map"],"id_body_hash":"7b7e2bd9c22e5bfc8d9be3759248b240","id_same_identifier_list":[0,1,2,3,4,4,4,5,6,6,7,8,8,8,9,10,11,12],"option_correct":"setPortletModeMap","options":["setPortletMode","testExample1","nullSafeToStringWithLongArray","setMode","listElementAutogrowOutOfMemory","setPortletModeParameterMap","setPortletModeMap"],"options_nlp":["set portlet mode","test example 1","null safe to string with long array","set mode","list element autogrow out of memory","set portlet mode parameter map","set portlet mode map"],"options_random":["listElementAutogrowOutOfMemory","testExample1","nullSafeToStringWithLongArray"],"options_tfidf":["setMode","setPortletMode","setPortletModeParameterMap"],"project_name":"spring-framework","source_code_string":"public void setPortletModeMap(Map<String, ?> portletModeMap) {\n\t\tthis.portletModeMap.putAll(portletModeMap);\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":"portlet","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"Mode","start_char":16,"line":1},{"index_id":5,"token_group":4,"text":"Map","start_char":20,"line":1},{"index_id":6,"token_group":4,"text":".","start_char":23,"line":1},{"index_id":7,"token_group":5,"text":"put","start_char":24,"line":1},{"index_id":8,"token_group":6,"text":"All","start_char":27,"line":1},{"index_id":9,"token_group":6,"text":"(","start_char":30,"line":1},{"index_id":10,"token_group":7,"text":"portlet","start_char":31,"line":1},{"index_id":11,"token_group":8,"text":"Mode","start_char":38,"line":1},{"index_id":12,"token_group":8,"text":"Map","start_char":42,"line":1},{"index_id":13,"token_group":8,"text":")","start_char":45,"line":1},{"index_id":14,"token_group":9,"text":";","start_char":46,"line":1},{"index_id":15,"token_group":10,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","portlet","Mode","Map",".","put","All","(","portlet","Mode","Map",")",";","}"],"uuid":"5840378a7596ca387bb7ea2c697ed8c2"},{"cap_original_tokens":["<SENTENCE_START>","{","if","(","<id>","is","Disposed","<\/id>","(",")",")","return","null",";","<id>","abstract","Tree","Updater","<\/id>","<id>","updater","<\/id>","=","new","<id>","abstract","Tree","Updater","<\/id>","(","this",")",";","<id>","updater","<\/id>",".","<id>","set","Modality","State","Component","<\/id>","(","<id>","merging","Update","Queue","<\/id>",".","<id>","any","Component","<\/id>",")",";","return","<id>","updater","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"AbstractTreeBuilder.java","formatted_lines":["{"," if (isDisposed()) return null;",""," AbstractTreeUpdater updater = new AbstractTreeUpdater(this);"," updater.setModalityStateComponent(MergingUpdateQueue.ANY_COMPONENT);"," return updater;","}"],"function_name":"createUpdater","function_name_tokens":["create","updater"],"id_body_hash":"ef554772eef86219cf5f5e164f39e7c4","id_same_identifier_list":[0,1,2,3,4,4,5,6,7,8,9,10,11,11,11,12,13,14,15,15,15,16,17,18,19,20,21,22,22,22,22,23,24,24,24,25,26,26,27,28,29,30,31,32,33],"option_correct":"createUpdater","options":["testInheritedMethod","getFacetsProvider","createUpdater","isCreate","testFindUsagesInProject","create","_createUpdater"],"options_nlp":["test inherited method","get facets provider","create updater","is create","test find usages in project","create"," create updater"],"options_random":["testInheritedMethod","getFacetsProvider","testFindUsagesInProject"],"options_tfidf":["create","_createUpdater","isCreate"],"project_name":"intellij-community","source_code_string":"@Nullable\n protected AbstractTreeUpdater createUpdater() {\n if (isDisposed()) return null;\n\n AbstractTreeUpdater updater = new AbstractTreeUpdater(this);\n updater.setModalityStateComponent(MergingUpdateQueue.ANY_COMPONENT);\n return updater;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"if","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"(","start_char":7,"line":1},{"index_id":3,"token_group":3,"text":"is","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"Disposed","start_char":10,"line":1},{"index_id":5,"token_group":4,"text":"(","start_char":18,"line":1},{"index_id":6,"token_group":5,"text":")","start_char":19,"line":1},{"index_id":7,"token_group":6,"text":")","start_char":20,"line":1},{"index_id":8,"token_group":7,"text":"return","start_char":22,"line":1},{"index_id":9,"token_group":8,"text":"null","start_char":29,"line":1},{"index_id":10,"token_group":9,"text":";","start_char":33,"line":1},{"index_id":11,"token_group":10,"text":"abstract","start_char":4,"line":3},{"index_id":12,"token_group":11,"text":"Tree","start_char":12,"line":3},{"index_id":13,"token_group":11,"text":"Updater","start_char":16,"line":3},{"index_id":14,"token_group":11,"text":"updater","start_char":24,"line":3},{"index_id":15,"token_group":12,"text":"=","start_char":32,"line":3},{"index_id":16,"token_group":13,"text":"new","start_char":34,"line":3},{"index_id":17,"token_group":14,"text":"abstract","start_char":38,"line":3},{"index_id":18,"token_group":15,"text":"Tree","start_char":46,"line":3},{"index_id":19,"token_group":15,"text":"Updater","start_char":50,"line":3},{"index_id":20,"token_group":15,"text":"(","start_char":57,"line":3},{"index_id":21,"token_group":16,"text":"this","start_char":58,"line":3},{"index_id":22,"token_group":17,"text":")","start_char":62,"line":3},{"index_id":23,"token_group":18,"text":";","start_char":63,"line":3},{"index_id":24,"token_group":19,"text":"updater","start_char":4,"line":4},{"index_id":25,"token_group":20,"text":".","start_char":11,"line":4},{"index_id":26,"token_group":21,"text":"set","start_char":12,"line":4},{"index_id":27,"token_group":22,"text":"Modality","start_char":15,"line":4},{"index_id":28,"token_group":22,"text":"State","start_char":23,"line":4},{"index_id":29,"token_group":22,"text":"Component","start_char":28,"line":4},{"index_id":30,"token_group":22,"text":"(","start_char":37,"line":4},{"index_id":31,"token_group":23,"text":"merging","start_char":38,"line":4},{"index_id":32,"token_group":24,"text":"Update","start_char":45,"line":4},{"index_id":33,"token_group":24,"text":"Queue","start_char":51,"line":4},{"index_id":34,"token_group":24,"text":".","start_char":56,"line":4},{"index_id":35,"token_group":25,"text":"any","start_char":57,"line":4},{"index_id":36,"token_group":26,"text":"Component","start_char":61,"line":4},{"index_id":37,"token_group":26,"text":")","start_char":70,"line":4},{"index_id":38,"token_group":27,"text":";","start_char":71,"line":4},{"index_id":39,"token_group":28,"text":"return","start_char":4,"line":5},{"index_id":40,"token_group":29,"text":"updater","start_char":11,"line":5},{"index_id":41,"token_group":30,"text":";","start_char":18,"line":5},{"index_id":42,"token_group":31,"text":"}","start_char":0,"line":6}],"tokens_list":["{","if","(","is","Disposed","(",")",")","return","null",";","abstract","Tree","Updater","updater","=","new","abstract","Tree","Updater","(","this",")",";","updater",".","set","Modality","State","Component","(","merging","Update","Queue",".","any","Component",")",";","return","updater",";","}"],"uuid":"8c25fd9d31b3580db370ca22709c6ce7"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","my","External","System","Id","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"ImportSpec.java","formatted_lines":["{"," return myExternalSystemId;","}"],"function_name":"getExternalSystemId","function_name_tokens":["get","external","system","id"],"id_body_hash":"94b67bc82ccf2c75aae859a00a478879","id_same_identifier_list":[0,1,2,3,3,3,3,4,5,6],"option_correct":"getExternalSystemId","options":["getExternalSystemTaskId","sendData","createSettingsButton","getExternalSystemId","getSystemId","getExternalProjectId","processIntention"],"options_nlp":["get external system task id","send data","create settings button","get external system id","get system id","get external project id","process intention"],"options_random":["createSettingsButton","sendData","processIntention"],"options_tfidf":["getExternalProjectId","getSystemId","getExternalSystemTaskId"],"project_name":"intellij-community","source_code_string":"@NotNull\n public ProjectSystemId getExternalSystemId() {\n return myExternalSystemId;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"my","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"External","start_char":13,"line":1},{"index_id":4,"token_group":3,"text":"System","start_char":21,"line":1},{"index_id":5,"token_group":3,"text":"Id","start_char":27,"line":1},{"index_id":6,"token_group":3,"text":";","start_char":29,"line":1},{"index_id":7,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","my","External","System","Id",";","}"],"uuid":"638f41a72685b37b8844749832b89d46"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","current","<\/id>","=","<id>","fs","<\/id>",".","<id>","make","Qualified","<\/id>","(","<id>","current","<\/id>",")",";","if","(","!","<id>","check","Public","Perms","For","All","<\/id>","(","<id>","fs","<\/id>",",","<id>","s","Stat","<\/id>",",","<id>","fs","Action","<\/id>",".","<id>","read","Execute","<\/id>",",","<id>","fs","Action","<\/id>",".","<id>","read","<\/id>",")",")","{","return","false",";","}","if","(","<id>","shell","<\/id>",".","<id>","windows","<\/id>","&&","<id>","fs","<\/id>","Instanceof","<id>","local","File","System","<\/id>",")","{","return","true",";","}","return","<id>","ancestors","Have","Execute","Permissions","<\/id>","(","<id>","fs","<\/id>",",","<id>","current","<\/id>",".","<id>","get","Parent","<\/id>","(",")",",","<id>","stat","Cache","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"FSDownload.java","formatted_lines":["{"," current = fs.makeQualified(current);",""," if (!checkPublicPermsForAll(fs, sStat, FsAction.READ_EXECUTE, FsAction.READ))"," {"," return false;"," }",""," if (Shell.WINDOWS && fs instanceof LocalFileSystem)"," {","","","","","",""," return true;"," }"," return ancestorsHaveExecutePermissions(fs, current.getParent(), statCache);","}"],"function_name":"isPublic","function_name_tokens":["is","public"],"id_body_hash":"d3208427260331374e4f74336ec3b850","id_same_identifier_list":[0,1,2,3,4,5,6,6,7,8,9,10,11,12,13,14,14,14,14,14,15,16,17,18,18,19,20,20,21,22,22,23,24,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,42,42,43,44,45,46,47,48,49,50,50,50,50,51,52,53,54,55,56,56,57,58,59,60,60,61,62,63,64],"option_correct":"isPublic","options":["primePublicContainer","testDownloadPublicWithStatCache","checkState","pipeline_Fi_02","isDir","isPublic","saveLegacyOIVImage"],"options_nlp":["prime public container","test download public with stat cache","check state","pipeline fi 02","is dir","is public","save legacy oiv image"],"options_random":["pipeline_Fi_02","saveLegacyOIVImage","checkState"],"options_tfidf":["isDir","testDownloadPublicWithStatCache","primePublicContainer"],"project_name":"hadoop-common","source_code_string":"@VisibleForTesting\n static boolean isPublic(FileSystem fs, Path current, FileStatus sStat,\n LoadingCache<Path,Future<FileStatus>> statCache) throws IOException {\n current = fs.makeQualified(current);\n \n if (!checkPublicPermsForAll(fs, sStat, FsAction.READ_EXECUTE, FsAction.READ)) {\n return false;\n }\n\n if (Shell.WINDOWS && fs instanceof LocalFileSystem) {\n \n \n \n \n \n \n return true;\n }\n return ancestorsHaveExecutePermissions(fs, current.getParent(), statCache);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"current","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"=","start_char":12,"line":1},{"index_id":3,"token_group":3,"text":"fs","start_char":14,"line":1},{"index_id":4,"token_group":4,"text":".","start_char":16,"line":1},{"index_id":5,"token_group":5,"text":"make","start_char":17,"line":1},{"index_id":6,"token_group":6,"text":"Qualified","start_char":21,"line":1},{"index_id":7,"token_group":6,"text":"(","start_char":30,"line":1},{"index_id":8,"token_group":7,"text":"current","start_char":31,"line":1},{"index_id":9,"token_group":8,"text":")","start_char":38,"line":1},{"index_id":10,"token_group":9,"text":";","start_char":39,"line":1},{"index_id":11,"token_group":10,"text":"if","start_char":4,"line":3},{"index_id":12,"token_group":11,"text":"(","start_char":7,"line":3},{"index_id":13,"token_group":12,"text":"!","start_char":8,"line":3},{"index_id":14,"token_group":13,"text":"check","start_char":9,"line":3},{"index_id":15,"token_group":14,"text":"Public","start_char":14,"line":3},{"index_id":16,"token_group":14,"text":"Perms","start_char":20,"line":3},{"index_id":17,"token_group":14,"text":"For","start_char":25,"line":3},{"index_id":18,"token_group":14,"text":"All","start_char":28,"line":3},{"index_id":19,"token_group":14,"text":"(","start_char":31,"line":3},{"index_id":20,"token_group":15,"text":"fs","start_char":32,"line":3},{"index_id":21,"token_group":16,"text":",","start_char":34,"line":3},{"index_id":22,"token_group":17,"text":"s","start_char":36,"line":3},{"index_id":23,"token_group":18,"text":"Stat","start_char":37,"line":3},{"index_id":24,"token_group":18,"text":",","start_char":41,"line":3},{"index_id":25,"token_group":19,"text":"fs","start_char":43,"line":3},{"index_id":26,"token_group":20,"text":"Action","start_char":45,"line":3},{"index_id":27,"token_group":20,"text":".","start_char":51,"line":3},{"index_id":28,"token_group":21,"text":"read","start_char":52,"line":3},{"index_id":29,"token_group":22,"text":"Execute","start_char":57,"line":3},{"index_id":30,"token_group":22,"text":",","start_char":64,"line":3},{"index_id":31,"token_group":23,"text":"fs","start_char":66,"line":3},{"index_id":32,"token_group":24,"text":"Action","start_char":68,"line":3},{"index_id":33,"token_group":24,"text":".","start_char":74,"line":3},{"index_id":34,"token_group":25,"text":"read","start_char":75,"line":3},{"index_id":35,"token_group":26,"text":")","start_char":79,"line":3},{"index_id":36,"token_group":27,"text":")","start_char":80,"line":3},{"index_id":37,"token_group":28,"text":"{","start_char":4,"line":4},{"index_id":38,"token_group":29,"text":"return","start_char":8,"line":5},{"index_id":39,"token_group":30,"text":"false","start_char":15,"line":5},{"index_id":40,"token_group":31,"text":";","start_char":20,"line":5},{"index_id":41,"token_group":32,"text":"}","start_char":4,"line":6},{"index_id":42,"token_group":33,"text":"if","start_char":4,"line":8},{"index_id":43,"token_group":34,"text":"(","start_char":7,"line":8},{"index_id":44,"token_group":35,"text":"shell","start_char":8,"line":8},{"index_id":45,"token_group":36,"text":".","start_char":13,"line":8},{"index_id":46,"token_group":37,"text":"windows","start_char":14,"line":8},{"index_id":47,"token_group":38,"text":"&&","start_char":22,"line":8},{"index_id":48,"token_group":39,"text":"fs","start_char":25,"line":8},{"index_id":49,"token_group":40,"text":"Instanceof","start_char":28,"line":8},{"index_id":50,"token_group":41,"text":"local","start_char":39,"line":8},{"index_id":51,"token_group":42,"text":"File","start_char":44,"line":8},{"index_id":52,"token_group":42,"text":"System","start_char":48,"line":8},{"index_id":53,"token_group":42,"text":")","start_char":54,"line":8},{"index_id":54,"token_group":43,"text":"{","start_char":4,"line":9},{"index_id":55,"token_group":44,"text":"return","start_char":8,"line":16},{"index_id":56,"token_group":45,"text":"true","start_char":15,"line":16},{"index_id":57,"token_group":46,"text":";","start_char":19,"line":16},{"index_id":58,"token_group":47,"text":"}","start_char":4,"line":17},{"index_id":59,"token_group":48,"text":"return","start_char":4,"line":18},{"index_id":60,"token_group":49,"text":"ancestors","start_char":11,"line":18},{"index_id":61,"token_group":50,"text":"Have","start_char":20,"line":18},{"index_id":62,"token_group":50,"text":"Execute","start_char":24,"line":18},{"index_id":63,"token_group":50,"text":"Permissions","start_char":31,"line":18},{"index_id":64,"token_group":50,"text":"(","start_char":42,"line":18},{"index_id":65,"token_group":51,"text":"fs","start_char":43,"line":18},{"index_id":66,"token_group":52,"text":",","start_char":45,"line":18},{"index_id":67,"token_group":53,"text":"current","start_char":47,"line":18},{"index_id":68,"token_group":54,"text":".","start_char":54,"line":18},{"index_id":69,"token_group":55,"text":"get","start_char":55,"line":18},{"index_id":70,"token_group":56,"text":"Parent","start_char":58,"line":18},{"index_id":71,"token_group":56,"text":"(","start_char":64,"line":18},{"index_id":72,"token_group":57,"text":")","start_char":65,"line":18},{"index_id":73,"token_group":58,"text":",","start_char":66,"line":18},{"index_id":74,"token_group":59,"text":"stat","start_char":68,"line":18},{"index_id":75,"token_group":60,"text":"Cache","start_char":72,"line":18},{"index_id":76,"token_group":60,"text":")","start_char":77,"line":18},{"index_id":77,"token_group":61,"text":";","start_char":78,"line":18},{"index_id":78,"token_group":62,"text":"}","start_char":0,"line":19}],"tokens_list":["{","current","=","fs",".","make","Qualified","(","current",")",";","if","(","!","check","Public","Perms","For","All","(","fs",",","s","Stat",",","fs","Action",".","read","Execute",",","fs","Action",".","read",")",")","{","return","false",";","}","if","(","shell",".","windows","&&","fs","Instanceof","local","File","System",")","{","return","true",";","}","return","ancestors","Have","Execute","Permissions","(","fs",",","current",".","get","Parent","(",")",",","stat","Cache",")",";","}"],"uuid":"9d87ae0d147ead7a095267f39ec6b1d0"}]