moving tests from codeInsight-tests to community

This commit is contained in:
Dmitry Jemerov
2015-02-11 15:07:16 +01:00
parent 9dee6e8ff3
commit c25243f74d
78 changed files with 1449 additions and 0 deletions

View File

@@ -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();
}
}