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 година
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 година
Andrey Turbanov
2091b6d1de
Reduce 'Object' class usage
преди 2 години
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 години
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 години
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 години
Alexander Kriegisch
ecb5320c7b
Fix some deprecated Java and JUnit warnings by using newer API calls
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
преди 3 години
Jerry James
de14ca22d7
Fix misplaced or incorrect javadoc tags
преди 3 години
Jerry James
f8f117808b
Fix misplaced or incorrectly nested HTML tags
преди 3 години
Jerry James
f7f7656f81
Fix incorrect HTML entities in javadoc comments
преди 3 години
Lars Grefer
85ad27ee70
Remove unnecessary interface modifiers
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
преди 3 години
Andy Clement
e0adab7d8f
polish
преди 3 години
Lars Grefer
702f3fa5bd
Cleanup unused imports
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
преди 3 години
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 години
Lars Grefer
e1bff9a570
Use the diamond operator where possible
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
преди 3 години
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 години
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 години
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 години
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 години
Andy Clement
8fd7e45c45
Add module tests back in - but streamlined
преди 5 години
Andy Clement
44f6584f48
mavenizing asm module - finished
преди 5 години
Andy Clement
d9cd0d44e8
mavenizing asm module - wip
преди 5 години
Andy Clement
48eac479f6
Polish generics
преди 9 години
aclement
7a17cff55f
351085
преди 12 години
aclement
ef6ced1071
328121
преди 13 години
aclement
8667e7ad76
333123
преди 13 години
aclement
56056248ac
330170
преди 13 години
aclement
ea9cfb2f16
annotation removal program element support
преди 13 години
aclement
0156c13050
330170: debug added
преди 13 години
aclement
ab0c79c208
329111
преди 13 години
aclement
118f91d2a1
329111
преди 13 години
aclement
6249672405
324804
преди 13 години
aclement
ae625640ff
create writable map before writing to it!
преди 14 години
aclement
c1ba48332b
source locations for declare annos (not persisted) and fqname of handles for itds
преди 14 години
aclement
a1d8ced910
322446: mechanism for a concrete aspect to remember the actual effects of any decps it causes to apply
преди 14 години
aclement
0e0df92e06
320425: handle changes
преди 14 години
aclement
8b1628b65f
generics
преди 14 години
aclement
e8de3dc7d9
generics
преди 14 години
aclement
dd9a71bc77
kick build
преди 14 години
aclement
2bcdbacf5f
generics
преди 14 години
aclement
7b5b7a3b68
generics
преди 14 години
aclement
728ecb8806
310144
преди 14 години
aclement
5f81da8c4b
remove override annos
преди 14 години
aclement
a502da8b5a
310704
преди 14 години
aclement
749078d83c
305788: synchronization around map accesses
преди 14 години
aclement
cd123ff75a
improved assert
преди 14 години
aclement
64c613985a
stateless jdtlikehandleprovider so handles can optionally be cached now. Currently still cached
преди 15 години
aclement
6706a10677
few more helper methods
преди 15 години
aclement
447cdc9d31
286539: test and fix (decanno type in model)
преди 15 години
aclement
08b7d9e41e
284771: before tjp clashing advice sigs dont get counter suffix
преди 15 години