Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
daemonCodeAnalyzer
/
genericsHighlighting8
/
CaptureWildcardsInTypeCasts.java
blob: 9bd704bd12f8fffdb94a0d553ec2b785c44d0ccc [
file
] [
log
] [
blame
]
import
java
.
util
.
Collection
;
class
Foo
{
private
void
test
()
{
Object
x
=
null
;
((
java
.
util
.
Collection
<?>)
x
).
add
<
error descr
=
"'add(capture<?>)' in 'java.util.Collection' cannot be applied to '(java.lang.String)'"
>(
""
)</
error
>;
}
}