This is an automated email from the ASF dual-hosted git repository. sdedic pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git.
from c67ae02 Merge pull request #3140 from sdedic/sdedic/failing-mavenactions new eb1b18c Use Map to filter out potential duplicities when adding from multiple candidate classes. new d003e7c Allow to construct ASTPath to outermost spanning node. setDeclaringClass() computes access. new 2382aef Computed signature, handle enum constants. new bd2ba13 Use Groovy StaticTypeCheckingVisitor to attribute types in AST. new 834382d Display instance members only in object context. Display correct vararg type. new 307bd2e Indexed constructors supports modifiers. new 0501216 Conditional access handling for Groovy classes. new e225b60 Updated tests for modifier handling, varargs parameters and static access. new 533dc54 Added missing docs and @since new b369d1f Do not report errors from type checker, to many false reports. new 0d87a95 Updated tests to run on both JDK8 & 11 new a42a68e Merge pull request #3125 from sdedic/groovy/static-type-checks2 The 5854 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: groovy/groovy.editor/apichanges.xml | 36 +++ groovy/groovy.editor/manifest.mf | 2 +- groovy/groovy.editor/nbproject/project.xml | 2 +- .../modules/groovy/editor/api/AstPath.java | 33 ++- .../modules/groovy/editor/api/GroovyIndex.java | 10 +- .../modules/groovy/editor/api/GroovyIndexer.java | 17 +- .../groovy/editor/api/PathFinderVisitor.java | 113 +++++++- .../editor/api/completion/CompletionItem.java | 14 +- .../api/completion/util/CompletionContext.java | 81 ++++-- .../editor/api/completion/util/ContextHelper.java | 25 ++ .../editor/api/elements/ElementHandleSupport.java | 36 +++ .../groovy/editor/api/elements/ast/ASTElement.java | 3 + .../groovy/editor/api/elements/ast/ASTField.java | 5 + .../groovy/editor/api/elements/ast/ASTMethod.java | 54 ++-- .../editor/api/parser/FilteredStaticErrors.lst} | 17 +- .../groovy/editor/api/parser/GroovyParser.java | 118 +++++++- .../editor/api/parser/GroovyParserResult.java | 28 ++ .../editor/api/parser/NbGroovyErrorCollector.java | 306 +++++++++++++++++++++ .../groovy/editor/compiler/CompilationUnit.java | 3 +- .../groovy/editor/completion/BaseCompletion.java | 10 +- .../ConstructorGenerationCompletion.java | 8 +- .../groovy/editor/completion/FieldCompletion.java | 11 +- .../editor/completion/KeywordCompletion.java | 7 +- .../editor/completion/LocalVarCompletion.java | 8 +- .../groovy/editor/completion/MethodCompletion.java | 39 ++- .../editor/completion/NamedParamsCompletion.java | 7 +- .../groovy/editor/completion/NewVarCompletion.java | 5 +- .../editor/completion/PackageCompletion.java | 6 +- .../editor/completion/ProposalsCollector.java | 8 +- .../groovy/editor/completion/TypesCompletion.java | 10 +- .../completion/inference/GroovyTypeAnalyzer.java | 11 +- .../completion/inference/MethodInference.java | 43 ++- .../completion/inference/TypeInferenceVisitor.java | 27 +- .../provider/CompleteElementHandler.java | 28 +- .../completion/provider/CompletionAccessor.java | 2 + .../completion/provider/GroovyCompletionImpl.java | 62 +++-- .../provider/GroovyElementsProvider.java | 11 +- .../completion/provider/JavaElementHandler.java | 45 ++- .../completion/provider/MetaElementsProvider.java | 33 ++- .../groovy/editor/java/JavaElementHandle.java | 1 + .../modules/groovy/editor/utils/GroovyUtils.java | 51 +++- .../test/unit/data/testfiles/ASTPath1.groovy | 43 +++ .../test/unit/data/testfiles/Hello.groovy.indexed | 48 ++-- ...ctions1.groovy.testCollections1_5.10.completion | 33 ++- ...ctions1.groovy.testCollections1_5.11.completion | 32 ++- ...ections1.groovy.testCollections1_5.9.completion | 32 ++- ...llections1.groovy.testCollections1_5.completion | 30 +- .../data/testfiles/completion/field/Fields2.groovy | 43 +++ ...ds2.groovy.testFields2_javaModifiers.completion | 3 + ....testFields2_javaPropertyReference.9.completion | 16 ++ ...vy.testFields2_javaPropertyReference.completion | 15 + ...Fields2.groovy.testFields2_modifiers.completion | 6 + ...oovy.testFields2_otherClassProperty.completion} | 4 +- ...2.groovy.testFields2_propertyChain1.completion} | 4 +- ...2.groovy.testFields2_propertyChain2.completion} | 4 +- ...s2.groovy.testFields2_propertyChain3.completion | 6 + ...ovy.testCompletionNoPrefixString1.11.completion | 34 ++- ...ovy.testCompletionNoPrefixString1.12.completion | 36 ++- ...ovy.testCompletionNoPrefixString1.13.completion | 39 ++- ...oovy.testCompletionNoPrefixString1.9.completion | 32 ++- ...groovy.testCompletionNoPrefixString1.completion | 32 ++- ...ovy.testCompletionNoPrefixString2.11.completion | 4 +- ...ovy.testCompletionNoPrefixString2.12.completion | 4 +- ...ovy.testCompletionNoPrefixString2.13.completion | 4 +- ...oovy.testCompletionNoPrefixString2.9.completion | 4 +- ...groovy.testCompletionNoPrefixString2.completion | 4 +- .../Methods1.groovy.testMethods1_4.completion | 2 - .../completion/method/methods5/Methods5.groovy | 57 ++++ .../Methods5.groovy.testMethods5_chain1.completion | 8 + .../Methods5.groovy.testMethods5_chain2.completion | 6 + ...Methods5.groovy.testMethods5_chain2a.completion | 248 +++++++++++++++++ .../Methods5.groovy.testMethods5_chain3.completion | 6 + .../Methods5.groovy.testMethods5_chain4.completion | 6 + ...ethods5.groovy.testMethods5_modifier.completion | 7 + ...ethods5.groovy.testMethods5_noparens.completion | 7 + ...hods5.groovy.testMethods5_overload1.completion} | 8 +- ...hods5.groovy.testMethods5_overload2.completion} | 5 +- ...thods5.groovy.testMethods5_overload3.completion | 23 ++ ...thods5.groovy.testMethods5_overload4.completion | 7 + ...r1.groovy.testJavaFieldOperator1_all.completion | 2 +- ...vy.testJavaFieldOperator2_withPrefix.completion | 2 +- ...vy.testJavaFieldOperator3_withSuffix.completion | 2 +- ...tJavaFieldOperator4_withinIdentifier.completion | 2 +- ...stSpreadOperator1_stringArray_all.11.completion | 4 +- ...stSpreadOperator1_stringArray_all.12.completion | 4 +- ...stSpreadOperator1_stringArray_all.13.completion | 4 +- ...estSpreadOperator1_stringArray_all.9.completion | 4 +- ....testSpreadOperator1_stringArray_all.completion | 4 +- ...y.testSpreadOperator3_intArray_all.9.completion | 2 + ...1.groovy.testSingleton1_withInPrefix.completion | 2 + ...oovy.testSingleton2_withGetPrefix.11.completion | 60 ++++ ....groovy.testSingleton2_withGetPrefix.completion | 49 +++- ...oovy.testSingleton3_withoutPrefix.11.completion | 201 ++++++++++++++ ....groovy.testSingleton3_withoutPrefix.completion | 118 +++++++- .../modules/groovy/editor/api/AstPathTest.java | 140 +++++++++- .../groovy/editor/api/completion/FieldCCTest.java | 54 ++++ .../groovy/editor/api/completion/MethodCCTest.java | 78 ++++++ .../apichanges.xml | 29 +- groovy/groovy.support/manifest.mf | 2 +- groovy/groovy.support/nbproject/project.properties | 1 + .../modules/groovy/support/api/GroovySettings.java | 24 ++ 101 files changed, 2657 insertions(+), 369 deletions(-) copy groovy/{groovy.support/nbproject/project.properties => groovy.editor/src/org/netbeans/modules/groovy/editor/api/parser/FilteredStaticErrors.lst} (53%) create mode 100644 groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/parser/NbGroovyErrorCollector.java create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/ASTPath1.groovy create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/field/Fields2.groovy create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/field/Fields2.groovy.testFields2_javaModifiers.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/field/Fields2.groovy.testFields2_javaPropertyReference.9.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/field/Fields2.groovy.testFields2_javaPropertyReference.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/field/Fields2.groovy.testFields2_modifiers.completion copy groovy/groovy.editor/test/unit/data/testfiles/completion/{operators/javaFieldOperator2/JavaFieldOperator2.groovy.testJavaFieldOperator2_withPrefix.completion => field/Fields2.groovy.testFields2_otherClassProperty.completion} (55%) copy groovy/groovy.editor/test/unit/data/testfiles/completion/{operators/javaFieldOperator2/JavaFieldOperator2.groovy.testJavaFieldOperator2_withPrefix.completion => field/Fields2.groovy.testFields2_propertyChain1.completion} (60%) copy groovy/groovy.editor/test/unit/data/testfiles/completion/{operators/javaFieldOperator2/JavaFieldOperator2.groovy.testJavaFieldOperator2_withPrefix.completion => field/Fields2.groovy.testFields2_propertyChain2.completion} (57%) create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/field/Fields2.groovy.testFields2_propertyChain3.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/method/methods5/Methods5.groovy create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/method/methods5/Methods5.groovy.testMethods5_chain1.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/method/methods5/Methods5.groovy.testMethods5_chain2.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/method/methods5/Methods5.groovy.testMethods5_chain2a.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/method/methods5/Methods5.groovy.testMethods5_chain3.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/method/methods5/Methods5.groovy.testMethods5_chain4.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/method/methods5/Methods5.groovy.testMethods5_modifier.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/method/methods5/Methods5.groovy.testMethods5_noparens.completion copy groovy/groovy.editor/test/unit/data/testfiles/completion/{transformations/singleton1/Singleton1.groovy.testSingleton1_withInPrefix.completion => method/methods5/Methods5.groovy.testMethods5_overload1.completion} (51%) copy groovy/groovy.editor/test/unit/data/testfiles/completion/{operators/javaFieldOperator1/JavaFieldOperator1.groovy.testJavaFieldOperator1_all.completion => method/methods5/Methods5.groovy.testMethods5_overload2.completion} (51%) create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/method/methods5/Methods5.groovy.testMethods5_overload3.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/method/methods5/Methods5.groovy.testMethods5_overload4.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.11.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.11.completion copy groovy/{groovy.editor => groovy.support}/apichanges.xml (83%) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists