mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
moving tests from codeInsight-tests to community
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
public class K {
|
||||
@A("unused")
|
||||
void kkkk(){}
|
||||
}
|
||||
@interface A {
|
||||
String[] value();
|
||||
}
|
||||
class KImpl extends K {}
|
||||
|
||||
abstract class InspectionToolWrapper<T extends K> {
|
||||
T myTool;
|
||||
|
||||
protected InspectionToolWrapper(T tool) {
|
||||
myTool = tool;
|
||||
}
|
||||
|
||||
public T getTool() {
|
||||
return myTool;
|
||||
}
|
||||
}
|
||||
|
||||
class CommonInspectionToolWrapper extends InspectionToolWrapper<KImpl>{
|
||||
protected CommonInspectionToolWrapper(KImpl tool) {
|
||||
super(tool);
|
||||
}
|
||||
|
||||
@A("unused")
|
||||
public void kkkk() {
|
||||
myTool.kkkk();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user