Alexander Kriegisch
9c86c75cf8
HandleProviderDelimiter: rename JEM_MODULAR_CLASSFILE to MODULAR_CLASSFILE
The other constants do not have the JEM_ prefix from JavaElement either.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
1 year ago
Alexander Kriegisch
9e0d2bc024
Sync HandleProviderDelimiter with JDT Core & AJDT
New constants:
JEM_MODULAR_CLASSFILE - '\'' (single quote)
ANNOTATION - '}'
LAMBDA_EXPRESSION - ')'
LAMBDA_METHOD - '&'
STRING - '"'
MODULE - '`'
DELIMITER_ESCAPE - '='
Updated AspectJ constants due to JDT Core using constants previously
used by AspectJ:
ADVICE - '&' to '§'
ASPECT_TYPE - '\'' to '>'
ITD_METHOD - ')' to '°'
DECLARE - '`' to '´'
POINTCUT - '"' to '©'
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
1 year ago
Andrey Turbanov
2091b6d1de
Reduce 'Object' class usage
2 years ago
Andrey Turbanov
bfd6fee99d
Cleanup redundant boxing.
Methods Integer.parseInt/Boolean.parseBoolean should be preferred over Integer.valueOf/Boolean.valueOf/ if final result is primitive.
They are generally faster and generate less garbage.
2 years ago
Andrey Turbanov
b1c52e2f5e
Replace uses of StringBuffer with StringBuilder.
StringBuffer is a legacy synchronized class. StringBuilder is a direct replacement to StringBuffer which generally have better performance.
2 years ago
Alexander Kriegisch
49cb924f54
Upgrade license from CPLv1/EPLv1 to EPLv2
This was required by the Eclipse team as one precondition for the next
release.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
3 years ago
Alexander Kriegisch
ecb5320c7b
Fix some deprecated Java and JUnit warnings by using newer API calls
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
3 years ago
Jerry James
de14ca22d7
Fix misplaced or incorrect javadoc tags
3 years ago
Jerry James
f8f117808b
Fix misplaced or incorrectly nested HTML tags
3 years ago
Jerry James
f7f7656f81
Fix incorrect HTML entities in javadoc comments
3 years ago
Lars Grefer
85ad27ee70
Remove unnecessary interface modifiers
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 years ago
Andy Clement
e0adab7d8f
polish
3 years ago
Lars Grefer
702f3fa5bd
Cleanup unused imports
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 years ago
Lars Grefer
639f5030e0
Weaken Collection declarations
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>
3 years ago
Lars Grefer
e1bff9a570
Use the diamond operator where possible
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 years ago
Lars Grefer
93ce335dc0
Unnecessary unboxing
Reports "unboxing", e.g. explicit unwrapping of wrapped primitive values. Unboxing is unnecessary under Java 5 and newer, and can be safely removed.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 years ago
Lars Grefer
f33600d4d5
Unnecessary boxing
Reports explicit boxing, i.e. wrapping of primitive values in objects. Explicit manual boxing is unnecessary under Java 5 and newer, and can be safely removed.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 years ago
Lars Grefer
c1c373f427
'String.indexOf()' expression is replaceable with 'contains()'
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>
3 years ago
Lars Grefer
72194b7982
'for' loop replaceable with enhanced 'for' loop
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>
3 years ago
Andy Clement
8fd7e45c45
Add module tests back in - but streamlined
5 years ago
Andy Clement
44f6584f48
mavenizing asm module - finished
5 years ago
Andy Clement
d9cd0d44e8
mavenizing asm module - wip
5 years ago
Andy Clement
48eac479f6
Polish generics
9 years ago
aclement
7a17cff55f
351085
12 years ago
aclement
ef6ced1071
328121
13 years ago
aclement
8667e7ad76
333123
13 years ago
aclement
56056248ac
330170
13 years ago
aclement
ea9cfb2f16
annotation removal program element support
13 years ago
aclement
0156c13050
330170: debug added
13 years ago
aclement
ab0c79c208
329111
13 years ago
aclement
118f91d2a1
329111
13 years ago
aclement
6249672405
324804
13 years ago
aclement
ae625640ff
create writable map before writing to it!
13 years ago
aclement
c1ba48332b
source locations for declare annos (not persisted) and fqname of handles for itds
13 years ago
aclement
a1d8ced910
322446: mechanism for a concrete aspect to remember the actual effects of any decps it causes to apply
13 years ago
aclement
0e0df92e06
320425: handle changes
14 years ago
aclement
8b1628b65f
generics
14 years ago
aclement
e8de3dc7d9
generics
14 years ago
aclement
dd9a71bc77
kick build
14 years ago
aclement
2bcdbacf5f
generics
14 years ago
aclement
7b5b7a3b68
generics
14 years ago
aclement
728ecb8806
310144
14 years ago
aclement
5f81da8c4b
remove override annos
14 years ago
aclement
a502da8b5a
310704
14 years ago
aclement
749078d83c
305788: synchronization around map accesses
14 years ago
aclement
cd123ff75a
improved assert
14 years ago
aclement
64c613985a
stateless jdtlikehandleprovider so handles can optionally be cached now. Currently still cached
14 years ago
aclement
6706a10677
few more helper methods
14 years ago
aclement
447cdc9d31
286539: test and fix (decanno type in model)
14 years ago
aclement
08b7d9e41e
284771: before tjp clashing advice sigs dont get counter suffix
15 years ago