WALA/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph
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
..
correlations Declare private methods static wherever possible 2017-06-07 08:29:23 -07:00
ArgumentSpecialization.java Fix nearly all Eclipse warnings about using raw types 2017-07-12 10:39:06 -07:00
JSAnalysisOptions.java remove precise lexical config options; we want this to just be on 2013-06-07 09:48:00 -07:00
JSCFABuilder.java Fix nearly all Eclipse warnings about using raw types 2017-07-12 10:39:06 -07:00
JSCallGraph.java Merge branch 'master' of github.com:wala/WALA 2017-03-11 20:21:51 -06:00
JSCallGraphUtil.java Fix nearly all Eclipse warnings about using raw types 2017-07-12 10:39:06 -07:00
JSSSAPropagationCallGraphBuilder.java Fix nearly all Eclipse warnings about using raw types 2017-07-12 10:39:06 -07:00
JSSyntheticParameterKey.java merge 2013-06-25 11:57:37 -04:00
JSZeroOrOneXCFABuilder.java Prune constructor and method signatures after removing unused fields 2017-03-25 17:40:22 -05:00
JavaScriptConstructTargetSelector.java split constructor logic out of target selector, so that it can be reused 2014-05-28 13:35:11 -04:00
JavaScriptConstructorContextSelector.java split constructor logic out of target selector, so that it can be reused 2014-05-28 13:35:11 -04:00
JavaScriptConstructorInstanceKeys.java more support for Java 7: 2014-08-07 16:02:48 -04:00
JavaScriptEntryPoints.java Strip execute bits from many non-executable (i.e., non-script) files 2017-02-23 06:10:08 -06:00
JavaScriptFunctionApplyContextInterpreter.java Declare private methods static wherever possible 2017-06-07 08:29:23 -07:00
JavaScriptFunctionApplyContextSelector.java Fix 21 Eclipse warnings about unnecessary warning suppressions 2017-03-23 12:28:14 -05:00
JavaScriptFunctionApplyTargetSelector.java Declare private methods static wherever possible 2017-06-07 08:29:23 -07:00
JavaScriptFunctionDotCallTargetSelector.java Access static fields directly via the classes that declare them 2017-06-07 08:29:23 -07:00
JavaScriptScopeMappingInstanceKeys.java merge 2013-06-25 11:57:37 -04:00
LoadFileTargetSelector.java Fix nearly all Eclipse warnings about using raw types 2017-07-12 10:39:06 -07:00
ObjectSensitivityContextSelector.java Merge branch 'master' of github.com:wala/WALA 2017-03-11 20:21:51 -06:00
PropertyNameContextSelector.java Suppress a few Eclipse warnings about unchecked casts 2017-03-15 11:24:45 -05:00
RecursionBoundContextSelector.java split constructor logic out of target selector, so that it can be reused 2014-05-28 13:35:11 -04:00
RecursionCheckContextSelector.java Declare private methods static wherever possible 2017-06-07 08:29:23 -07:00
TransitivePrototypeKey.java merge 2013-06-25 11:57:37 -04:00