mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
test++
This commit is contained in:
@@ -0,0 +1 @@
|
||||
class A<TA>{}
|
||||
@@ -0,0 +1 @@
|
||||
class C<TC> extends A<TC>{}
|
||||
@@ -0,0 +1 @@
|
||||
class A<TA>{}
|
||||
@@ -0,0 +1,5 @@
|
||||
class B<caret><TB> extends A<TB>{
|
||||
public B() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
class C<TC> extends B<TC>{}
|
||||
@@ -0,0 +1,4 @@
|
||||
class Sub extends Super {
|
||||
public Sub() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class Super {
|
||||
public <caret>Super() {
|
||||
} //Safe Delete should not allow this to be deleted without first changing class Sub's constructors to use Super(String)
|
||||
|
||||
public Super(String name) {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
class Sub extends Super {
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class Super {
|
||||
public <caret>Super() {
|
||||
} //Safe Delete should not allow this to be deleted without first changing class Sub's constructors to use Super(String)
|
||||
|
||||
public Super(String name) {
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public class Bar implements IFoo, IBar {
|
||||
public String getText() {
|
||||
return "hello";
|
||||
}
|
||||
|
||||
public IBar getIBar() {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public interface IBar {
|
||||
String getText();
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public interface IFoo {
|
||||
IBar getIBar();
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public class Bar implements IFoo, IBar {
|
||||
public String getText() {
|
||||
return "hello";
|
||||
}
|
||||
|
||||
public IBar getIBar() {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public interface IBar {
|
||||
String getText();
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public interface IFoo {
|
||||
String <caret>getText();
|
||||
IBar getIBar();
|
||||
}
|
||||
Reference in New Issue
Block a user