Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
dataFlow
/
fixture
/
AnnotationMethodNotNull.java
blob: d911a9430a23d0a94e941d28e0a73b2a5945cb82 [
file
]
class
Test
{
@interface
FooBar
{
String
x
();
}
static
void
baz
(
FooBar
annotation
)
{
if
(<
warning descr
=
"Condition 'annotation.x() == null' is always 'false'"
>
annotation
.
x
()
==
null
</
warning
>)
{
System
.
out
.
println
(
"null"
);
}
}
}