Commit Graph

27 Commits

Author SHA1 Message Date
Ben Liblit 594525a83f Fix Eclipse warnings about methods that can be declared static
The fix is to add "static" where appropriate, of course.  I've also
simplified calls to such methods to reflect the fact that they no
longer need a specific object to call the method on.

In projects that contain test inputs, I've left the non-static
declarations unchanged, and instead downgraded the warning to be
ignored.  In all other projects, this warning has been upgraded to an
error.
2017-07-14 22:38:38 -07:00
Ben Liblit 9159ea7636 Remove unnecessary `klass` argument and propagate back to callers (#174) 2017-05-03 16:25:00 -07:00
Ben Liblit fde65340d2 Fix 132 Eclipse warnings about using raw generic types 2017-03-15 11:08:20 -05:00
Michael Heilmann 0bb5e6998e Remove redundant casts and imports, improve doc comments 2014-06-26 17:51:26 +02:00
Manu Sridharan 256cd06460 Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
msridhar1 ee3c8f3847 Thread a progress monitor through parts of pointer analysis constraint generation, so we can cancel if it's taking too long
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4193 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-06-30 18:59:29 +00:00
msridhar1 857e456806 organize imports
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4081 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-03 04:08:05 +00:00
dolby-oss 00871016cb adapt to checkcast change
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3817 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-28 19:33:34 +00:00
sjfink fad698bcb6 refactor to use Predicate in place of Filter
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3706 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-26 13:37:23 +00:00
sjfink a0efbee8ff Major refactoring to introduce com.ibm.wala.ide. Many related changes and patches from Marcelo Paternostro.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3693 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-22 15:06:12 +00:00
sjfink 8d636def47 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3672 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:22:26 +00:00
msridhar1 e08ed2663f Deprecate Iterator2Collection.toCollection(); use toSet() or toList() instead.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3421 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-09 15:24:42 +00:00
msridhar1 57a26b5914 allow for some limited number of passes of flow-to-cast analysis
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3213 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-05 19:32:08 +00:00
msridhar1 b0db1e6628 introduce more preferences for reflection handling during call graph building
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3212 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-04 19:04:44 +00:00
msridhar1 eb78ecdb8e added ability to disable reflection handling in call graph building; formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3031 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-09-09 17:29:51 +00:00
sjfink d77357fd5a bug fixes for reflection processing of arrays
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2639 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-29 22:14:56 +00:00
sjfink 84d0253841 new logic to interpret Class.newInstance() on a class constant, such as generated by forName(String constant).
Thanks Marco.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2575 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-13 18:49:56 +00:00
sjfink 16acba0d63 slicer cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2407 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-17 10:15:49 +00:00
sjfink e40736143d tweak debugging code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2347 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-10 21:34:13 +00:00
sjfink c069db572e delete obsolete EngineTimings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2028 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 18:22:07 +00:00
sjfink 2a1213789b add CancelException to interact with Eclipse progress monitors and thread it through some APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2006 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-13 16:19:15 +00:00
sjfink 059761fb70 use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1438 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:08:12 +00:00
sjfink 5eb76541f0 massive overhaul of Warnings management
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1382 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 22:08:13 +00:00
sjfink 6421783e52 introduce factory for Iterator2Collection
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1308 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-21 16:14:00 +00:00
dolby-oss 0ed8d96d55 Changes to allow cross-language call graphs. The three biggest changes are as follows:
1) The visitors nested in the SSAPropagationCallGraph have become static classes so that they can be reused in a delegation pattern for the cross-language call graph builder.
2) The ClassHierarchy is now encapsulated behind an IClassHierarchy interface to allow for a CrossLanguageClassHierarchy that delegates to a set of child hierarchies, one for each language.  The internals of the ClassHierarchy are almost entirely unchanged
3) There is now a new Language interface in com.ibm.wala.classLoader, and all IClassLoader objects have to know what language they load for.  This language object now encapsulates a few language-specific options that were previously hacked into the AnalysisOptions object.


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1212 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 03:26:18 +00:00
sjfink e955c1e657 Graph API change: Graph is now an Iterable of Nodes!
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@867 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-21 21:07:30 +00:00
sjfink df97f42b7e attempt to introduce tags and trunk
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@490 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2006-11-22 17:38:46 +00:00