Ben Liblit
d14d40ee3f
Tweak output dirs to match what Buildship puts into ".classpath"
2018-04-17 15:02:35 -05:00
Ben Liblit
efd3a6ab18
Let Buildship create new settings files when importing
...
These settings files currently are generated with an initial timestamp
comment line, which is not something we'd want to track in version
control. Fortunately, the contents of these files are entirely
mundane, so there should be no problem with having Buildship generate
them anew each time a developer imports WALA into Eclipse as an
existing Gradle project.
2018-04-17 15:02:35 -05:00
Ben Liblit
da27efec97
Have Buildship add Eclipse plugin (PDE) nature to some subprojects
...
Specifically, we need this for subprojects that build included plugins
for any of the "*_feature" subprojects.
2018-04-17 15:02:35 -05:00
Ben Liblit
be11083cd8
Exclude Eclipse ".project" and ".classpath" from version control
...
Apparently Buildship generates these when one uses Import -> Existing
Gradle Project:
<https://discuss.gradle.org/t/buildship-eclipse-plug-in-multiproject-builds/24030/5 >.
We can use the Gradle "eclipse" plugin if customizations are
necessary, but my impression is that the intent is to treat ".project"
and ".classpath" as generated files, not sources to be tracked in
source control.
2018-04-17 15:02:35 -05:00
Ben Liblit
2bc0768242
Simplify loading of plugins shared by many subprojects
2018-04-17 15:02:35 -05:00
Ben Liblit
db348b4ddd
Clean up some simple syntactic redundancy in dependency declarations
2018-04-17 15:02:35 -05:00
Ben Liblit
651f40c170
Replace source directories rather than appending to them
...
I was confused about the differences among:
srcDir 'foo'
srcDirs ['foo']
srcDirs = ['foo']
As it turns out, the first two append to the set of source
directories, while the last replaces this set entirely. I generally
want replacement, since WALA's current directory layout never matches
Gradle's assumed defaults.
2018-04-17 15:02:35 -05:00
Ben Liblit
695cd2863c
Properly distinguish main from test code, now that I know how
2018-04-17 15:02:35 -05:00
Ben Liblit
401fbaf89a
Many improvements to Gradle build support, including within Eclipse
2018-04-17 15:02:35 -05:00
Sungho Lee
e7154b9ac7
change hamcrest library version of core.tests
2018-04-17 15:00:03 -05:00
Sungho Lee
6dceb3d8ef
Change build.gradle files for proper format and delete all tests
2018-04-17 15:00:03 -05:00
Sungho Lee
04923544f0
Gradle build scripts
2018-04-17 15:00:03 -05:00
Ben Liblit
6546d5d6a4
Resolve the last two Eclipse warnings about using raw types
...
Fixes bug #244 .
2018-04-13 12:53:33 -05:00
Julian Dolby
41d254d547
more type parameters for analysis engine
2018-04-10 16:00:44 -04:00
Julian Dolby
6c1d0d9cb6
more work for reuse
...
make synthetic code better support non-Java languages
2018-02-14 09:00:07 -05:00
Julian Dolby
c8cdaf8616
further refactoring to enable more reuse
...
eliminate all non-jva 8 compilation
2018-02-05 15:18:37 -08:00
Manu Sridharan
76faa4df2d
Fix bug with method lookup ( #276 )
...
The previous lookup logic would erroneously look in superclasses for a constructor with parameters.
Bug reported on [the mailing list](https://groups.google.com/forum/#!msg/wala-sourceforge-net/6m_VmDF-lZ0/erZIYQ68BwAJ;context-place=topic/wala-sourceforge-net/TjRzdDyljjY )
2017-12-23 16:38:26 -08:00
Ben Liblit
0d6d9f2b2e
Remove useless "@return" tags with no descriptive text
2017-12-19 16:53:56 -06:00
Ben Liblit
f60c164ec1
Escape "<" and ">" in Javadoc when not used as HTML tag syntax
2017-12-19 16:53:52 -06:00
Julian Dolby
d29e278291
more instrumentation fixes
...
remove junk from dominators
2017-12-08 11:19:41 +08:00
Ben Liblit
0286c2b048
Use Iterator2Iterable helper to convert more loops to for-each
2017-12-04 14:04:39 -08:00
Julian Dolby
b68ff20c82
Merge pull request #269 from liblit/modernization-java-8-lambdas-and-method-references
...
Use Java 8 lambdas and method references wherever possible
2017-12-03 09:54:09 +08:00
Julian Dolby
803243ea53
Merge branch 'master' of https://github.com/wala/WALA
2017-12-01 20:02:00 +08:00
Julian Dolby
7cd2a2acf8
Fixes for instrumentation of invoke dynamic
2017-12-01 20:01:16 +08:00
Ben Liblit
9c83e87cc1
Merge branch 'master' into modernization-java-8-lambdas-and-method-references
2017-11-29 10:51:33 -06:00
Ben Liblit
ebfd885d22
Use modern for-each loops where possible
...
Java sources used as test data have been excluded from this mass
clean-up.
2017-11-28 14:44:53 -06:00
Ben Liblit
74e0640771
Replace simple lambdas with method references wherever possible
2017-11-27 11:31:15 -06:00
Ben Liblit
790d37781b
Convert many single-method anonymous classes to lambdas
...
Eclipse's automated code clean-up tool did most of the heavy lifting
here: it specifically has a clean-up option for converting functional
interfaces to lambdas. I merely had to revert the automated changes
for a single enumeration class for which it produced invalid results,
and for a few test inputs that apparently aren't set up to be compiled
with Java 8.
2017-11-27 11:31:15 -06:00
Ben Liblit
9ef6ff1a9c
Remove "build.xml" files not used by corresponding "pom.xml" files
2017-11-26 18:11:56 -06:00
Manu Sridharan
808688b793
use lambda shorthand
2017-11-12 10:08:57 -08:00
Julian Dolby
8d65788aef
convert to Java 8 Function and Predicate
2017-11-11 20:29:04 -05:00
Ben Liblit
5b6e6aefa0
Remove some unnecessary warning suppression annotations
2017-08-28 11:55:56 -07:00
Ben Liblit
559c577093
Treat diagnostics about unchecked type operations as errors
2017-08-28 11:55:56 -07:00
Julian Dolby
b6af5267f1
java 8 changes
...
minor fixes, such as making CheckForFrontEndErrors more accessible
minor hacks to make stuff compile with TeaVM
2017-08-25 10:58:00 -04:00
Julian Dolby
6a17898b71
Merge branch 'master' of https://github.com/wala/WALA
2017-08-17 20:06:38 -04:00
Raffi Khatchadourian
72053efd26
Return Java 8 default methods from getAllMethods()
...
Fixes #219
Fixes #220
2017-08-17 14:45:49 -07:00
Julian Dolby
e599d58cd7
Merge branch 'master' of https://github.com/wala/WALA
2017-08-16 14:50:12 -04:00
Julian Dolby
3371e23de0
java 8 stuff
2017-08-16 14:50:01 -04:00
Ben Liblit
b70d69d62f
Treat many Eclipse plugin-related problems as errors
...
These are all problems that Eclipse can detect, but that it detects no
instances of right now. Treating these as warnings instead of errors
should help prevent us from slipping backward in the future.
2017-08-16 11:36:46 -07:00
Julian Dolby
4a33c527d2
Merge branch 'master' of https://github.com/wala/WALA
2017-08-15 18:01:41 -04:00
Ben Liblit
d73b11fd8f
Escalate switch-related diagnostics from warnings to errors
...
We have fixed all of these that Eclipse reports. Treating them as
errors in the future should help us keep moving in the direction of
cleaner code.
2017-08-15 14:55:34 -07:00
Julian Dolby
a92b881c22
Merge branch 'master' of https://github.com/wala/WALA
2017-08-15 12:39:27 -04:00
Julian Dolby
6431cbeb60
java 8
2017-08-15 12:39:19 -04:00
Ben Liblit
ba84b5a403
Fix warning about unchecked cast to generic by being less specific
...
Casting to `Foo<Bar>` results in an unchecked-cast warning due to Java
generics type erasure. However, sometimes we don't really need a
`Foo<Bar>`, but could simply use any `Foo<?>`. Casting to the latter
creates no warning.
2017-08-15 09:16:59 -07:00
Julian Dolby
15f54f0248
Merge branch 'master' of https://github.com/wala/WALA
2017-08-06 10:30:32 -04:00
Manu Sridharan
e8bdf2f8f9
version 1.4.4-SNAPSHOT
2017-08-06 07:25:20 -07:00
Julian Dolby
69929b4985
Merge branch 'master' of https://github.com/wala/WALA
2017-08-06 08:06:02 -04:00
Manu Sridharan
d901b13425
version 1.4.3
2017-08-05 20:52:32 -07:00
Julian Dolby
b9b498bd17
Merge branch 'master' of https://github.com/wala/WALA
2017-08-05 21:10:28 -04:00
Julian Dolby
eaba8d59b7
Merge branch 'master' of https://github.com/wala/WALA
2017-08-05 21:09:34 -04:00