WALA/com.ibm.wala.core.testdata/src/annotations
Ben Liblit e316471d88 Fix nearly all Eclipse warnings about using raw types
Along the way, I also converted many "for (;;)" loops into modern
"for (:)" loops.  I didn't systematically look for all opportunities
to do this, though.  I merely made this change where I was already
converting raw Iterator uses into modern Iterator<...> uses.

Better use of generics also allowed many casts to become statically
redundant.  I have removed all such redundant casts.

Only three raw-types warnings remain after this batch of fixes.  All
three involve raw uses of CallGraphBuilder.  I've tried to fix these
too, but it quickly snowballs into a cascade of changes that may or
may not eventually reach a statically-type-save fixed point.  I may
give these last few problem areas another go in the future.  For now,
though, the hundreds of other fixes seem worth keeping even if there
are a few stragglers.

This commit may change some public APIs, but only by making weaker
type signatures stronger by replacing raw types with generic types.
For example, we may change something like "Set" into "Set<String>",
but we're not adding new arguments, changing any
underlying (post-generics-erasure) types, etc.
2017-07-12 10:39:06 -07:00
..
AnnotatedClass1.java add missing copyright headers 2013-05-22 15:39:19 -07:00
AnnotatedClass2.java add missing copyright headers 2013-05-22 15:39:19 -07:00
AnnotatedClass3.java Revamped support for reading Java annotation information from .class files. 2012-01-11 17:11:59 +00:00
AnnotatedClass4.java read runtime-visible annotations for fields 2013-04-08 13:50:26 -07:00
AnnotationEnum.java Revamped support for reading Java annotation information from .class files. 2012-01-11 17:11:59 +00:00
AnnotationWithParams.java Fix nearly all Eclipse warnings about using raw types 2017-07-12 10:39:06 -07:00
AnnotationWithSingleParam.java Revamped support for reading Java annotation information from .class files. 2012-01-11 17:11:59 +00:00
DefaultVisableAnnotation.java add missing copyright headers 2013-05-22 15:39:19 -07:00
ParameterAnnotations1.java support for reading method parameter annotations from Java bytecodes 2013-06-28 11:44:47 -04:00
RuntimeInvisableAnnotation.java add missing copyright headers 2013-05-22 15:39:19 -07:00
RuntimeInvisableAnnotation2.java add missing copyright headers 2013-05-22 15:39:19 -07:00
RuntimeInvisableAnnotationForMethod.java add missing copyright headers 2013-05-22 15:39:19 -07:00
RuntimeVisableAnnotation.java add missing copyright headers 2013-05-22 15:39:19 -07:00
RuntimeVisableAnnotation2.java add missing copyright headers 2013-05-22 15:39:19 -07:00
RuntimeVisableAnnotationForMethod.java add missing copyright headers 2013-05-22 15:39:19 -07:00
TypeAnnotatedClass1.java Tests for the new JSR 308 type annotations implementation. 2016-12-05 18:52:38 +01:00
TypeAnnotatedClass2.java Suppress/disable some Eclipse unnecessary-code warnings in test code 2017-03-28 19:25:08 -05:00
TypeAnnotationTypeUse.java Tests for the new JSR 308 type annotations implementation. 2016-12-05 18:52:38 +01:00