aboutsummaryrefslogtreecommitdiffstats
path: root/ajde.core/src
Commit message (Collapse)AuthorAgeFilesLines
* Reduce 'Object' class usageAndrey Turbanov2022-04-151-2/+2
|
* Replace uses of StringBuffer with StringBuilder.Andrey Turbanov2021-11-203-3/+3
| | | | StringBuffer is a legacy synchronized class. StringBuilder is a direct replacement to StringBuffer which generally have better performance.
* Upgrade license from CPLv1/EPLv1 to EPLv2Alexander Kriegisch2021-06-0430-242/+242
| | | | | | | This was required by the Eclipse team as one precondition for the next release. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Fix 'ajdoc' tests for Java 15 buildAlexander Kriegisch2021-03-141-8/+8
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Fix incorrect HTML entities in javadoc commentsJerry James2020-09-141-2/+2
|
* Remove unnecessary interface modifiersLars Grefer2020-08-172-55/+55
| | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Merge branch 'master' into feature/collection-performanceAndy Clement2020-08-151-1/+0
|\
| * Cleanup unused importsLars Grefer2020-08-161-1/+0
| | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Weaken Collection declarationsLars Grefer2020-08-151-1/+1
| | | | | | | | | | | | Reports on declarations of Collection variables made by using the collection class as the type, rather than an appropriate interface. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Redundant Collection.addAll() callLars Grefer2020-08-152-4/+2
| | | | | | | | | | | | Reports Collection.addAll() and Map.putAll() calls after instantiation of a collection using a constructor call without arguments. Such constructs can be replaced with a single call to a parametrized constructor which simplifies code. Also for some collections the replacement might be more performant. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Collection.toArray() call styleLars Grefer2020-08-151-1/+1
|/ | | | | | | There are two styles to convert a collection to an array: either using a pre-sized array (like c.toArray(new String[c.size()])) or using an empty array (like c.toArray(new String[0]). In older Java versions using pre-sized array was recommended, as the reflection call which is necessary to create an array of proper size was quite slow. However since late updates of OpenJDK 6 this call was intrinsified, making the performance of the empty array version the same and sometimes even better, compared to the pre-sized version. Also passing pre-sized array is dangerous for a concurrent or synchronized collection as a data race is possible between the size and toArray call which may result in extra nulls at the end of the array, if the collection was concurrently shrunk during the operation. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* lets have maven fail if those tests fail...Andy Clement2020-08-143-32/+46
|
* Merge branch 'master' of github.com:eclipse/org.aspectj into ↵Lars Grefer2020-08-147-118/+119
|\ | | | | | | remove-old-version-checks
| * Fix up tests and reduce verbosity on J11Andy Clement2020-08-147-118/+119
| |
* | Remove checks for old Java VersionsLars Grefer2020-08-131-2/+0
|/ | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Use the diamond operator where possibleLars Grefer2020-08-1314-52/+52
| | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* 'String.indexOf()' expression is replaceable with 'contains()'Lars Grefer2020-08-084-8/+8
| | | | | | Reports any String.indexOf() expressions which can be replaced with a call to the String.contains() method available in Java 5 and newer. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* 'while' loop replaceable with enhanced 'for' loopLars Grefer2020-08-081-3/+2
| | | | | | Reports while loops which iterate over collections, and can be replaced with an enhanced for loop (i.e. foreach iteration syntax). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* 'for' loop replaceable with enhanced 'for' loopLars Grefer2020-08-089-38/+32
| | | | | | Reports for loops which iterate over collections or arrays, and can be replaced with an enhanced for loop (i.e. the foreach iteration syntax). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Add module tests back in - but streamlinedAndy Clement2019-01-311-0/+56
|
* mavenizing ajde.core - doneAndy Clement2019-01-2929-0/+3694
|
* polishAndy Clement2018-10-151-7/+14
|
* Adjust how classpath entries manipulated for Java9 supportAndy Clement2017-10-201-14/+12
| | | | | | | | | | | | | | | | Prior to this AspectJ would discard ignore the ClasspathEntry objects built by JDT and just work with the classpath as a string, driving the JDT FileSystem to rebuild classpath entries again at a later date using the string. This is more complex in Java9 because the string representation was losing whether some entries came in via modulepath. ClasspathEntry construction for modulepath entries is non trivial (since the module-info must be processed). The new version will cache some of the ClasspathEntry objects (those built for modulepaths) and do more work on the AspectJ side building classpath entries in general. It now passes these entries to a different FileSystem entry point rather than the entry point that takes a string path.
* added module/modulesourcepath to compiler configuration interfaceAndy Clement2017-10-201-3/+4
|
* Polish genericsAndy Clement2014-10-074-11/+11
|
* enabling AJDT to use annotation processorsAndy Clement2014-08-202-0/+23
|
* annotation processing in aspectjhsestupin2014-08-011-1/+1
| | | | Signed-off-by: hsestupin <stupin.sergey@gmail.com>
* Fix 415957: annotations with 1.8 flagsAndy Clement2013-08-271-3/+1
|
* genericsaclement2011-08-161-3/+2
|
* 353900: Java7aclement2011-08-121-1/+3
|
* generics refactoringaclement2011-08-123-17/+18
|
* 290741: encoding option on ICompilerConfigurationaclement2011-04-042-0/+8
|
* 328649: addDependencies for Compilation Participantsaclement2010-10-261-3/+4
|
* 328649aclement2010-10-251-0/+7
|
* expose some internalsaclement2009-11-022-6/+6
|
* 1.6.6V1_6_6aclement2009-09-301-6/+12
|
* state persistenceaclement2009-08-251-0/+5
|
* 271201: inpath handlesaclement2009-04-062-0/+16
|
* 268827: ask for the JDT project stateaclement2009-03-242-0/+6
|
* generalize report API to cover resources and outjaraclement2009-03-232-6/+26
|
* 268827: tell ajdt about class file removalaclement2009-03-202-0/+6
|
* 124460: aop.xml used for compilation: AJDT interface supportaclement2009-02-122-2/+21
|
* 262288: doubly sureaclement2009-01-301-1/+1
|
* 262288: cope with a previous build that did not fill in the buildconfigaclement2009-01-291-8/+1
|
* 258325: fixaclement2008-12-102-28/+28
|
* 251277: making asmmanager non-singletonaclement2008-10-202-2/+20
|
* make cleanup part of compiler discardaclement2008-10-032-10/+5
|
* 249551: cleanup by defaultaclement2008-10-032-8/+19
|
* 16 ref now OKaclement2008-09-171-1/+1
|
* supporting multiple source folders in the model - to ensure handles ↵aclement2008-09-162-0/+15
| | | | compatible with JDT