Commit Graph

37 Commits

Author SHA1 Message Date
Ben Liblit 5b6e6aefa0 Remove some unnecessary warning suppression annotations 2017-08-28 11:55:56 -07:00
Ben Liblit 72c754e874 Declare private methods static wherever possible
If a method is private, there's no risk that a subclass elsewhere
might be overriding it and depending on dynamic dispatch to choose the
right implementation.  So all of these private methods can safely be
declared static without risk of regression in either WALA code or
unseen third-party code.
2017-06-07 08:29:23 -07:00
Ben Liblit 3b88836488 Fix broken type, field, and method references in Javadoc comments 2017-03-22 20:40:51 -05:00
Julian Dolby d24519e974 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
Julian Dolby c9b1006305 changes for allowing seq. and conc. CHAs 2017-01-12 16:34:54 -05:00
Michael Heilmann 0bb5e6998e Remove redundant casts and imports, improve doc comments 2014-06-26 17:51:26 +02:00
Michael Heilmann efdd337dee add and enable GetMethod context, interpreter and selector and associated unit tests 2014-05-20 13:12:06 +02:00
Michael Heilmann 63ed63e7fa add test for GetMethod context, interpreter and selector 2014-05-20 13:08:32 +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
dolby-oss 7a6af352b9 moved IR-independent visualization of graphs to util project
added DFS path find that finds all paths in sequence rather than just one
moved the WalaException out of warnings subpackage

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4257 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-08-16 16:51:11 +00:00
msridhar1 deddf6ecbe make the condition checked by a couple of tests more specific, to avoid issues with different Java library versions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4230 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-07-22 21:29:57 +00:00
msridhar1 24d28210e8 more caching of class hierarchies
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3750 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-28 02:26:03 +00:00
msridhar1 02e7bf2894 switch to jUnit 4
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3739 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-27 20:38:48 +00:00
sjfink 4a80ac1984 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3726 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-13 18:01:00 +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
pistoia 2197b8237a Added support for additional reflective methods
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2746 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-04 19:45:56 +00:00
sjfink bf8e4d8b58 more reflection tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2726 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-21 14:58:58 +00:00
sjfink f9f139b776 reflection patches from Marco
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2642 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-02 01:40:11 +00:00
sjfink 77f8af276a implement getMethods()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2628 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-26 15:24:42 +00:00
sjfink 52938ed6d8 support Method.invoke
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2624 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-26 04:51:32 +00:00
sjfink 140204230d refactoring to generalize some reflection processing
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2620 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-26 03:42:18 +00:00
sjfink 203a25a0de support getConstructors()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2602 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-22 01:44:39 +00:00
sjfink 6fd7472393 support for Constructor.newInstance()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2599 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-21 18:43:04 +00:00
sjfink d3996520dc 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@2573 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-13 18:48:07 +00:00
sjfink 5b97508de0 change call graph test checking
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2553 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-08 02:09:47 +00:00
sjfink 04dff2d7af bug fixes and new tests for new Class.forName processing.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2545 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-05 21:21:59 +00:00
sjfink bfbe4fdd2f clean up and refactor some APIs surrounding file I/O and exclusions files. Needed in order to allow clients to use some APIs with application-specific exclusions.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2248 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-02 22:27:45 +00:00
dolby-oss 1d62ddf160 remove EMF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2162 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-12 20:47:35 +00:00
sjfink 5c175e7898 more EMF obliteration
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2037 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 19:41:32 +00:00
sjfink d32ca89d7d delete EMF junk
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2031 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 18:44:27 +00:00
sjfink 0e041c99f2 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@2004 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-13 16:19:01 +00:00
sjfink 7826d12a77 more aggressive exclusions in order to run quickly against Java 6.0 libraries
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1859 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-11 16:05:17 +00:00
sjfink c0aab9e7ed decouple IR caching from AnalysisOptions with a new AnalysisCache object
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1516 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-20 15:19:57 +00:00
sjfink 10492c7298 massive overhaul of Warnings management
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1379 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 22:07:24 +00:00
sjfink 4f86c8500d delete Entrypoints interface.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1126 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-15 17:44:54 +00:00
sjfink 1d7cd97400 change acceptance to accomodate 1.5 library warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@576 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-15 18:30:33 +00:00
sjfink 68270cad6f mv stuff to trunk
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@492 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2006-11-22 17:45:24 +00:00