WALA/com.ibm.wala.core/src/com/ibm/wala/cfg
Ben Liblit 6087b73cee Fix or suppress all 242 Eclipse warnings about unused parameters
In general, my approach was to try to eliminate each unused parameter
using Eclipse's "Change Method Signature" refactoring.  That did not
always succeed: a parameter may be unused in some base class method,
but then be used in subclass's override of that method.  In cases
where refactoring to eliminate a parameter failed, I instead annotated
the parameter with '@SuppressWarnings("unused")' to silence the
warning.

Note: this group of changes creates a significant risk of
incompatibility for third-party WALA code.  Some removed parameters
change externally-visible APIs.  Furthermore, these changes do not
necessarily lead to Java compilation errors.  For example, suppose
third-party code subclasses a WALA class or interface, overrides a
method, but does not annotate that method as @Override.  Removing a
parameter means that the third-party method no longer overrides.  This
can quietly change code behavior without compile-time errors or
warnings.  This is exactly why one should use @Override wherever
possible, but we cannot guarantee that third-party WALA users have
done that.
2017-07-31 15:29:00 -07:00
..
cdg Fix or suppress all 242 Eclipse warnings about unused parameters 2017-07-31 15:29:00 -07:00
exc Fix or suppress all 242 Eclipse warnings about unused parameters 2017-07-31 15:29:00 -07:00
AbstractCFG.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
BytecodeCFG.java new test to remind me that prototype no longer works with correlation tracking: 2014-10-15 16:01:38 +09:00
CFGSanitizer.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
ControlFlowGraph.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
IBasicBlock.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
InducedCFG.java Fix Eclipse warnings about methods that can be declared static 2017-07-14 22:38:38 -07:00
MinimalCFG.java refactor CFG to separate instructions from CFGs; this is to allow code like CDGs to be reused without an IR. 2016-09-26 13:37:51 -04:00
ShrikeCFG.java If we see a call to an unknown method, conservatively add edges to all catch handlers 2016-12-09 16:46:01 +01:00
Util.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
package.html more conversion to Unix line endings 2012-09-04 15:59:50 -07:00