mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
highlight usages tests -> community
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class Usage extends<caret> Base{
|
||||
void foo() {
|
||||
}
|
||||
}
|
||||
class Base {
|
||||
void foo(){}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
class Usage <caret>implements Base{
|
||||
void foo() {
|
||||
}
|
||||
}
|
||||
interface Base {
|
||||
void foo();
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
class Usage <caret>implements Base, Other{
|
||||
public void foo() {
|
||||
}
|
||||
public void other() {}
|
||||
}
|
||||
interface Base {
|
||||
void foo();
|
||||
}
|
||||
interface Other {
|
||||
void other();
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
class Usage <caret>extends Base{
|
||||
void foo3() {
|
||||
}
|
||||
}
|
||||
class Base {
|
||||
void foo() {}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class Calculator {
|
||||
public void printError(String detail, int line, String file) <caret>throws Exception {
|
||||
throw new Exception();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class Calculator {
|
||||
public void printError(Object detail, int line, String file) <caret>throws Exception {
|
||||
throw (Exception)detail;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class Calculator {
|
||||
public void printError(Exception detail, int line, String file) <caret>throws Exception {
|
||||
throw detail;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Usage {
|
||||
void foo() {
|
||||
foo();
|
||||
<caret>foo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user