mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 01:09:46 +07:00
external annotations tests moved to community
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<root>
|
||||
<item name='p.TestDeannotation java.lang.String get()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='p.TestDeannotation1 java.lang.String get(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,10 @@
|
||||
<root>
|
||||
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='suppressed.SecondSuppression void second()'>
|
||||
<annotation name='java.lang.SuppressWarnings'>
|
||||
<val val="{DoesntMatterWhat}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,13 @@
|
||||
<root>
|
||||
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
<annotation name='java.lang.SuppressWarnings'>
|
||||
<val val=""SillyAssignment""/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='suppressed.SecondSuppression void second()'>
|
||||
<annotation name='java.lang.SuppressWarnings'>
|
||||
<val val="{DoesntMatterWhat}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,15 @@
|
||||
<root>
|
||||
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='suppressed.SecondSuppression void second()'>
|
||||
<annotation name='java.lang.SuppressWarnings'>
|
||||
<val val="{DoesntMatterWhat}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='suppressed.NewSuppress void barr()'>
|
||||
<annotation name='java.lang.SuppressWarnings'>
|
||||
<val val=""SillyAssignment""/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,10 @@
|
||||
<root>
|
||||
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='suppressed.SecondSuppression void second()'>
|
||||
<annotation name='java.lang.SuppressWarnings'>
|
||||
<val val="{DoesntMatterWhat, "SillyAssignment"}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,6 @@
|
||||
package p;
|
||||
class Test {
|
||||
String g<caret>et() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package p;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class Test {
|
||||
|
||||
@NotNull
|
||||
String g<caret>et() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package p;
|
||||
|
||||
public class TestDeannotation {
|
||||
|
||||
String g<caret>et() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package p;
|
||||
|
||||
public class TestDeannotation1 {
|
||||
|
||||
String get(String s<caret>s) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package p;
|
||||
class Test {
|
||||
boolean g<caret>et() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package suppressed;
|
||||
class ExistingExternalName {
|
||||
String foo(){
|
||||
String str = "";
|
||||
s<caret>tr = str;
|
||||
return str;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package suppressed;
|
||||
class NewSuppress {
|
||||
void barr() {
|
||||
String str = "";
|
||||
st<caret>r = str;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package suppressed;
|
||||
class SecondSuppression {
|
||||
void second() {
|
||||
String str = "";
|
||||
st<caret>r = str;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user