Anna Kozlova
4819405128
ensure resolve is not cached during overload resolution
2015-02-23 21:39:38 +01:00
Anna Kozlova
a7efd33b2b
cast conversion applicable for wildcard vs type parameter if bounds agree (IDEA-75628)
2015-02-20 19:46:49 +01:00
Anna Kozlova
939c490895
cast conversion: substitute type parameter bounds for recursive types (IDEA-136527)
2015-02-20 19:46:46 +01:00
Anna Kozlova
274b3ef006
do not log PCE (EA-64816 - assert: PsiAugmentProvider.getInferredType)
2015-02-19 18:08:01 +01:00
Anna Kozlova
d631901d7e
distinguish capture in presentable text
2015-02-19 18:07:56 +01:00
Alexey Kudravtsev
278ba23829
diagnostics
2015-02-19 16:18:10 +03:00
peter
fd7d0f5511
PsiClassType.setLanguageLevel is pure
2015-02-12 17:56:00 +01:00
Anna Kozlova
ed0ff7c07f
most specific check: ensure that functional types are specifically checked when method is not generics (IDEA-136287)
2015-02-11 19:05:41 +01:00
Dmitry Avdeev
6b09e31e13
IDEA-136336 Cannot compile project after changing JDK version
2015-02-11 18:40:19 +03:00
Dmitry Avdeev
559e3e503a
SDK is more proper name
2015-02-11 18:40:16 +03:00
Anna Kozlova
7e0c4959db
show error for enums constants referenced from instance field initializer (IDEA-136196)
2015-02-10 17:55:59 +01:00
peter
d5a834c2d0
searchers: make public static constants final
2015-02-05 19:10:22 +01:00
Dmitry Avdeev
fe7b66a649
IDEA-130669 Language level should match JDK version for new projects
2015-02-03 13:29:34 +03:00
Anna Kozlova
6eabf8e78a
functional expressions: isPotentiallyCompatible api extracted
2015-02-01 12:54:18 +03:00
Anna Kozlova
8886622b5c
method references: fix type to search (site substitution) for ReferenceType::Identifier references, where ReferenceType is raw (IDEA-135792)
2015-01-30 22:28:02 +03:00
Bas Leijdekkers
6c9731f02d
fix javadoc
2015-01-28 20:19:22 +01:00
Bas Leijdekkers
1da171440c
fix comment typo
2015-01-27 08:53:28 +01:00
Anna Kozlova
9c9daeef26
generate getter/setter by user template
2015-01-22 19:14:33 +01:00
Alexey Kudravtsev
9ed41437ce
AccessLevel annotated
2015-01-21 15:53:43 +03:00
Dmitry Jemerov
3f2641778f
clarify javadoc
2015-01-21 13:47:36 +01:00
Anna Kozlova
d879e82ff1
redundant cast: ensure only one cast from 2 same but equals casts is suggested as redundant (IDEA-135043)
2015-01-19 19:02:13 +01:00
Dmitry Jemerov
aa915b2f7d
javadoc for javadoc psi
2015-01-19 17:46:07 +01:00
Anna Kozlova
296d5e3182
NPE (IDEA-135369)
2015-01-19 15:32:34 +01:00
nik
8785f56a01
NullableNotNullManager: added default implementation to new method to avoid breaking API (fixed compatibility with Kotlin plugin)
2015-01-16 12:31:20 +03:00
Anna Kozlova
ba85aa6a1c
redundant cast: check that then/else branches of conditional expressions stay assignable to the conditional expression type (IDEA-135153)
2015-01-14 16:45:47 +01:00
peter
e485a2fc91
dfa: annotation inference suppression is different from honoring package-level defaults, so split them
2015-01-14 15:54:34 +01:00
Anna Kozlova
3d9f911dc3
type distinct: allow comparisons of type X<? extends Object> == X<array> (IDEA-135041)
2015-01-08 19:54:22 +01:00
Anna Kozlova
eef903064a
ensure @NotNull
2015-01-08 19:54:17 +01:00
Anna Kozlova
777397d0d2
LambdaHighlightingUtil removed from java-psi-api
2015-01-07 16:37:40 +01:00
Anna Kozlova
8ce9831489
bad return type in lambda expression: requited type added; range corrected (IDEA-134942)
2015-01-07 16:07:27 +01:00
Anna Kozlova
e9beee7c66
warn when accessing static method of interfaces in language levels prior to 1.8 (IDEA-134814)
2014-12-29 18:57:41 +01:00
Dmitry Jemerov
4ffc5b6fb4
IDEA-COMMUNITY-CR-1272
2014-12-29 12:19:19 +01:00
Anna Kozlova
6f12108208
constructor -> builder: allow to rename setter prefix together and remember the choice for a project (IDEA-102132)
2014-12-24 20:26:34 +01:00
Dmitry Jemerov
60b8e7041b
replace PsiPackage.getChildren(scope) API with PsiPackage.getFiles(scope); use it for coverage and package view
2014-12-24 15:31:10 +01:00
Dmitry Jemerov
790db948e8
add PsiPackage.getChildren() API and corresponding extension API in PsiElementFinder.
...
(In Kotlin, packages really contain files rather than classes, and the new API allows to enumerate the files contained in the package, even if those files contain only top-level functions and no classes.)
2014-12-22 20:58:11 +01:00
Anna Kozlova
53a130122e
infer types for PsiTypeElement: since added
2014-12-22 19:25:30 +01:00
Anna Kozlova
db8eaf24f6
add logging IDEA-CR-1105
2014-12-22 15:49:50 +01:00
Anna Kozlova
09dc54d415
extension for lombok val support (IDEABKL-5667)
2014-12-19 19:49:01 +01:00
Anna Kozlova
7933aad974
captures: distinguish by type parameters in method return type evaluation context
2014-12-16 10:45:02 +01:00
Anna Kozlova
da553663ee
functional interface check optimization
2014-12-12 19:28:53 +01:00
Anna Kozlova
e767382757
functional interface suggester: accept non exact method references
2014-12-11 17:20:11 +01:00
Yann Cébron
19021952a3
avoid ElementPattern.getCondition() indirection for ElementPattern.accept() calls, deprecate
2014-12-11 13:19:01 +01:00
peter
88a6fca9b3
update javadoc for com.intellij.codeInsight.InferredAnnotationsManager.ignoreInference
2014-12-08 20:49:03 +01:00
Dmitry Avdeev
423b5bb3f6
@Nullable
2014-12-05 19:14:37 +03:00
Dmitry Jemerov
75098e1613
Merge remote-tracking branch 'origin/master'
2014-12-05 12:17:52 +01:00
Dmitry Jemerov
cebd77af7a
some javadoc
2014-12-05 11:44:54 +01:00
peter
c7e5a94523
NullableNotNullManager: classes can't be nullable
2014-12-04 16:24:05 +01:00
Anna Kozlova
6fb1b58b3f
detect jdk version by place (IDEA-133801)
2014-12-03 20:21:54 +01:00
peter
e5d728e7a4
don't return inferred annotations that will be neglected anyway (e.g. on overrideable methods)
2014-12-03 17:40:04 +01:00
Anna Kozlova
e17a949a6e
method reference: check NPE unboxing (IDEA-133714)
2014-12-02 14:01:10 +01:00