mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
652 lines
12 KiB
JSON
652 lines
12 KiB
JSON
{
|
|
"path": "example.java",
|
|
"checksum": "59052a35eb0d95d50373552a9901e5908a7fa5820ee2551fcc2e48f750ced52f",
|
|
"sessionsCount": 13,
|
|
"actions": [
|
|
{
|
|
"begin": 0,
|
|
"end": 149,
|
|
"completable": false,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"offset": 0,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 0,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "p",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "p",
|
|
"expectedText": "public",
|
|
"nodeProperties": {
|
|
"tokenType": "KEYWORD",
|
|
"location": "LIBRARY",
|
|
"features": [],
|
|
"additional": {
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 0,
|
|
"end": 1,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "public",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": " ",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 7,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "c",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "c",
|
|
"expectedText": "class",
|
|
"nodeProperties": {
|
|
"tokenType": "KEYWORD",
|
|
"location": "LIBRARY",
|
|
"features": [],
|
|
"additional": {
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 7,
|
|
"end": 8,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "class",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 12,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": " Example {\n ",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"text": "}",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 27,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "p",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "p",
|
|
"expectedText": "public",
|
|
"nodeProperties": {
|
|
"tokenType": "KEYWORD",
|
|
"location": "LIBRARY",
|
|
"features": [],
|
|
"additional": {
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 27,
|
|
"end": 28,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "public",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 33,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": " ",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 34,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "s",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "s",
|
|
"expectedText": "static",
|
|
"nodeProperties": {
|
|
"tokenType": "KEYWORD",
|
|
"location": "LIBRARY",
|
|
"features": [],
|
|
"additional": {
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 34,
|
|
"end": 35,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "static",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 40,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": " ",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 41,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "v",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "v",
|
|
"expectedText": "void",
|
|
"nodeProperties": {
|
|
"tokenType": "KEYWORD",
|
|
"location": "LIBRARY",
|
|
"features": [],
|
|
"additional": {
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 41,
|
|
"end": 42,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "void",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 45,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": " main(",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"text": ")",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 51,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "S",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "S",
|
|
"expectedText": "String",
|
|
"nodeProperties": {
|
|
"tokenType": "TYPE_REFERENCE",
|
|
"location": "LIBRARY",
|
|
"features": [],
|
|
"additional": {
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 51,
|
|
"end": 52,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "String",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"begin": 57,
|
|
"end": 58,
|
|
"completable": false,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"offset": 57,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "[] args) {\n ",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"text": "}",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 76,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "t",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "t",
|
|
"expectedText": "test",
|
|
"nodeProperties": {
|
|
"tokenType": "METHOD_CALL",
|
|
"location": "PROJECT",
|
|
"features": [],
|
|
"additional": {
|
|
"isStatic": "true",
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 76,
|
|
"end": 77,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "test",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 80,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "(",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"text": ")",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 81,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "a",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "a",
|
|
"expectedText": "args",
|
|
"nodeProperties": {
|
|
"tokenType": "VARIABLE",
|
|
"location": "PROJECT",
|
|
"features": [],
|
|
"additional": {
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 81,
|
|
"end": 82,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "args",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 85,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": ".",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 86,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "l",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "l",
|
|
"expectedText": "length",
|
|
"nodeProperties": {
|
|
"tokenType": "FIELD",
|
|
"location": "LIBRARY",
|
|
"features": [],
|
|
"additional": {
|
|
"isStatic": "false",
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 86,
|
|
"end": 87,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "length",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"begin": 92,
|
|
"end": 94,
|
|
"completable": false,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"offset": 92,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": ");\n }\n ",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 105,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "p",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "p",
|
|
"expectedText": "private",
|
|
"nodeProperties": {
|
|
"tokenType": "KEYWORD",
|
|
"location": "LIBRARY",
|
|
"features": [],
|
|
"additional": {
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 105,
|
|
"end": 106,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "private",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 112,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": " ",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 113,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "s",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "s",
|
|
"expectedText": "static",
|
|
"nodeProperties": {
|
|
"tokenType": "KEYWORD",
|
|
"location": "LIBRARY",
|
|
"features": [],
|
|
"additional": {
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 113,
|
|
"end": 114,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "static",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 119,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": " ",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 120,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "v",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "v",
|
|
"expectedText": "void",
|
|
"nodeProperties": {
|
|
"tokenType": "KEYWORD",
|
|
"location": "LIBRARY",
|
|
"features": [],
|
|
"additional": {
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 120,
|
|
"end": 121,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "void",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 124,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": " test(",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"text": ")",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"offset": 130,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": "O",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"prefix": "O",
|
|
"expectedText": "Object",
|
|
"nodeProperties": {
|
|
"tokenType": "TYPE_REFERENCE",
|
|
"location": "LIBRARY",
|
|
"features": [],
|
|
"additional": {
|
|
"lang": "Jvm"
|
|
}
|
|
},
|
|
"type": "CALL_COMPLETION"
|
|
},
|
|
{
|
|
"type": "FINISH_SESSION"
|
|
},
|
|
{
|
|
"begin": 130,
|
|
"end": 131,
|
|
"completable": true,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"text": "Object",
|
|
"completable": true,
|
|
"type": "PRINT_TEXT"
|
|
},
|
|
{
|
|
"begin": 136,
|
|
"end": 138,
|
|
"completable": false,
|
|
"type": "DELETE_RANGE"
|
|
},
|
|
{
|
|
"offset": 136,
|
|
"type": "MOVE_CARET"
|
|
},
|
|
{
|
|
"text": " a) {\n }\n}",
|
|
"completable": false,
|
|
"type": "PRINT_TEXT"
|
|
}
|
|
]
|
|
} |