-
Notifications
You must be signed in to change notification settings - Fork 32
Issue 1401: New diagnostics for PersistenceMapKeyDiagnostics #1405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 1401: New diagnostics for PersistenceMapKeyDiagnostics #1405
Conversation
venmanyarun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update tests under lsp4jakarta.it
Access specifier diagnostic Method or Field type diagnostic
...rty/tools/intellij/lsp4jakarta/lsp4ij/persistence/PersistenceMapKeyDiagnosticsCollector.java
Outdated
Show resolved
Hide resolved
...rty/tools/intellij/lsp4jakarta/lsp4ij/persistence/PersistenceMapKeyDiagnosticsCollector.java
Outdated
Show resolved
Hide resolved
...rty/tools/intellij/lsp4jakarta/lsp4ij/persistence/PersistenceMapKeyDiagnosticsCollector.java
Outdated
Show resolved
Hide resolved
...rty/tools/intellij/lsp4jakarta/lsp4ij/persistence/PersistenceMapKeyDiagnosticsCollector.java
Outdated
Show resolved
Hide resolved
...rty/tools/intellij/lsp4jakarta/lsp4ij/persistence/PersistenceMapKeyDiagnosticsCollector.java
Show resolved
Hide resolved
mrglavas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my specific review comments.
|
Any significant changes should be copied back to the Eclipse JDT code so that they stay in sync. Even minor changes could be copied back at a less urgent priority level. |
...rty/tools/intellij/lsp4jakarta/lsp4ij/persistence/PersistenceMapKeyDiagnosticsCollector.java
Outdated
Show resolved
Hide resolved
...st/java/io/openliberty/tools/intellij/lsp4jakarta/it/persistence/JakartaPersistenceTest.java
Show resolved
Hide resolved
98fb0b9
into
OpenLiberty:lsp4jakarta-0.2.5-integration
…erty#1405) * Introducing hasField to check the existence of PsiField * Accessor warning diagnostics for method and field * Add diagnostics for type check * Update copyright * Update PersistenceMapKeyDiagnosticsCollector.java Map FQDN constant * Testcases for following diagnostics: Access specifier diagnostic Method or Field type diagnostic * Testcase input files * Source code formatted * Change variable name to follow Oracle's guidelines * Refactor hasField method * Removed lines * Using StringUtils utility * Change from isEmpty to isNotBlank * Copyright update
* JavaCursorContextKind IllegalArgumentException workaround deletion Liberty tools (#1366) * Liberty tools changes * Deletion of work-around * Deletion of work-around comments * Keeping only first and last year of changes. --------- Co-authored-by: archanr <[email protected]> * Enable builds to run for lsp4jakarta-0.2.5-integration branch (#1421) * Issue 1401: New diagnostics for PersistenceMapKeyDiagnostics (#1405) * Introducing hasField to check the existence of PsiField * Accessor warning diagnostics for method and field * Add diagnostics for type check * Update copyright * Update PersistenceMapKeyDiagnosticsCollector.java Map FQDN constant * Testcases for following diagnostics: Access specifier diagnostic Method or Field type diagnostic * Testcase input files * Source code formatted * Change variable name to follow Oracle's guidelines * Refactor hasField method * Removed lines * Using StringUtils utility * Change from isEmpty to isNotBlank * Copyright update * Feature/size and not empty annotation diagnostics (#1410) * Introduced validation for size and notEmpty sds * Update messages.properties * size and notEmpty test cases * size and notEmpty test resources * pr comments * Update BeanValidationTest.java * corrected diagnostics grammer * pr comments * pr comments addressed * PR comments * Feature/diagnostic for checked exception condition (#1411) * Added diagnostics error for checked exceptions in throws clause * added custom exception test resources * updated the existing test resources * added new test cases to support the changes * format corrected * format corrected * pr comments * PR comments * Update PostConstructAnnotationTest.java * Issue 1401: QuickFix for ServerEndpoint paths without a leading slash (#1412) * Update Error code and test case * PrefixSlash quickfix draft * Prefix Slash proposal implementation * Copyright * Testcase update for PrefixSlashAnnotationQuickFix * Refactor performUpdate * Copyright Updates * Feature/managed bean diagnostics experience improved (#1414) * Explore whether the user experience can be improved for diagnostics / quick fixes involving @dependent * updated test cases * added test resource to support the new test scenarios * format issue corrected * Update ManagedBeanTest.java * Update ManagedBeanTest.java * Update ManagedBeanTest.java * Update ManagedBeanTest.java * Dependency Injection: Diagnostics for non-static inner class managed bean (#1419) * Diagnostics for non-static inner class managed bean * Quick fix for non-static inner class managed bean * Added test resources to support the non-static inner class managed bean test cases * test cases * Update InnerClassInjectionTest.java * Update InsertModifierToNestedClassQuickFix.java * pr comments fixed * changd needsStaticModifier to needsModifier as the method is implemented for accepting any modifier * Sync changes for Jsonb Property Names Must Be Unique, from lsp4Jakarta (#1420) * Json Utility * Messages and constant updates * Diagnostics for json property unique names * Reformatted source code * Test classes for jsonbUnique testcase * Test cases for jsonb unique diagnostics * Copyright update * Copyright updates * Format source * Nested loop - Refactored * TestCase sync PR for Jakarta issueFix 528 (#1413) * Test update for annotations DecimalMin, DecimalMax, AssertFalse * Update test for annotations Digits, Email, FutureOrPresent, Future * Update test for annotations NegativeOrZero, Negative, Max, Min * Update test for annotations NotBlank, Pattern, Past, PastOrPresent * Update test case for annotation Positive * Copyright update * Conflict resolved * Feature/mutually exclusive ones (#1423) * Added two new quick fixes * new mappings in plugin.xml * Added mutuallyExclusive logic * Update plugin.xml * Update plugin.xml * Update ManagedBeanDiagnosticsCollector.java * Update ManagedBeanDiagnosticsCollector.java * test cases * pr fix * Update ManagedBeanDiagnosticsCollector.java * Update ManagedBeanDiagnosticsCollector.java * Default value for the type annotation attribute should be Object.class (#1381) * Default value for the type annotation attribute should be Object.class * fixed test cases * Revert "JavaCursorContextKind IllegalArgumentException workaround deletion Liberty tools (#1365)" (#1439) This reverts commit f53dc01. Co-authored-by: Sajeer <[email protected]> * Update plugin.xml (#1463) * lsp4JakartaVersion updated to 0.2.5 (#1465) --------- Co-authored-by: Archana Iyer <[email protected]> Co-authored-by: archanr <[email protected]> Co-authored-by: Trevor Crawford <[email protected]> Co-authored-by: Joseph-Bineesh <[email protected]> Co-authored-by: Rejoy J Kulangara <[email protected]> Co-authored-by: Sajeer Zeji <[email protected]> Co-authored-by: Sajeer <[email protected]>

Issue: #1401
Introduce following diagnostics for PersistenceMapKeyAnnotations