WALA/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa
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
..
analysis Fix assorted Javadoc typos, such as omitted "}" 2017-03-22 20:40:52 -05:00
AbstractReflectiveGet.java Fix broken type, field, and method references in Javadoc comments 2017-03-22 20:40:51 -05:00
AbstractReflectivePut.java Fix broken type, field, and method references in Javadoc comments 2017-03-22 20:40:51 -05:00
AbstractSSAConversion.java Fix nearly all Eclipse warnings about using raw types 2017-07-12 10:39:06 -07:00
AssignInstruction.java Merge branch 'wala' into master 2013-07-02 14:23:24 +02:00
AstAbstractInstructionVisitor.java merge 2013-06-25 11:57:37 -04:00
AstAssertInstruction.java Merge branch 'wala' into master 2013-07-02 14:23:24 +02:00
AstEchoInstruction.java Merge branch 'wala' into master 2013-07-02 14:23:24 +02:00
AstGlobalRead.java Merge branch 'wala' into master 2013-07-02 14:23:24 +02:00
AstGlobalWrite.java Merge branch 'wala' into master 2013-07-02 14:23:24 +02:00
AstIRFactory.java Fix nearly all Eclipse warnings about using raw types 2017-07-12 10:39:06 -07:00
AstInstructionFactory.java fixes for for ... in ... form in JavaScript 2015-07-24 22:44:10 -04:00
AstInstructionVisitor.java refactor handling of constants in Shrike to abstract away from Java bytecode 2009-04-10 18:33:07 +00:00
AstIsDefinedInstruction.java Merge branch 'wala' into master 2013-07-02 14:23:24 +02:00
AstLexicalAccess.java Merge branch 'wala' into master 2014-05-20 17:59:16 +02:00
AstLexicalRead.java Merge branch 'wala' into master 2014-05-20 17:59:16 +02:00
AstLexicalWrite.java Merge branch 'wala' into master 2014-05-20 17:59:16 +02:00
AstPreInstructionVisitor.java Initial contribution of core script analysis code 2007-02-02 17:17:13 +00:00
CAstBinaryOp.java cross-cutting changes to make more of WALA runnable with TeaVM. The biggest change is refactoring to AnalysisCache and friends; since TeaVM does not support SoftReference, I needed to add a layer of interfaces so that I can use a more simpleminded caching implementation for TeaVM. There are other changes to Module and friends to break connections with File and URL, which also cause TeaVM grief. I also organized imports in many places to remove unused types that caused trouble. 2017-02-02 20:33:27 -05:00
CAstUnaryOp.java cross-cutting changes to make more of WALA runnable with TeaVM. The biggest change is refactoring to AnalysisCache and friends; since TeaVM does not support SoftReference, I needed to add a layer of interfaces so that I can use a more simpleminded caching implementation for TeaVM. There are other changes to Module and friends to break connections with File and URL, which also cause TeaVM grief. I also organized imports in many places to remove unused types that caused trouble. 2017-02-02 20:33:27 -05:00
EachElementGetInstruction.java fixes for for ... in ... form in JavaScript 2015-07-24 22:44:10 -04:00
EachElementHasNextInstruction.java fixes for for ... in ... form in JavaScript 2015-07-24 22:44:10 -04:00
FixedParametersInvokeInstruction.java Merge branch 'wala' into master 2014-07-28 17:09:02 +02:00
MultiReturnValueInvokeInstruction.java Merge branch 'wala' into master 2014-05-20 17:59:16 +02:00
SSAConversion.java Fix nearly all Eclipse warnings about using raw types 2017-07-12 10:39:06 -07:00