peter
bf87a7466a
diagnose invalid type's annotations (EA-63847 - PIEAE: PsiUtilCore.ensureValid)
2015-07-20 20:18:17 +02:00
Roman Shevchenko
f2c9ca8d97
Cleanup (formatting)
2015-07-18 22:51:39 +03:00
Roman Shevchenko
106d1d5175
java: "Java X" language level for experimental features; T<any> wildcard support
2015-07-14 16:55:24 +03:00
Roman Shevchenko
5b9f9f62eb
Merge remote-tracking branch 'origin/master'
2015-07-08 16:44:13 +03:00
Roman Shevchenko
d5d2892564
java: improved resolve of inner classes by JVM internal name
...
Fixes navigation to inner classes with a dollar sign in a name from test console and debugger.
2015-07-08 15:43:40 +03:00
Roman Shevchenko
d1d387b11a
Cleanup (formatting)
2015-07-07 20:18:56 +03:00
Anna Kozlova
e8b982479d
erasure: ensure that all other types after erasure would stay unchanged (spec)
2015-07-07 18:18:34 +03:00
Anna Kozlova
303edac35e
functional type erasure: check if resulted type functional (IDEA-142341)
2015-07-07 14:55:14 +03:00
Daniil Ovchinnikov
fd89b66d27
[java] added method for getting declared string value from annotation
2015-07-06 19:24:40 +03:00
Anna Kozlova
024f917277
method refs: return type check fix for raw constructor (IDEA-142302)
2015-07-06 17:37:31 +03:00
Roman Shevchenko
036f7b8245
Cleanup (formatting; arrangement)
2015-07-03 18:51:52 +03:00
Roman Shevchenko
fd0061d246
java: receiver parameter highlighting
2015-07-02 15:29:22 +03:00
Roman Shevchenko
e737db6dcc
java: receiver parameter parsing
2015-07-02 15:29:10 +03:00
Alexey Kudravtsev
e32f0d8b99
cleanup
2015-07-01 14:34:42 +03:00
Roman Shevchenko
9b37caf999
java: receiver parameter PSI updated
...
Since receiver is not a regular parameter anyway it was decided to exclude it from PsiParameterList.getParameters(), hence it is no longer needed to descend from PsiParameter. This eliminates a good deal of exceptions.
2015-07-01 11:58:59 +03:00
Roman Shevchenko
6ce20f022d
Cleanup (formatting)
2015-06-30 20:24:45 +03:00
Anna Kozlova
3028d3e54a
provide context for generated variable declaration: otherwise e.g. language level for generated element would be defined by project language level instead of module one
2015-06-29 15:59:09 +03:00
peter
ca013946c9
disable non-dumb-aware psi augmenters in dumb mode (EA-70057 - INRE: FileBasedIndexImpl.handleDumbMode)
2015-06-29 11:53:49 +02:00
Anna Kozlova
f38a38278c
redundant cast: don't mark redundant boxing casts in conditional (IDEA-137395)
2015-06-26 20:30:56 +03:00
peter
06fd126885
disable aspectj augmentation in dumb mode (EA-70057 - INRE: FileBasedIndexImpl.handleDumbMode)
2015-06-26 15:06:39 +02:00
peter
931ddd52a6
try to account for non-physical dependencies in AnnotationUtil.getSuperAnnotationOwners cache (EA-69690 - PIEAE: StubBasedPsiElementBase.getContainingFile)
2015-06-26 15:06:37 +02:00
peter
3ae8186707
IDEA-126629 java.io.Closeable is not AutoCloseable in some cases
...
search for close() method in a correct scope
2015-06-23 18:29:18 +02:00
Roman Shevchenko
916c31f03f
Cleanup (typo)
2015-06-22 18:06:25 +03:00
Dmitry Avdeev
c04a98fd0d
IDEA-141685 Goto testdata broken: hanging fixed
2015-06-19 20:08:02 +03:00
Roman Shevchenko
92a2c4e891
Cleanup (docs; warning)
2015-06-17 13:02:10 +03:00
Anna Kozlova
f38e545bcb
replace duplicate
2015-06-14 21:51:22 +03:00
Anna Kozlova
04c9013e68
fix javadoc IDEA-141087
2015-06-08 17:50:20 +03:00
Anna Kozlova
4d0a8d47aa
PsiClassType.equals: perform captured conversion first
2015-06-08 11:24:31 +03:00
Anna Kozlova
77b11fd35b
captured wildcard: if one of captures contains super wildcard, existential types must be the same (symmetry)
2015-06-08 11:24:29 +03:00
Anna Kozlova
cfcdf78010
cleanup capture upper bound detection
2015-06-08 11:24:27 +03:00
Anna Kozlova
8164a3e4b7
eliminateWildcards: process captured same as normal wildcard
2015-05-29 14:48:26 +02:00
Anna Kozlova
cdb50293f2
capture conversion: ensure captured wildcards are not replaced after creation, so substitution is consistent; at the same time ensure that "?" with upper bound Runnable is equivalent to "? extends Runnable"
2015-05-28 19:42:11 +02:00
Anna Kozlova
007fd699c5
inference: ensure thread local is cleared after calculation
2015-05-25 16:52:12 +02:00
Anna Kozlova
43762d8fbc
generate missed tests: add failure notification, detect test framework by config methods (IDEA-140631)
2015-05-22 19:17:40 +02:00
Anna Kozlova
fea58865be
captured wildcards: refactor to extract same parts for extends/super wildcards, ensure upper bound is not lost for extends wildcard (IDEA-57292)
2015-05-21 10:00:23 +02:00
peter
3880c5142f
use JavaClassSupers to calculate super class substitutor and isInheritor
2015-05-20 22:16:29 +02:00
Roman Shevchenko
f6ee774945
java: correct SDK version from language level
2015-05-13 22:31:05 +02:00
Anna Kozlova
ad840dea8a
redundant cast: don't warn if functional expression corresponds to another interface method (IDEA-140218)
2015-05-13 14:39:06 +02:00
Anna Kozlova
a06b175109
disable "lambda -> " conversions if result requires implicit non-denotable types
2015-05-12 21:42:54 +02:00
Anna Kozlova
4a63204f8b
don't open capture if reference expression is returned from lambda expression (IDEA-139089)
2015-05-12 21:42:53 +02:00
Anna Kozlova
1d6a1bf27e
accept casts as unchecked from generic types with type parameter with upper bounds as type argument: check parameter bounds first
2015-05-12 17:07:05 +02:00
Anna Kozlova
8b320ba8a7
disjunction type equals/hashCode, essential for new inference (IDEA-140150)
2015-05-12 11:39:47 +02:00
Anna Kozlova
90e240041a
functional expression type: ensure no capture conversion is performed over target type of cast expression (IDEA-139824)
2015-05-11 18:04:30 +02:00
peter
0d9b64c674
scope-dependent java type assignability check (IDEA-126629)
2015-05-08 15:56:00 +02:00
Roman Shevchenko
c1aa5e5738
Merge remote-tracking branch 'origin/master'
...
Conflicts:
community-resources/src/idea/IdeaApplicationInfo.xml
2015-04-30 21:01:59 +02:00
Roman Shevchenko
89a0440a7e
Cleanup (misc. deprecated API dropped from *-api modules)
2015-04-30 19:07:58 +02:00
Roman Shevchenko
95f7264225
Cleanup (deprecated lang. level ext. API dropped)
2015-04-30 18:07:44 +02:00
Anna Kozlova
fdf7a106b0
new inference: use cached MethodCandidateInfo to avoid repeated conflict resolution
2015-04-30 14:04:00 +02:00
Anna Kozlova
61d1844554
lambda: don't cache functional interface type during overload resolution (may contain incomplete substitution)
2015-04-30 14:03:59 +02:00
Roman Shevchenko
c76be0f88e
Cleanup (deprecated .class decompiler API dropped)
2015-04-29 19:13:53 +02:00