WALA/com.ibm.wala.core.testdata/src/demandpa
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
..
A.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
ArraySet.java merge 2013-06-25 11:57:37 -04:00
B.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
DemandPATestUtil.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
DummyHashMap.java merge 2013-06-25 11:57:37 -04:00
DummyHashSet.java make demand pointer analysis tests less dependent on standard library implementation 2011-07-25 18:10:31 +00:00
DummyLinkedList.java merge 2013-06-25 11:57:37 -04:00
FlowsToTestArraySetIter.java rename TestUtil to more-specific DemandPATestUtil 2012-02-17 20:18:54 +00:00
FlowsToTestFields.java rename TestUtil to more-specific DemandPATestUtil 2012-02-17 20:18:54 +00:00
FlowsToTestFieldsHarder.java rename TestUtil to more-specific DemandPATestUtil 2012-02-17 20:18:54 +00:00
FlowsToTestHashSet.java rename TestUtil to more-specific DemandPATestUtil 2012-02-17 20:18:54 +00:00
FlowsToTestId.java rename TestUtil to more-specific DemandPATestUtil 2012-02-17 20:18:54 +00:00
FlowsToTestLocals.java rename TestUtil to more-specific DemandPATestUtil 2012-02-17 20:18:54 +00:00
FlowsToType.java added ability to compute "flows-to sets" on demand; initial check-in, needs more testing 2009-11-18 21:22:33 +00:00
Iter.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestArrayList.java Fix nearly all Eclipse warnings about using raw types 2017-07-12 10:39:06 -07:00
TestArraySet.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestArraySetIter.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestArrays.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestArraysCopyOf.java fix for handling of static methods in ContainerContextSelector 2013-05-14 14:17:26 -07:00
TestClone.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestCond.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestException.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestFactory.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestFields.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestFieldsHarder.java scandriod merge 2014-10-01 21:32:36 -04:00
TestGetterSetter.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestGlobal.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestHashMapGet.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestHashSet.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestHashtableEnum.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestId.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestLinkedList.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestLinkedListIter.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestLocals.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestMethodRecursion.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
TestMultiDim.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestNastyPtrs.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestOnTheFlyCS.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestOnTheFlySimple.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestWithinMethodCall.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00