From 564969af0df2e1d10146fa493f03142ae4f90754 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Tue, 28 May 2024 14:41:43 +0200 Subject: [PATCH] update groovy.editor test data and test on JDK 17 - update test files for OperatorsCCTest, MethodCCTest, ClosuresCCTest and TransformationsCCTest - checked all JDKs between 8 and 17 --- .github/workflows/main.yml | 8 +- ....groovy.testInsideClosure1_1.14.completion | 86 +++++++ ....groovy.testInsideClosure1_1.16.completion | 86 +++++++ ....groovy.testInsideClosure1_1.17.completion | 86 +++++++ ...1.groovy.testInsideClosure1_1.9.completion | 86 +++++++ ...1.groovy.testInsideClosure1_2.9.completion | 8 + ...1.groovy.testInsideClosure1_5.9.completion | 10 +- ...1.groovy.testInsideClosure1_7.9.completion | 10 +- ...estCompletionNoPrefixString1.12.completion | 4 +- ...estCompletionNoPrefixString1.13.completion | 5 +- ...estCompletionNoPrefixString2.13.completion | 2 +- ...eadOperator1_stringArray_all.13.completion | 2 +- ...SpreadOperator3_intArray_all.12.completion | 2 + ...SpreadOperator3_intArray_all.14.completion | 169 ++++++++++++++ ...testSingleton2_withGetPrefix.14.completion | 61 +++++ ...testSingleton2_withGetPrefix.16.completion | 62 +++++ ....testSingleton2_withGetPrefix.9.completion | 58 +++++ ...testSingleton3_withoutPrefix.11.completion | 2 +- ...testSingleton3_withoutPrefix.12.completion | 205 +++++++++++++++++ ...testSingleton3_withoutPrefix.14.completion | 209 +++++++++++++++++ ...testSingleton3_withoutPrefix.15.completion | 214 +++++++++++++++++ ...testSingleton3_withoutPrefix.16.completion | 215 ++++++++++++++++++ ....testSingleton3_withoutPrefix.9.completion | 196 ++++++++++++++++ 23 files changed, 1772 insertions(+), 14 deletions(-) create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/operators/spreadOperator3/SpreadOperator3.groovy.testSpreadOperator3_intArray_all.14.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.14.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.16.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.9.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.12.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.14.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.15.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.16.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.9.completion diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fa0a7c7e879b..e26ba7f3e136 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1877,7 +1877,7 @@ jobs: timeout-minutes: 60 strategy: matrix: - java: [ '8' ] + java: [ '17' ] fail-fast: false steps: @@ -1909,12 +1909,6 @@ jobs: - name: groovy/groovy.support run: ant $OPTS -f groovy/groovy.support test -# - name: groovy/groovy -# run: ant $OPTS -f groovy/groovy test - -# - name: groovy/groovy.java -# run: ant $OPTS -f groovy/groovy.java test - # - name: groovy/groovy.kit # run: ant $OPTS -f groovy/groovy.kit test diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.14.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.14.completion index 55b91a8a4113..bdc6ffa3e76b 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.14.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.14.completion @@ -499,6 +499,92 @@ CLASS WeakHashMap null CLASS Writable null CLASS WriteAbortedException null CLASS Writer null +METHOD addShutdownHook(Closure) void +METHOD any() boolean +METHOD any(Closure) boolean +METHOD asBoolean() boolean +METHOD asType(Class) Object +METHOD clone() [PROTECTE Object +METHOD collect() Collection +METHOD collect(Closure) List +METHOD collect(Collection, Closure) Collection +METHOD dump() String +METHOD each(Closure) Object +METHOD eachWithIndex(Closure) Object +METHOD equals(Object) [PUBLIC] boolean +METHOD evaluate(File) [PUBLIC] Object +METHOD evaluate(String) [PUBLIC] Object +METHOD every() boolean +METHOD every(Closure) boolean +METHOD finalize() [PROTECTE void +METHOD find() Object +METHOD find(Closure) Object +METHOD findAll() Collection +METHOD findAll(Closure) Collection +METHOD findIndexOf(Closure) int +METHOD findIndexOf(int, Closure) int +METHOD findIndexValues(Closure) List +METHOD findIndexValues(Number, Closur List +METHOD findLastIndexOf(Closure) int +METHOD findLastIndexOf(int, Closure) int +METHOD findResult(Closure) Object +METHOD findResult(Object, Closure) Object +METHOD getAt(String) Object +METHOD getBinding() [PUBLIC] Binding +METHOD getClass() [PUBLIC] Class +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getProperties() Map +METHOD getProperty(String) [PUBLIC] Object +METHOD grep() Collection +METHOD grep(Object) Collection +METHOD hasProperty(String) MetaProperty +METHOD hashCode() [PUBLIC] int +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isCase(Object) boolean +METHOD iterator() Iterator +METHOD main(String[]) [STATIC, void +METHOD metaClass(Closure) MetaClass +METHOD notify() [PUBLIC] void +METHOD notifyAll() [PUBLIC] void +METHOD print(Object) void +METHOD print(PrintWriter) void +METHOD printf(String, Object) void +METHOD printf(String, Object) void +METHOD println() void +METHOD println(Object) void +METHOD println(PrintWriter) void +METHOD putAt(String, Object) void +METHOD respondsTo(String) List +METHOD respondsTo(String, Object) List +METHOD run() [PUBLIC] Object +METHOD run(File, String[]) [PUBLIC] void +METHOD setBinding(Binding) [PUBLIC] void +METHOD setMetaClass(MetaClass) void +METHOD setProperty(String, Object) [PUBLIC] void +METHOD sleep(long) void +METHOD sleep(long, Closure) void +METHOD split(Closure) Collection +METHOD sprintf(String, Object) String +METHOD sprintf(String, Object) String +METHOD stream() Stream +METHOD tap(Closure) Object +METHOD test() [PUBLIC] boolean +METHOD toString() String +METHOD use(Class, Closure) Object +METHOD use(List, Closure) Object +METHOD use(Object[]) Object +METHOD wait() [PUBLIC] void +METHOD wait(long) [PUBLIC] void +METHOD wait(long, int) [PUBLIC] void +METHOD with(Closure) Object +METHOD with(boolean, Closure) Object +METHOD withTraits(Class[]) Object FIELD binding [PUBLIC] Binding FIELD class [PUBLIC] Class FIELD defaultMetaClass [PRIVATE] MetaClass diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.16.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.16.completion index 56bc79a1b757..c5a29734316d 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.16.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.16.completion @@ -500,6 +500,92 @@ CLASS WeakHashMap null CLASS Writable null CLASS WriteAbortedException null CLASS Writer null +METHOD addShutdownHook(Closure) void +METHOD any() boolean +METHOD any(Closure) boolean +METHOD asBoolean() boolean +METHOD asType(Class) Object +METHOD clone() [PROTECTE Object +METHOD collect() Collection +METHOD collect(Closure) List +METHOD collect(Collection, Closure) Collection +METHOD dump() String +METHOD each(Closure) Object +METHOD eachWithIndex(Closure) Object +METHOD equals(Object) [PUBLIC] boolean +METHOD evaluate(File) [PUBLIC] Object +METHOD evaluate(String) [PUBLIC] Object +METHOD every() boolean +METHOD every(Closure) boolean +METHOD finalize() [PROTECTE void +METHOD find() Object +METHOD find(Closure) Object +METHOD findAll() Collection +METHOD findAll(Closure) Collection +METHOD findIndexOf(Closure) int +METHOD findIndexOf(int, Closure) int +METHOD findIndexValues(Closure) List +METHOD findIndexValues(Number, Closur List +METHOD findLastIndexOf(Closure) int +METHOD findLastIndexOf(int, Closure) int +METHOD findResult(Closure) Object +METHOD findResult(Object, Closure) Object +METHOD getAt(String) Object +METHOD getBinding() [PUBLIC] Binding +METHOD getClass() [PUBLIC] Class +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getProperties() Map +METHOD getProperty(String) [PUBLIC] Object +METHOD grep() Collection +METHOD grep(Object) Collection +METHOD hasProperty(String) MetaProperty +METHOD hashCode() [PUBLIC] int +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isCase(Object) boolean +METHOD iterator() Iterator +METHOD main(String[]) [STATIC, void +METHOD metaClass(Closure) MetaClass +METHOD notify() [PUBLIC] void +METHOD notifyAll() [PUBLIC] void +METHOD print(Object) void +METHOD print(PrintWriter) void +METHOD printf(String, Object) void +METHOD printf(String, Object) void +METHOD println() void +METHOD println(Object) void +METHOD println(PrintWriter) void +METHOD putAt(String, Object) void +METHOD respondsTo(String) List +METHOD respondsTo(String, Object) List +METHOD run() [PUBLIC] Object +METHOD run(File, String[]) [PUBLIC] void +METHOD setBinding(Binding) [PUBLIC] void +METHOD setMetaClass(MetaClass) void +METHOD setProperty(String, Object) [PUBLIC] void +METHOD sleep(long) void +METHOD sleep(long, Closure) void +METHOD split(Closure) Collection +METHOD sprintf(String, Object) String +METHOD sprintf(String, Object) String +METHOD stream() Stream +METHOD tap(Closure) Object +METHOD test() [PUBLIC] boolean +METHOD toString() String +METHOD use(Class, Closure) Object +METHOD use(List, Closure) Object +METHOD use(Object[]) Object +METHOD wait() [PUBLIC] void +METHOD wait(long) [PUBLIC] void +METHOD wait(long, int) [PUBLIC] void +METHOD with(Closure) Object +METHOD with(boolean, Closure) Object +METHOD withTraits(Class[]) Object FIELD binding [PUBLIC] Binding FIELD class [PUBLIC] Class FIELD defaultMetaClass [PRIVATE] MetaClass diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.17.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.17.completion index b3aa550a2df9..1b83887edde6 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.17.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.17.completion @@ -501,6 +501,92 @@ CLASS WeakHashMap null CLASS Writable null CLASS WriteAbortedException null CLASS Writer null +METHOD addShutdownHook(Closure) void +METHOD any() boolean +METHOD any(Closure) boolean +METHOD asBoolean() boolean +METHOD asType(Class) Object +METHOD clone() [PROTECTE Object +METHOD collect() Collection +METHOD collect(Closure) List +METHOD collect(Collection, Closure) Collection +METHOD dump() String +METHOD each(Closure) Object +METHOD eachWithIndex(Closure) Object +METHOD equals(Object) [PUBLIC] boolean +METHOD evaluate(File) [PUBLIC] Object +METHOD evaluate(String) [PUBLIC] Object +METHOD every() boolean +METHOD every(Closure) boolean +METHOD finalize() [PROTECTE void +METHOD find() Object +METHOD find(Closure) Object +METHOD findAll() Collection +METHOD findAll(Closure) Collection +METHOD findIndexOf(Closure) int +METHOD findIndexOf(int, Closure) int +METHOD findIndexValues(Closure) List +METHOD findIndexValues(Number, Closur List +METHOD findLastIndexOf(Closure) int +METHOD findLastIndexOf(int, Closure) int +METHOD findResult(Closure) Object +METHOD findResult(Object, Closure) Object +METHOD getAt(String) Object +METHOD getBinding() [PUBLIC] Binding +METHOD getClass() [PUBLIC] Class +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getProperties() Map +METHOD getProperty(String) [PUBLIC] Object +METHOD grep() Collection +METHOD grep(Object) Collection +METHOD hasProperty(String) MetaProperty +METHOD hashCode() [PUBLIC] int +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isCase(Object) boolean +METHOD iterator() Iterator +METHOD main(String[]) [STATIC, void +METHOD metaClass(Closure) MetaClass +METHOD notify() [PUBLIC] void +METHOD notifyAll() [PUBLIC] void +METHOD print(Object) void +METHOD print(PrintWriter) void +METHOD printf(String, Object) void +METHOD printf(String, Object) void +METHOD println() void +METHOD println(Object) void +METHOD println(PrintWriter) void +METHOD putAt(String, Object) void +METHOD respondsTo(String) List +METHOD respondsTo(String, Object) List +METHOD run() [PUBLIC] Object +METHOD run(File, String[]) [PUBLIC] void +METHOD setBinding(Binding) [PUBLIC] void +METHOD setMetaClass(MetaClass) void +METHOD setProperty(String, Object) [PUBLIC] void +METHOD sleep(long) void +METHOD sleep(long, Closure) void +METHOD split(Closure) Collection +METHOD sprintf(String, Object) String +METHOD sprintf(String, Object) String +METHOD stream() Stream +METHOD tap(Closure) Object +METHOD test() [PUBLIC] boolean +METHOD toString() String +METHOD use(Class, Closure) Object +METHOD use(List, Closure) Object +METHOD use(Object[]) Object +METHOD wait() [PUBLIC] void +METHOD wait(long) [PUBLIC] void +METHOD wait(long, int) [PUBLIC] void +METHOD with(Closure) Object +METHOD with(boolean, Closure) Object +METHOD withTraits(Class[]) Object FIELD binding [PUBLIC] Binding FIELD class [PUBLIC] Class FIELD defaultMetaClass [PRIVATE] MetaClass diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.9.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.9.completion index 0c1140539ace..38bf165f644b 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.9.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.9.completion @@ -497,6 +497,92 @@ CLASS WeakHashMap null CLASS Writable null CLASS WriteAbortedException null CLASS Writer null +METHOD addShutdownHook(Closure) void +METHOD any() boolean +METHOD any(Closure) boolean +METHOD asBoolean() boolean +METHOD asType(Class) Object +METHOD clone() [PROTECTE Object +METHOD collect() Collection +METHOD collect(Closure) List +METHOD collect(Collection, Closure) Collection +METHOD dump() String +METHOD each(Closure) Object +METHOD eachWithIndex(Closure) Object +METHOD equals(Object) [PUBLIC] boolean +METHOD evaluate(File) [PUBLIC] Object +METHOD evaluate(String) [PUBLIC] Object +METHOD every() boolean +METHOD every(Closure) boolean +METHOD finalize() [PROTECTE void +METHOD find() Object +METHOD find(Closure) Object +METHOD findAll() Collection +METHOD findAll(Closure) Collection +METHOD findIndexOf(Closure) int +METHOD findIndexOf(int, Closure) int +METHOD findIndexValues(Closure) List +METHOD findIndexValues(Number, Closur List +METHOD findLastIndexOf(Closure) int +METHOD findLastIndexOf(int, Closure) int +METHOD findResult(Closure) Object +METHOD findResult(Object, Closure) Object +METHOD getAt(String) Object +METHOD getBinding() [PUBLIC] Binding +METHOD getClass() [PUBLIC] Class +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getProperties() Map +METHOD getProperty(String) [PUBLIC] Object +METHOD grep() Collection +METHOD grep(Object) Collection +METHOD hasProperty(String) MetaProperty +METHOD hashCode() [PUBLIC] int +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isCase(Object) boolean +METHOD iterator() Iterator +METHOD main(String[]) [STATIC, void +METHOD metaClass(Closure) MetaClass +METHOD notify() [PUBLIC] void +METHOD notifyAll() [PUBLIC] void +METHOD print(Object) void +METHOD print(PrintWriter) void +METHOD printf(String, Object) void +METHOD printf(String, Object) void +METHOD println() void +METHOD println(Object) void +METHOD println(PrintWriter) void +METHOD putAt(String, Object) void +METHOD respondsTo(String) List +METHOD respondsTo(String, Object) List +METHOD run() [PUBLIC] Object +METHOD run(File, String[]) [PUBLIC] void +METHOD setBinding(Binding) [PUBLIC] void +METHOD setMetaClass(MetaClass) void +METHOD setProperty(String, Object) [PUBLIC] void +METHOD sleep(long) void +METHOD sleep(long, Closure) void +METHOD split(Closure) Collection +METHOD sprintf(String, Object) String +METHOD sprintf(String, Object) String +METHOD stream() Stream +METHOD tap(Closure) Object +METHOD test() [PUBLIC] boolean +METHOD toString() String +METHOD use(Class, Closure) Object +METHOD use(List, Closure) Object +METHOD use(Object[]) Object +METHOD wait() [PUBLIC] void +METHOD wait(long) [PUBLIC] void +METHOD wait(long, int) [PUBLIC] void +METHOD with(Closure) Object +METHOD with(boolean, Closure) Object +METHOD withTraits(Class[]) Object FIELD binding [PUBLIC] Binding FIELD class [PUBLIC] Class FIELD defaultMetaClass [PRIVATE] MetaClass diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_2.9.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_2.9.completion index 2bb353c284a6..eaa96897c9ec 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_2.9.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_2.9.completion @@ -50,6 +50,14 @@ CLASS InvalidObjectException null CLASS InvalidPropertiesFormatExcepti null CLASS Iterable null CLASS Iterator null +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isCase(Object) boolean +METHOD iterator() Iterator VARIABLE it Object KEYWORD if null KEYWORD in null diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_5.9.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_5.9.completion index 8dea5acea632..7c300a06ea2d 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_5.9.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_5.9.completion @@ -50,8 +50,16 @@ CLASS InvalidObjectException null CLASS InvalidPropertiesFormatExcepti null CLASS Iterable null CLASS Iterator null +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isCase(Object) boolean +METHOD iterator() Iterator VARIABLE it Object KEYWORD if null KEYWORD in null KEYWORD instanceof null -KEYWORD int null +KEYWORD int null \ No newline at end of file diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_7.9.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_7.9.completion index 0adcc9faae7f..4f981cc11e00 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_7.9.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_7.9.completion @@ -50,7 +50,15 @@ CLASS InvalidObjectException null CLASS InvalidPropertiesFormatExcepti null CLASS Iterable null CLASS Iterator null +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isCase(Object) boolean +METHOD iterator() Iterator KEYWORD if null KEYWORD in null KEYWORD instanceof null -KEYWORD int null \ No newline at end of file +KEYWORD int null diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionNoPrefixString1/CompletionNoPrefixString1.groovy.testCompletionNoPrefixString1.12.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionNoPrefixString1/CompletionNoPrefixString1.groovy.testCompletionNoPrefixString1.12.completion index b4099132f8db..df40cc6ec277 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionNoPrefixString1/CompletionNoPrefixString1.groovy.testCompletionNoPrefixString1.12.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionNoPrefixString1/CompletionNoPrefixString1.groovy.testCompletionNoPrefixString1.12.completion @@ -23,6 +23,7 @@ METHOD collect(Closure) List METHOD collect(Collection, Closure) Collection METHOD collectReplacements(Closure) String METHOD collectReplacements(List) String +METHOD compare(CharSequence, CharSequ [STATIC, int METHOD compareTo(Object) [PUBLIC] int METHOD compareTo(String) [PUBLIC] int METHOD compareTo(T) [PUBLIC] int @@ -294,9 +295,10 @@ FIELD CASE_INSENSITIVE_ORDER [STATIC, Comparator FIELD EMPTY [STATIC, GString FIELD EMPTY_OBJECT_ARRAY [STATIC, Object[] FIELD EMPTY_STRING_ARRAY [STATIC, String[] +FIELD blank [PUBLIC] boolean FIELD bytes [PUBLIC] byte[] FIELD class [PUBLIC] Class FIELD empty [PUBLIC] boolean FIELD strings [PUBLIC] String[] FIELD valueCount [PUBLIC] int -FIELD values [PUBLIC] Object[] +FIELD values [PUBLIC] Object[] \ No newline at end of file diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionNoPrefixString1/CompletionNoPrefixString1.groovy.testCompletionNoPrefixString1.13.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionNoPrefixString1/CompletionNoPrefixString1.groovy.testCompletionNoPrefixString1.13.completion index b6e1bf6c6fca..d92e73824c57 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionNoPrefixString1/CompletionNoPrefixString1.groovy.testCompletionNoPrefixString1.13.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionNoPrefixString1/CompletionNoPrefixString1.groovy.testCompletionNoPrefixString1.13.completion @@ -23,6 +23,7 @@ METHOD collect(Closure) List METHOD collect(Collection, Closure) Collection METHOD collectReplacements(Closure) String METHOD collectReplacements(List) String +METHOD compare(CharSequence, CharSequ [STATIC, int METHOD compareTo(Object) [PUBLIC] int METHOD compareTo(String) [PUBLIC] int METHOD compareTo(T) [PUBLIC] int @@ -88,7 +89,7 @@ METHOD findResult(Closure) Object METHOD findResult(Object, Closure) Object METHOD format(Locale, String, Object. [STATIC, String METHOD format(String, Object...) [STATIC, String -METHOD formatted(Object[]) [PUBLIC] String +METHOD formatted(Object...) [PUBLIC] String METHOD getAt(Collection) String METHOD getAt(EmptyRange) String METHOD getAt(IntRange) String @@ -220,6 +221,7 @@ METHOD startsWith(String, int) [PUBLIC] boolean METHOD startsWithAny(CharSequence[]) boolean METHOD startsWithIgnoreCase(CharSeque boolean METHOD stream() Stream +METHOD strip() [PUBLIC] String METHOD stripIndent() String METHOD stripIndent(boolean) String METHOD stripIndent(int) String @@ -295,6 +297,7 @@ FIELD CASE_INSENSITIVE_ORDER [STATIC, Comparator FIELD EMPTY [STATIC, GString FIELD EMPTY_OBJECT_ARRAY [STATIC, Object[] FIELD EMPTY_STRING_ARRAY [STATIC, String[] +FIELD blank [PUBLIC] boolean FIELD bytes [PUBLIC] byte[] FIELD class [PUBLIC] Class FIELD empty [PUBLIC] boolean diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionNoPrefixString2/CompletionNoPrefixString2.groovy.testCompletionNoPrefixString2.13.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionNoPrefixString2/CompletionNoPrefixString2.groovy.testCompletionNoPrefixString2.13.completion index d5e92c0daeaa..ef0878700094 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionNoPrefixString2/CompletionNoPrefixString2.groovy.testCompletionNoPrefixString2.13.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionNoPrefixString2/CompletionNoPrefixString2.groovy.testCompletionNoPrefixString2.13.completion @@ -85,7 +85,7 @@ METHOD findResult(Closure) Object METHOD findResult(Object, Closure) Object METHOD format(Locale, String, Object. [STATIC, String METHOD format(String, Object...) [STATIC, String -METHOD formatted(Object[]) [PUBLIC] String +METHOD formatted(Object...) [PUBLIC] String METHOD getAt(Collection) String METHOD getAt(EmptyRange) String METHOD getAt(IntRange) String diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/operators/spreadOperator1/SpreadOperator1.groovy.testSpreadOperator1_stringArray_all.13.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/operators/spreadOperator1/SpreadOperator1.groovy.testSpreadOperator1_stringArray_all.13.completion index ac43290fa11c..9be217996ef3 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/operators/spreadOperator1/SpreadOperator1.groovy.testSpreadOperator1_stringArray_all.13.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/operators/spreadOperator1/SpreadOperator1.groovy.testSpreadOperator1_stringArray_all.13.completion @@ -85,7 +85,7 @@ METHOD findResult(Closure) Object METHOD findResult(Object, Closure) Object METHOD format(Locale, String, Object. [STATIC, String METHOD format(String, Object...) [STATIC, String -METHOD formatted(Object[]) [PUBLIC] String +METHOD formatted(Object...) [PUBLIC] String METHOD getAt(Collection) String METHOD getAt(EmptyRange) String METHOD getAt(IntRange) String diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/operators/spreadOperator3/SpreadOperator3.groovy.testSpreadOperator3_intArray_all.12.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/operators/spreadOperator3/SpreadOperator3.groovy.testSpreadOperator3_intArray_all.12.completion index 0434a6958cab..10de984f41c4 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/operators/spreadOperator3/SpreadOperator3.groovy.testSpreadOperator3_intArray_all.12.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/operators/spreadOperator3/SpreadOperator3.groovy.testSpreadOperator3_intArray_all.12.completion @@ -46,6 +46,8 @@ METHOD findLastIndexOf(int, Closure) int METHOD findResult(Closure) Object METHOD findResult(Object, Closure) Object METHOD floatValue() [PUBLIC] float +METHOD formatUnsignedInt(int, int, by [STATIC] void +METHOD formatUnsignedInt(int, int, ch [STATIC] void METHOD getAt(String) Object METHOD getChars(int, int, byte[]) [STATIC] int METHOD getClass() [PUBLIC] Class diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/operators/spreadOperator3/SpreadOperator3.groovy.testSpreadOperator3_intArray_all.14.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/operators/spreadOperator3/SpreadOperator3.groovy.testSpreadOperator3_intArray_all.14.completion new file mode 100644 index 000000000000..0434a6958cab --- /dev/null +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/operators/spreadOperator3/SpreadOperator3.groovy.testSpreadOperator3_intArray_all.14.completion @@ -0,0 +1,169 @@ +Code completion result for source line: +[1,2]*.| +(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) +------------------------------------ +METHOD abs() int +METHOD addShutdownHook(Closure) void +METHOD and(Number) Number +METHOD any() boolean +METHOD any(Closure) boolean +METHOD asBoolean() boolean +METHOD asType(Class) Object +METHOD bitCount(int) [STATIC, int +METHOD bitwiseNegate() Number +METHOD byteValue() [PUBLIC] byte +METHOD collect() Collection +METHOD collect(Closure) List +METHOD collect(Collection, Closure) Collection +METHOD compare(int, int) [STATIC, int +METHOD compareTo(Character) int +METHOD compareTo(Integer) [PUBLIC] int +METHOD compareTo(Number) int +METHOD compareUnsigned(int, int) [STATIC, int +METHOD decode(String) [STATIC, Integer +METHOD describeConstable() [PUBLIC] Optional +METHOD div(Character) Number +METHOD div(Number) Number +METHOD divideUnsigned(int, int) [STATIC, int +METHOD doubleValue() [PUBLIC] double +METHOD downto(Number, Closure) void +METHOD dump() String +METHOD each(Closure) Object +METHOD eachWithIndex(Closure) Object +METHOD equals(Object) [PUBLIC] boolean +METHOD every() boolean +METHOD every(Closure) boolean +METHOD find() Object +METHOD find(Closure) Object +METHOD findAll() Collection +METHOD findAll(Closure) Collection +METHOD findIndexOf(Closure) int +METHOD findIndexOf(int, Closure) int +METHOD findIndexValues(Closure) List +METHOD findIndexValues(Number, Closur List +METHOD findLastIndexOf(Closure) int +METHOD findLastIndexOf(int, Closure) int +METHOD findResult(Closure) Object +METHOD findResult(Object, Closure) Object +METHOD floatValue() [PUBLIC] float +METHOD getAt(String) Object +METHOD getChars(int, int, byte[]) [STATIC] int +METHOD getClass() [PUBLIC] Class +METHOD getInteger(String) [STATIC, Integer +METHOD getInteger(String, Integer) [STATIC, Integer +METHOD getInteger(String, int) [STATIC, Integer +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getProperties() Map +METHOD grep() Collection +METHOD grep(Object) Collection +METHOD hasProperty(String) MetaProperty +METHOD hashCode() [PUBLIC] int +METHOD hashCode(int) [STATIC, int +METHOD highestOneBit(int) [STATIC, int +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD intValue() [PUBLIC] int +METHOD intdiv(Character) Number +METHOD intdiv(Number) Number +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isCase(Number) boolean +METHOD isCase(Object) boolean +METHOD iterator() Iterator +METHOD leftShift(Number) Number +METHOD longValue() [PUBLIC] long +METHOD lowestOneBit(int) [STATIC, int +METHOD max(int, int) [STATIC, int +METHOD metaClass(Closure) MetaClass +METHOD min(int, int) [STATIC, int +METHOD minus(Character) Number +METHOD minus(Number) Number +METHOD mod(Number) Number +METHOD multiply(Character) Number +METHOD multiply(Number) Number +METHOD next() Number +METHOD notify() [PUBLIC] void +METHOD notifyAll() [PUBLIC] void +METHOD numberAwareCompareTo(Comparabl int +METHOD numberOfLeadingZeros(int) [STATIC, int +METHOD numberOfTrailingZeros(int) [STATIC, int +METHOD or(Number) Number +METHOD parseInt(CharSequence, int, in [STATIC, int +METHOD parseInt(String) [STATIC, int +METHOD parseInt(String, int) [STATIC, int +METHOD parseUnsignedInt(CharSequence, [STATIC, int +METHOD parseUnsignedInt(String) [STATIC, int +METHOD parseUnsignedInt(String, int) [STATIC, int +METHOD plus(Character) Number +METHOD plus(Number) Number +METHOD plus(String) String +METHOD power(Integer) Number +METHOD power(Number) Number +METHOD previous() Number +METHOD print(Object) void +METHOD print(PrintWriter) void +METHOD printf(String, Object) void +METHOD printf(String, Object) void +METHOD println() void +METHOD println(Object) void +METHOD println(PrintWriter) void +METHOD putAt(String, Object) void +METHOD remainderUnsigned(int, int) [STATIC, int +METHOD resolveConstantDesc(Lookup) [PUBLIC] Integer +METHOD respondsTo(String) List +METHOD respondsTo(String, Object) List +METHOD reverse(int) [STATIC, int +METHOD reverseBytes(int) [STATIC, int +METHOD rightShift(Number) Number +METHOD rightShiftUnsigned(Number) Number +METHOD rotateLeft(int, int) [STATIC, int +METHOD rotateRight(int, int) [STATIC, int +METHOD setMetaClass(MetaClass) void +METHOD shortValue() [PUBLIC] short +METHOD signum(int) [STATIC, int +METHOD sleep(long) void +METHOD sleep(long, Closure) void +METHOD split(Closure) Collection +METHOD sprintf(String, Object) String +METHOD sprintf(String, Object) String +METHOD step(Number, Number, Closure) void +METHOD stream() Stream +METHOD stringSize(int) [STATIC] int +METHOD sum(int, int) [STATIC, int +METHOD tap(Closure) Object +METHOD times(Closure) void +METHOD toBigDecimal() BigDecimal +METHOD toBigInteger() BigInteger +METHOD toBinaryString(int) [STATIC, String +METHOD toDouble() Double +METHOD toFloat() Float +METHOD toHexString(int) [STATIC, String +METHOD toInteger() Integer +METHOD toLong() Long +METHOD toOctalString(int) [STATIC, String +METHOD toString() [PUBLIC] String +METHOD toString(int) [STATIC, String +METHOD toString(int, int) [STATIC, String +METHOD toUnsignedLong(int) [STATIC, long +METHOD toUnsignedString(int) [STATIC, String +METHOD toUnsignedString(int, int) [STATIC, String +METHOD unaryMinus() Number +METHOD unaryPlus() Number +METHOD upto(Number, Closure) void +METHOD use(Class, Closure) Object +METHOD use(List, Closure) Object +METHOD use(Object[]) Object +METHOD valueOf(String) [STATIC, Integer +METHOD valueOf(String, int) [STATIC, Integer +METHOD valueOf(int) [STATIC, Integer +METHOD wait() [PUBLIC] void +METHOD wait(long) [PUBLIC] void +METHOD wait(long, int) [PUBLIC] void +METHOD with(Closure) Object +METHOD with(boolean, Closure) Object +METHOD withTraits(Class[]) Object +METHOD xor(Number) Number +FIELD class [PUBLIC] Class diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.14.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.14.completion new file mode 100644 index 000000000000..9dcf06fdbdf0 --- /dev/null +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.14.completion @@ -0,0 +1,61 @@ +Code completion result for source line: +Singleton2.get| +(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) +------------------------------------ +METHOD getAnnotatedInterfaces() [PUBLIC] AnnotatedType[] +METHOD getAnnotatedSuperclass() [PUBLIC] AnnotatedType +METHOD getAnnotation(Class) [PUBLIC] A +METHOD getAnnotations() [PUBLIC] Annotation[] +METHOD getAnnotationsByType(Class) [PUBLIC] A[] +METHOD getAt(String) Object +METHOD getCanonicalName() [PUBLIC] String +METHOD getClass() [PUBLIC] Class +METHOD getClassLoader() [PUBLIC] ClassLoader +METHOD getClasses() [PUBLIC] Class[] +METHOD getComponentType() [PUBLIC] Class +METHOD getConstructor(Class...) [PUBLIC] Constructor +METHOD getConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredAnnotation(Class [PUBLIC] A +METHOD getDeclaredAnnotations() [PUBLIC] Annotation[] +METHOD getDeclaredAnnotationsByType(C [PUBLIC] A[] +METHOD getDeclaredClasses() [PUBLIC] Class[] +METHOD getDeclaredConstructor(Class +METHOD getDeclaredConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredField(String) [PUBLIC] Field +METHOD getDeclaredFields() [PUBLIC] Field[] +METHOD getDeclaredMethod(String, Clas [PUBLIC] Method +METHOD getDeclaredMethods() [PUBLIC] Method[] +METHOD getDeclaringClass() [PUBLIC] Class +METHOD getEnclosingClass() [PUBLIC] Class +METHOD getEnclosingConstructor() [PUBLIC] Constructor +METHOD getEnclosingMethod() [PUBLIC] Method +METHOD getEnumConstants() [PUBLIC] T[] +METHOD getField(String) [PUBLIC] Field +METHOD getFields() [PUBLIC] Field[] +METHOD getGenericInterfaces() [PUBLIC] Type[] +METHOD getGenericSuperclass() [PUBLIC] Type +METHOD getGroovydoc() Groovydoc +METHOD getInstance() [STATIC, Singleton2 +METHOD getInterfaces() [PUBLIC] Class[] +METHOD getLocation() URL +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getMethod(String, Class...) [PUBLIC] Method +METHOD getMethods() [PUBLIC] Method[] +METHOD getModifiers() [PUBLIC] int +METHOD getModule() [PUBLIC] Module +METHOD getName() [PUBLIC] String +METHOD getNestHost() [PUBLIC] Class +METHOD getNestMembers() [PUBLIC] Class[] +METHOD getPackage() [PUBLIC] Package +METHOD getPackageName() [PUBLIC] String +METHOD getProperties() Map +METHOD getProtectionDomain() [PUBLIC] ProtectionDomain +METHOD getRecordComponents() [PUBLIC] RecordComponent[] +METHOD getResource(String) [PUBLIC] URL +METHOD getResourceAsStream(String) [PUBLIC] InputStream +METHOD getSigners() [PUBLIC] Object[] +METHOD getSimpleName() [PUBLIC] String +METHOD getSuperclass() [PUBLIC] Class +METHOD getTypeName() [PUBLIC] String +METHOD getTypeParameters() [PUBLIC] TypeVariable>[] diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.16.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.16.completion new file mode 100644 index 000000000000..698e593477da --- /dev/null +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.16.completion @@ -0,0 +1,62 @@ +Code completion result for source line: +Singleton2.get| +(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) +------------------------------------ +METHOD getAnnotatedInterfaces() [PUBLIC] AnnotatedType[] +METHOD getAnnotatedSuperclass() [PUBLIC] AnnotatedType +METHOD getAnnotation(Class) [PUBLIC] A +METHOD getAnnotations() [PUBLIC] Annotation[] +METHOD getAnnotationsByType(Class) [PUBLIC] A[] +METHOD getAt(String) Object +METHOD getCanonicalName() [PUBLIC] String +METHOD getClass() [PUBLIC] Class +METHOD getClassLoader() [PUBLIC] ClassLoader +METHOD getClasses() [PUBLIC] Class[] +METHOD getComponentType() [PUBLIC] Class +METHOD getConstructor(Class...) [PUBLIC] Constructor +METHOD getConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredAnnotation(Class [PUBLIC] A +METHOD getDeclaredAnnotations() [PUBLIC] Annotation[] +METHOD getDeclaredAnnotationsByType(C [PUBLIC] A[] +METHOD getDeclaredClasses() [PUBLIC] Class[] +METHOD getDeclaredConstructor(Class +METHOD getDeclaredConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredField(String) [PUBLIC] Field +METHOD getDeclaredFields() [PUBLIC] Field[] +METHOD getDeclaredMethod(String, Clas [PUBLIC] Method +METHOD getDeclaredMethods() [PUBLIC] Method[] +METHOD getDeclaringClass() [PUBLIC] Class +METHOD getEnclosingClass() [PUBLIC] Class +METHOD getEnclosingConstructor() [PUBLIC] Constructor +METHOD getEnclosingMethod() [PUBLIC] Method +METHOD getEnumConstants() [PUBLIC] T[] +METHOD getField(String) [PUBLIC] Field +METHOD getFields() [PUBLIC] Field[] +METHOD getGenericInterfaces() [PUBLIC] Type[] +METHOD getGenericSuperclass() [PUBLIC] Type +METHOD getGroovydoc() Groovydoc +METHOD getInstance() [STATIC, Singleton2 +METHOD getInterfaces() [PUBLIC] Class[] +METHOD getLocation() URL +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getMethod(String, Class...) [PUBLIC] Method +METHOD getMethods() [PUBLIC] Method[] +METHOD getModifiers() [PUBLIC] int +METHOD getModule() [PUBLIC] Module +METHOD getName() [PUBLIC] String +METHOD getNestHost() [PUBLIC] Class +METHOD getNestMembers() [PUBLIC] Class[] +METHOD getPackage() [PUBLIC] Package +METHOD getPackageName() [PUBLIC] String +METHOD getPermittedSubclasses() [PUBLIC] Class[] +METHOD getProperties() Map +METHOD getProtectionDomain() [PUBLIC] ProtectionDomain +METHOD getRecordComponents() [PUBLIC] RecordComponent[] +METHOD getResource(String) [PUBLIC] URL +METHOD getResourceAsStream(String) [PUBLIC] InputStream +METHOD getSigners() [PUBLIC] Object[] +METHOD getSimpleName() [PUBLIC] String +METHOD getSuperclass() [PUBLIC] Class +METHOD getTypeName() [PUBLIC] String +METHOD getTypeParameters() [PUBLIC] TypeVariable>[] diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.9.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.9.completion new file mode 100644 index 000000000000..cc23e4302828 --- /dev/null +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton2/Singleton2.groovy.testSingleton2_withGetPrefix.9.completion @@ -0,0 +1,58 @@ +Code completion result for source line: +Singleton2.get| +(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) +------------------------------------ +METHOD getAnnotatedInterfaces() [PUBLIC] AnnotatedType[] +METHOD getAnnotatedSuperclass() [PUBLIC] AnnotatedType +METHOD getAnnotation(Class) [PUBLIC] A +METHOD getAnnotations() [PUBLIC] Annotation[] +METHOD getAnnotationsByType(Class) [PUBLIC] A[] +METHOD getAt(String) Object +METHOD getCanonicalName() [PUBLIC] String +METHOD getClass() [PUBLIC] Class +METHOD getClassLoader() [PUBLIC] ClassLoader +METHOD getClasses() [PUBLIC] Class[] +METHOD getComponentType() [PUBLIC] Class +METHOD getConstructor(Class...) [PUBLIC] Constructor +METHOD getConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredAnnotation(Class [PUBLIC] A +METHOD getDeclaredAnnotations() [PUBLIC] Annotation[] +METHOD getDeclaredAnnotationsByType(C [PUBLIC] A[] +METHOD getDeclaredClasses() [PUBLIC] Class[] +METHOD getDeclaredConstructor(Class +METHOD getDeclaredConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredField(String) [PUBLIC] Field +METHOD getDeclaredFields() [PUBLIC] Field[] +METHOD getDeclaredMethod(String, Clas [PUBLIC] Method +METHOD getDeclaredMethods() [PUBLIC] Method[] +METHOD getDeclaringClass() [PUBLIC] Class +METHOD getEnclosingClass() [PUBLIC] Class +METHOD getEnclosingConstructor() [PUBLIC] Constructor +METHOD getEnclosingMethod() [PUBLIC] Method +METHOD getEnumConstants() [PUBLIC] T[] +METHOD getField(String) [PUBLIC] Field +METHOD getFields() [PUBLIC] Field[] +METHOD getGenericInterfaces() [PUBLIC] Type[] +METHOD getGenericSuperclass() [PUBLIC] Type +METHOD getGroovydoc() Groovydoc +METHOD getInstance() [STATIC, Singleton2 +METHOD getInterfaces() [PUBLIC] Class[] +METHOD getLocation() URL +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getMethod(String, Class...) [PUBLIC] Method +METHOD getMethods() [PUBLIC] Method[] +METHOD getModifiers() [PUBLIC] int +METHOD getModule() [PUBLIC] Module +METHOD getName() [PUBLIC] String +METHOD getPackage() [PUBLIC] Package +METHOD getPackageName() [PUBLIC] String +METHOD getProperties() Map +METHOD getProtectionDomain() [PUBLIC] ProtectionDomain +METHOD getResource(String) [PUBLIC] URL +METHOD getResourceAsStream(String) [PUBLIC] InputStream +METHOD getSigners() [PUBLIC] Object[] +METHOD getSimpleName() [PUBLIC] String +METHOD getSuperclass() [PUBLIC] Class +METHOD getTypeName() [PUBLIC] String +METHOD getTypeParameters() [PUBLIC] TypeVariable>[] diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.11.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.11.completion index 7db7d29e8c15..467d550e4c57 100644 --- a/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.11.completion +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.11.completion @@ -179,7 +179,7 @@ FIELD enumConstants [PUBLIC] Object[] FIELD fields [PUBLIC] Field[] FIELD genericInterfaces [PUBLIC] Type[] FIELD genericSuperclass [PUBLIC] Type -FIELD instance [STATIC] Singleton3 +FIELD instance [STATIC, Singleton3 FIELD interface [PUBLIC] boolean FIELD interfaces [PUBLIC] Class[] FIELD localClass [PUBLIC] boolean diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.12.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.12.completion new file mode 100644 index 000000000000..3260cc54c16a --- /dev/null +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.12.completion @@ -0,0 +1,205 @@ +Code completion result for source line: +Singleton3.| +(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) +------------------------------------ +METHOD addShutdownHook(Closure) void +METHOD any() boolean +METHOD any(Closure) boolean +METHOD arrayType() [PUBLIC] Class +METHOD asBoolean() boolean +METHOD asSubclass(Class) [PUBLIC] Class +METHOD asType(Class) Object +METHOD cast(Object) [PUBLIC] T +METHOD collect() Collection +METHOD collect(Closure) List +METHOD collect(Collection, Closure) Collection +METHOD componentType() [PUBLIC] Class +METHOD describeConstable() [PUBLIC] Optional +METHOD descriptorString() [PUBLIC] String +METHOD desiredAssertionStatus() [PUBLIC] boolean +METHOD dump() String +METHOD each(Closure) Object +METHOD eachWithIndex(Closure) Object +METHOD equals(Object) [PUBLIC] boolean +METHOD every() boolean +METHOD every(Closure) boolean +METHOD find() Object +METHOD find(Closure) Object +METHOD findAll() Collection +METHOD findAll(Closure) Collection +METHOD findIndexOf(Closure) int +METHOD findIndexOf(int, Closure) int +METHOD findIndexValues(Closure) List +METHOD findIndexValues(Number, Closur List +METHOD findLastIndexOf(Closure) int +METHOD findLastIndexOf(int, Closure) int +METHOD findResult(Closure) Object +METHOD findResult(Object, Closure) Object +METHOD forName(Module, String) [STATIC, Class +METHOD forName(String) [STATIC, Class +METHOD forName(String, boolean, Class [STATIC, Class +METHOD getAnnotatedInterfaces() [PUBLIC] AnnotatedType[] +METHOD getAnnotatedSuperclass() [PUBLIC] AnnotatedType +METHOD getAnnotation(Class) [PUBLIC] A +METHOD getAnnotations() [PUBLIC] Annotation[] +METHOD getAnnotationsByType(Class) [PUBLIC] A[] +METHOD getAt(String) Object +METHOD getCanonicalName() [PUBLIC] String +METHOD getClass() [PUBLIC] Class +METHOD getClassLoader() [PUBLIC] ClassLoader +METHOD getClasses() [PUBLIC] Class[] +METHOD getComponentType() [PUBLIC] Class +METHOD getConstructor(Class...) [PUBLIC] Constructor +METHOD getConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredAnnotation(Class [PUBLIC] A +METHOD getDeclaredAnnotations() [PUBLIC] Annotation[] +METHOD getDeclaredAnnotationsByType(C [PUBLIC] A[] +METHOD getDeclaredClasses() [PUBLIC] Class[] +METHOD getDeclaredConstructor(Class +METHOD getDeclaredConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredField(String) [PUBLIC] Field +METHOD getDeclaredFields() [PUBLIC] Field[] +METHOD getDeclaredMethod(String, Clas [PUBLIC] Method +METHOD getDeclaredMethods() [PUBLIC] Method[] +METHOD getDeclaringClass() [PUBLIC] Class +METHOD getEnclosingClass() [PUBLIC] Class +METHOD getEnclosingConstructor() [PUBLIC] Constructor +METHOD getEnclosingMethod() [PUBLIC] Method +METHOD getEnumConstants() [PUBLIC] T[] +METHOD getField(String) [PUBLIC] Field +METHOD getFields() [PUBLIC] Field[] +METHOD getGenericInterfaces() [PUBLIC] Type[] +METHOD getGenericSuperclass() [PUBLIC] Type +METHOD getGroovydoc() Groovydoc +METHOD getInstance() [STATIC, Singleton3 +METHOD getInterfaces() [PUBLIC] Class[] +METHOD getLocation() URL +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getMethod(String, Class...) [PUBLIC] Method +METHOD getMethods() [PUBLIC] Method[] +METHOD getModifiers() [PUBLIC] int +METHOD getModule() [PUBLIC] Module +METHOD getName() [PUBLIC] String +METHOD getNestHost() [PUBLIC] Class +METHOD getNestMembers() [PUBLIC] Class[] +METHOD getPackage() [PUBLIC] Package +METHOD getPackageName() [PUBLIC] String +METHOD getProperties() Map +METHOD getProtectionDomain() [PUBLIC] ProtectionDomain +METHOD getResource(String) [PUBLIC] URL +METHOD getResourceAsStream(String) [PUBLIC] InputStream +METHOD getSigners() [PUBLIC] Object[] +METHOD getSimpleName() [PUBLIC] String +METHOD getSuperclass() [PUBLIC] Class +METHOD getTypeName() [PUBLIC] String +METHOD getTypeParameters() [PUBLIC] TypeVariable>[] +METHOD grep() Collection +METHOD grep(Object) Collection +METHOD hasProperty(String) MetaProperty +METHOD hashCode() [PUBLIC] int +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isAnnotation() [PUBLIC] boolean +METHOD isAnnotationPresent(Class) [PUBLIC] boolean +METHOD isCase(Object) boolean +METHOD isEnum() [PUBLIC] boolean +METHOD isInstance(Object) [PUBLIC] boolean +METHOD isInterface() [PUBLIC] boolean +METHOD isLocalClass() [PUBLIC] boolean +METHOD isMemberClass() [PUBLIC] boolean +METHOD isNestmateOf(Class) [PUBLIC] boolean +METHOD isPrimitive() [PUBLIC] boolean +METHOD isSynthetic() [PUBLIC] boolean +METHOD iterator() Iterator +METHOD metaClass(Closure) MetaClass +METHOD mixin(Class) void +METHOD mixin(Class[]) void +METHOD mixin(List) void +METHOD newInstance() [PUBLIC] T +METHOD newInstance(Object[]) Object +METHOD notify() [PUBLIC] void +METHOD notifyAll() [PUBLIC] void +METHOD print(Object) void +METHOD print(PrintWriter) void +METHOD printf(String, Object) void +METHOD printf(String, Object) void +METHOD println() void +METHOD println(Object) void +METHOD println(PrintWriter) void +METHOD putAt(String, Object) void +METHOD respondsTo(String) List +METHOD respondsTo(String, Object) List +METHOD setMetaClass(MetaClass) void +METHOD sleep(long) void +METHOD sleep(long, Closure) void +METHOD split(Closure) Collection +METHOD sprintf(String, Object) String +METHOD sprintf(String, Object) String +METHOD stream() Stream +METHOD tap(Closure) Object +METHOD toGenericString() [PUBLIC] String +METHOD toString() [PUBLIC] String +METHOD use(Class, Closure) Object +METHOD use(List, Closure) Object +METHOD use(Object[]) Object +METHOD wait() [PUBLIC] void +METHOD wait(long) [PUBLIC] void +METHOD wait(long, int) [PUBLIC] void +METHOD with(Closure) Object +METHOD with(boolean, Closure) Object +METHOD withTraits(Class[]) Object +METHOD y() [PUBLIC] Object +FIELD annotatedInterfaces [PUBLIC] AnnotatedType[] +FIELD annotatedSuperclass [PUBLIC] AnnotatedType +FIELD annotation [PUBLIC] boolean +FIELD annotations [PUBLIC] Annotation[] +FIELD anonymousClass [PUBLIC] boolean +FIELD array [PUBLIC] boolean +FIELD canonicalName [PUBLIC] String +FIELD class [PUBLIC] Class +FIELD classLoader [PUBLIC] ClassLoader +FIELD classes [PUBLIC] Class[] +FIELD componentType [PUBLIC] Class +FIELD constructors [PUBLIC] Constructor[] +FIELD declaredAnnotations [PUBLIC] Annotation[] +FIELD declaredClasses [PUBLIC] Class[] +FIELD declaredConstructors [PUBLIC] Constructor[] +FIELD declaredFields [PUBLIC] Field[] +FIELD declaredMethods [PUBLIC] Method[] +FIELD declaringClass [PUBLIC] Class +FIELD enclosingClass [PUBLIC] Class +FIELD enclosingConstructor [PUBLIC] Constructor +FIELD enclosingMethod [PUBLIC] Method +FIELD enum [PUBLIC] boolean +FIELD enumConstants [PUBLIC] Object[] +FIELD fields [PUBLIC] Field[] +FIELD genericInterfaces [PUBLIC] Type[] +FIELD genericSuperclass [PUBLIC] Type +FIELD instance [STATIC, Singleton3 +FIELD interface [PUBLIC] boolean +FIELD interfaces [PUBLIC] Class[] +FIELD localClass [PUBLIC] boolean +FIELD memberClass [PUBLIC] boolean +FIELD methods [PUBLIC] Method[] +FIELD modifiers [PUBLIC] int +FIELD module [PUBLIC] Module +FIELD name [PUBLIC] String +FIELD nestHost [PUBLIC] Class +FIELD nestMembers [PUBLIC] Class[] +FIELD package [PUBLIC] Package +FIELD packageName [PUBLIC] String +FIELD primitive [PUBLIC] boolean +FIELD protectionDomain [PUBLIC] ProtectionDomain +FIELD simpleName [PUBLIC] String +FIELD superclass [PUBLIC] Class +FIELD synthetic [PUBLIC] boolean +FIELD typeName [PUBLIC] String +FIELD typeParameters [PUBLIC] TypeVariable[] diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.14.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.14.completion new file mode 100644 index 000000000000..a066f3307805 --- /dev/null +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.14.completion @@ -0,0 +1,209 @@ +Code completion result for source line: +Singleton3.| +(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) +------------------------------------ +METHOD addShutdownHook(Closure) void +METHOD any() boolean +METHOD any(Closure) boolean +METHOD arrayType() [PUBLIC] Class +METHOD asBoolean() boolean +METHOD asSubclass(Class) [PUBLIC] Class +METHOD asType(Class) Object +METHOD cast(Object) [PUBLIC] T +METHOD collect() Collection +METHOD collect(Closure) List +METHOD collect(Collection, Closure) Collection +METHOD componentType() [PUBLIC] Class +METHOD describeConstable() [PUBLIC] Optional +METHOD descriptorString() [PUBLIC] String +METHOD desiredAssertionStatus() [PUBLIC] boolean +METHOD dump() String +METHOD each(Closure) Object +METHOD eachWithIndex(Closure) Object +METHOD equals(Object) [PUBLIC] boolean +METHOD every() boolean +METHOD every(Closure) boolean +METHOD find() Object +METHOD find(Closure) Object +METHOD findAll() Collection +METHOD findAll(Closure) Collection +METHOD findIndexOf(Closure) int +METHOD findIndexOf(int, Closure) int +METHOD findIndexValues(Closure) List +METHOD findIndexValues(Number, Closur List +METHOD findLastIndexOf(Closure) int +METHOD findLastIndexOf(int, Closure) int +METHOD findResult(Closure) Object +METHOD findResult(Object, Closure) Object +METHOD forName(Module, String) [STATIC, Class +METHOD forName(String) [STATIC, Class +METHOD forName(String, boolean, Class [STATIC, Class +METHOD getAnnotatedInterfaces() [PUBLIC] AnnotatedType[] +METHOD getAnnotatedSuperclass() [PUBLIC] AnnotatedType +METHOD getAnnotation(Class) [PUBLIC] A +METHOD getAnnotations() [PUBLIC] Annotation[] +METHOD getAnnotationsByType(Class) [PUBLIC] A[] +METHOD getAt(String) Object +METHOD getCanonicalName() [PUBLIC] String +METHOD getClass() [PUBLIC] Class +METHOD getClassLoader() [PUBLIC] ClassLoader +METHOD getClasses() [PUBLIC] Class[] +METHOD getComponentType() [PUBLIC] Class +METHOD getConstructor(Class...) [PUBLIC] Constructor +METHOD getConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredAnnotation(Class [PUBLIC] A +METHOD getDeclaredAnnotations() [PUBLIC] Annotation[] +METHOD getDeclaredAnnotationsByType(C [PUBLIC] A[] +METHOD getDeclaredClasses() [PUBLIC] Class[] +METHOD getDeclaredConstructor(Class +METHOD getDeclaredConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredField(String) [PUBLIC] Field +METHOD getDeclaredFields() [PUBLIC] Field[] +METHOD getDeclaredMethod(String, Clas [PUBLIC] Method +METHOD getDeclaredMethods() [PUBLIC] Method[] +METHOD getDeclaringClass() [PUBLIC] Class +METHOD getEnclosingClass() [PUBLIC] Class +METHOD getEnclosingConstructor() [PUBLIC] Constructor +METHOD getEnclosingMethod() [PUBLIC] Method +METHOD getEnumConstants() [PUBLIC] T[] +METHOD getField(String) [PUBLIC] Field +METHOD getFields() [PUBLIC] Field[] +METHOD getGenericInterfaces() [PUBLIC] Type[] +METHOD getGenericSuperclass() [PUBLIC] Type +METHOD getGroovydoc() Groovydoc +METHOD getInstance() [STATIC, Singleton3 +METHOD getInterfaces() [PUBLIC] Class[] +METHOD getLocation() URL +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getMethod(String, Class...) [PUBLIC] Method +METHOD getMethods() [PUBLIC] Method[] +METHOD getModifiers() [PUBLIC] int +METHOD getModule() [PUBLIC] Module +METHOD getName() [PUBLIC] String +METHOD getNestHost() [PUBLIC] Class +METHOD getNestMembers() [PUBLIC] Class[] +METHOD getPackage() [PUBLIC] Package +METHOD getPackageName() [PUBLIC] String +METHOD getProperties() Map +METHOD getProtectionDomain() [PUBLIC] ProtectionDomain +METHOD getRecordComponents() [PUBLIC] RecordComponent[] +METHOD getResource(String) [PUBLIC] URL +METHOD getResourceAsStream(String) [PUBLIC] InputStream +METHOD getSigners() [PUBLIC] Object[] +METHOD getSimpleName() [PUBLIC] String +METHOD getSuperclass() [PUBLIC] Class +METHOD getTypeName() [PUBLIC] String +METHOD getTypeParameters() [PUBLIC] TypeVariable>[] +METHOD grep() Collection +METHOD grep(Object) Collection +METHOD hasProperty(String) MetaProperty +METHOD hashCode() [PUBLIC] int +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isAnnotation() [PUBLIC] boolean +METHOD isAnnotationPresent(Class) [PUBLIC] boolean +METHOD isCase(Object) boolean +METHOD isEnum() [PUBLIC] boolean +METHOD isInstance(Object) [PUBLIC] boolean +METHOD isInterface() [PUBLIC] boolean +METHOD isLocalClass() [PUBLIC] boolean +METHOD isMemberClass() [PUBLIC] boolean +METHOD isNestmateOf(Class) [PUBLIC] boolean +METHOD isPrimitive() [PUBLIC] boolean +METHOD isRecord() [PUBLIC] boolean +METHOD isSynthetic() [PUBLIC] boolean +METHOD iterator() Iterator +METHOD metaClass(Closure) MetaClass +METHOD mixin(Class) void +METHOD mixin(Class[]) void +METHOD mixin(List) void +METHOD newInstance() [PUBLIC] T +METHOD newInstance(Object[]) Object +METHOD notify() [PUBLIC] void +METHOD notifyAll() [PUBLIC] void +METHOD print(Object) void +METHOD print(PrintWriter) void +METHOD printf(String, Object) void +METHOD printf(String, Object) void +METHOD println() void +METHOD println(Object) void +METHOD println(PrintWriter) void +METHOD putAt(String, Object) void +METHOD respondsTo(String) List +METHOD respondsTo(String, Object) List +METHOD setMetaClass(MetaClass) void +METHOD sleep(long) void +METHOD sleep(long, Closure) void +METHOD split(Closure) Collection +METHOD sprintf(String, Object) String +METHOD sprintf(String, Object) String +METHOD stream() Stream +METHOD tap(Closure) Object +METHOD toGenericString() [PUBLIC] String +METHOD toString() [PUBLIC] String +METHOD use(Class, Closure) Object +METHOD use(List, Closure) Object +METHOD use(Object[]) Object +METHOD wait() [PUBLIC] void +METHOD wait(long) [PUBLIC] void +METHOD wait(long, int) [PUBLIC] void +METHOD with(Closure) Object +METHOD with(boolean, Closure) Object +METHOD withTraits(Class[]) Object +METHOD y() [PUBLIC] Object +FIELD annotatedInterfaces [PUBLIC] AnnotatedType[] +FIELD annotatedSuperclass [PUBLIC] AnnotatedType +FIELD annotation [PUBLIC] boolean +FIELD annotations [PUBLIC] Annotation[] +FIELD anonymousClass [PUBLIC] boolean +FIELD array [PUBLIC] boolean +FIELD canonicalName [PUBLIC] String +FIELD class [PUBLIC] Class +FIELD classLoader [PUBLIC] ClassLoader +FIELD classes [PUBLIC] Class[] +FIELD componentType [PUBLIC] Class +FIELD constructors [PUBLIC] Constructor[] +FIELD declaredAnnotations [PUBLIC] Annotation[] +FIELD declaredClasses [PUBLIC] Class[] +FIELD declaredConstructors [PUBLIC] Constructor[] +FIELD declaredFields [PUBLIC] Field[] +FIELD declaredMethods [PUBLIC] Method[] +FIELD declaringClass [PUBLIC] Class +FIELD enclosingClass [PUBLIC] Class +FIELD enclosingConstructor [PUBLIC] Constructor +FIELD enclosingMethod [PUBLIC] Method +FIELD enum [PUBLIC] boolean +FIELD enumConstants [PUBLIC] Object[] +FIELD fields [PUBLIC] Field[] +FIELD genericInterfaces [PUBLIC] Type[] +FIELD genericSuperclass [PUBLIC] Type +FIELD instance [STATIC, Singleton3 +FIELD interface [PUBLIC] boolean +FIELD interfaces [PUBLIC] Class[] +FIELD localClass [PUBLIC] boolean +FIELD memberClass [PUBLIC] boolean +FIELD methods [PUBLIC] Method[] +FIELD modifiers [PUBLIC] int +FIELD module [PUBLIC] Module +FIELD name [PUBLIC] String +FIELD nestHost [PUBLIC] Class +FIELD nestMembers [PUBLIC] Class[] +FIELD package [PUBLIC] Package +FIELD packageName [PUBLIC] String +FIELD primitive [PUBLIC] boolean +FIELD protectionDomain [PUBLIC] ProtectionDomain +FIELD record [PUBLIC] boolean +FIELD recordComponents [PUBLIC] RecordComponent[] +FIELD simpleName [PUBLIC] String +FIELD superclass [PUBLIC] Class +FIELD synthetic [PUBLIC] boolean +FIELD typeName [PUBLIC] String +FIELD typeParameters [PUBLIC] TypeVariable[] diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.15.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.15.completion new file mode 100644 index 000000000000..05834558b690 --- /dev/null +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.15.completion @@ -0,0 +1,214 @@ +Code completion result for source line: +Singleton3.| +(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) +------------------------------------ +METHOD addShutdownHook(Closure) void +METHOD any() boolean +METHOD any(Closure) boolean +METHOD arrayType() [PUBLIC] Class +METHOD asBoolean() boolean +METHOD asSubclass(Class) [PUBLIC] Class +METHOD asType(Class) Object +METHOD cast(Object) [PUBLIC] T +METHOD collect() Collection +METHOD collect(Closure) List +METHOD collect(Collection, Closure) Collection +METHOD componentType() [PUBLIC] Class +METHOD describeConstable() [PUBLIC] Optional +METHOD descriptorString() [PUBLIC] String +METHOD desiredAssertionStatus() [PUBLIC] boolean +METHOD dump() String +METHOD each(Closure) Object +METHOD eachWithIndex(Closure) Object +METHOD equals(Object) [PUBLIC] boolean +METHOD every() boolean +METHOD every(Closure) boolean +METHOD find() Object +METHOD find(Closure) Object +METHOD findAll() Collection +METHOD findAll(Closure) Collection +METHOD findIndexOf(Closure) int +METHOD findIndexOf(int, Closure) int +METHOD findIndexValues(Closure) List +METHOD findIndexValues(Number, Closur List +METHOD findLastIndexOf(Closure) int +METHOD findLastIndexOf(int, Closure) int +METHOD findResult(Closure) Object +METHOD findResult(Object, Closure) Object +METHOD forName(Module, String) [STATIC, Class +METHOD forName(String) [STATIC, Class +METHOD forName(String, boolean, Class [STATIC, Class +METHOD getAnnotatedInterfaces() [PUBLIC] AnnotatedType[] +METHOD getAnnotatedSuperclass() [PUBLIC] AnnotatedType +METHOD getAnnotation(Class) [PUBLIC] A +METHOD getAnnotations() [PUBLIC] Annotation[] +METHOD getAnnotationsByType(Class) [PUBLIC] A[] +METHOD getAt(String) Object +METHOD getCanonicalName() [PUBLIC] String +METHOD getClass() [PUBLIC] Class +METHOD getClassLoader() [PUBLIC] ClassLoader +METHOD getClasses() [PUBLIC] Class[] +METHOD getComponentType() [PUBLIC] Class +METHOD getConstructor(Class...) [PUBLIC] Constructor +METHOD getConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredAnnotation(Class [PUBLIC] A +METHOD getDeclaredAnnotations() [PUBLIC] Annotation[] +METHOD getDeclaredAnnotationsByType(C [PUBLIC] A[] +METHOD getDeclaredClasses() [PUBLIC] Class[] +METHOD getDeclaredConstructor(Class +METHOD getDeclaredConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredField(String) [PUBLIC] Field +METHOD getDeclaredFields() [PUBLIC] Field[] +METHOD getDeclaredMethod(String, Clas [PUBLIC] Method +METHOD getDeclaredMethods() [PUBLIC] Method[] +METHOD getDeclaringClass() [PUBLIC] Class +METHOD getEnclosingClass() [PUBLIC] Class +METHOD getEnclosingConstructor() [PUBLIC] Constructor +METHOD getEnclosingMethod() [PUBLIC] Method +METHOD getEnumConstants() [PUBLIC] T[] +METHOD getField(String) [PUBLIC] Field +METHOD getFields() [PUBLIC] Field[] +METHOD getGenericInterfaces() [PUBLIC] Type[] +METHOD getGenericSuperclass() [PUBLIC] Type +METHOD getGroovydoc() Groovydoc +METHOD getInstance() [STATIC, Singleton3 +METHOD getInterfaces() [PUBLIC] Class[] +METHOD getLocation() URL +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getMethod(String, Class...) [PUBLIC] Method +METHOD getMethods() [PUBLIC] Method[] +METHOD getModifiers() [PUBLIC] int +METHOD getModule() [PUBLIC] Module +METHOD getName() [PUBLIC] String +METHOD getNestHost() [PUBLIC] Class +METHOD getNestMembers() [PUBLIC] Class[] +METHOD getPackage() [PUBLIC] Package +METHOD getPackageName() [PUBLIC] String +METHOD getProperties() Map +METHOD getProtectionDomain() [PUBLIC] ProtectionDomain +METHOD getRecordComponents() [PUBLIC] RecordComponent[] +METHOD getResource(String) [PUBLIC] URL +METHOD getResourceAsStream(String) [PUBLIC] InputStream +METHOD getSigners() [PUBLIC] Object[] +METHOD getSimpleName() [PUBLIC] String +METHOD getSuperclass() [PUBLIC] Class +METHOD getTypeName() [PUBLIC] String +METHOD getTypeParameters() [PUBLIC] TypeVariable>[] +METHOD grep() Collection +METHOD grep(Object) Collection +METHOD hasProperty(String) MetaProperty +METHOD hashCode() [PUBLIC] int +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isAnnotation() [PUBLIC] boolean +METHOD isAnnotationPresent(Class) [PUBLIC] boolean +METHOD isCase(Object) boolean +METHOD isEnum() [PUBLIC] boolean +METHOD isHidden() [PUBLIC] boolean +METHOD isInstance(Object) [PUBLIC] boolean +METHOD isInterface() [PUBLIC] boolean +METHOD isLocalClass() [PUBLIC] boolean +METHOD isMemberClass() [PUBLIC] boolean +METHOD isNestmateOf(Class) [PUBLIC] boolean +METHOD isPrimitive() [PUBLIC] boolean +METHOD isRecord() [PUBLIC] boolean +METHOD isSealed() [PUBLIC] boolean +METHOD isSynthetic() [PUBLIC] boolean +METHOD iterator() Iterator +METHOD metaClass(Closure) MetaClass +METHOD mixin(Class) void +METHOD mixin(Class[]) void +METHOD mixin(List) void +METHOD newInstance() [PUBLIC] T +METHOD newInstance(Object[]) Object +METHOD notify() [PUBLIC] void +METHOD notifyAll() [PUBLIC] void +METHOD permittedSubclasses() [PUBLIC] ClassDesc[] +METHOD print(Object) void +METHOD print(PrintWriter) void +METHOD printf(String, Object) void +METHOD printf(String, Object) void +METHOD println() void +METHOD println(Object) void +METHOD println(PrintWriter) void +METHOD putAt(String, Object) void +METHOD respondsTo(String) List +METHOD respondsTo(String, Object) List +METHOD setMetaClass(MetaClass) void +METHOD sleep(long) void +METHOD sleep(long, Closure) void +METHOD split(Closure) Collection +METHOD sprintf(String, Object) String +METHOD sprintf(String, Object) String +METHOD stream() Stream +METHOD tap(Closure) Object +METHOD toGenericString() [PUBLIC] String +METHOD toString() [PUBLIC] String +METHOD use(Class, Closure) Object +METHOD use(List, Closure) Object +METHOD use(Object[]) Object +METHOD wait() [PUBLIC] void +METHOD wait(long) [PUBLIC] void +METHOD wait(long, int) [PUBLIC] void +METHOD with(Closure) Object +METHOD with(boolean, Closure) Object +METHOD withTraits(Class[]) Object +METHOD y() [PUBLIC] Object +FIELD annotatedInterfaces [PUBLIC] AnnotatedType[] +FIELD annotatedSuperclass [PUBLIC] AnnotatedType +FIELD annotation [PUBLIC] boolean +FIELD annotations [PUBLIC] Annotation[] +FIELD anonymousClass [PUBLIC] boolean +FIELD array [PUBLIC] boolean +FIELD canonicalName [PUBLIC] String +FIELD class [PUBLIC] Class +FIELD classLoader [PUBLIC] ClassLoader +FIELD classes [PUBLIC] Class[] +FIELD componentType [PUBLIC] Class +FIELD constructors [PUBLIC] Constructor[] +FIELD declaredAnnotations [PUBLIC] Annotation[] +FIELD declaredClasses [PUBLIC] Class[] +FIELD declaredConstructors [PUBLIC] Constructor[] +FIELD declaredFields [PUBLIC] Field[] +FIELD declaredMethods [PUBLIC] Method[] +FIELD declaringClass [PUBLIC] Class +FIELD enclosingClass [PUBLIC] Class +FIELD enclosingConstructor [PUBLIC] Constructor +FIELD enclosingMethod [PUBLIC] Method +FIELD enum [PUBLIC] boolean +FIELD enumConstants [PUBLIC] Object[] +FIELD fields [PUBLIC] Field[] +FIELD genericInterfaces [PUBLIC] Type[] +FIELD genericSuperclass [PUBLIC] Type +FIELD hidden [PUBLIC] boolean +FIELD instance [STATIC, Singleton3 +FIELD interface [PUBLIC] boolean +FIELD interfaces [PUBLIC] Class[] +FIELD localClass [PUBLIC] boolean +FIELD memberClass [PUBLIC] boolean +FIELD methods [PUBLIC] Method[] +FIELD modifiers [PUBLIC] int +FIELD module [PUBLIC] Module +FIELD name [PUBLIC] String +FIELD nestHost [PUBLIC] Class +FIELD nestMembers [PUBLIC] Class[] +FIELD package [PUBLIC] Package +FIELD packageName [PUBLIC] String +FIELD primitive [PUBLIC] boolean +FIELD protectionDomain [PUBLIC] ProtectionDomain +FIELD record [PUBLIC] boolean +FIELD recordComponents [PUBLIC] RecordComponent[] +FIELD sealed [PUBLIC] boolean +FIELD simpleName [PUBLIC] String +FIELD superclass [PUBLIC] Class +FIELD synthetic [PUBLIC] boolean +FIELD typeName [PUBLIC] String +FIELD typeParameters [PUBLIC] TypeVariable[] \ No newline at end of file diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.16.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.16.completion new file mode 100644 index 000000000000..89bb7fb67ae1 --- /dev/null +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.16.completion @@ -0,0 +1,215 @@ +Code completion result for source line: +Singleton3.| +(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) +------------------------------------ +METHOD addShutdownHook(Closure) void +METHOD any() boolean +METHOD any(Closure) boolean +METHOD arrayType() [PUBLIC] Class +METHOD asBoolean() boolean +METHOD asSubclass(Class) [PUBLIC] Class +METHOD asType(Class) Object +METHOD cast(Object) [PUBLIC] T +METHOD collect() Collection +METHOD collect(Closure) List +METHOD collect(Collection, Closure) Collection +METHOD componentType() [PUBLIC] Class +METHOD describeConstable() [PUBLIC] Optional +METHOD descriptorString() [PUBLIC] String +METHOD desiredAssertionStatus() [PUBLIC] boolean +METHOD dump() String +METHOD each(Closure) Object +METHOD eachWithIndex(Closure) Object +METHOD equals(Object) [PUBLIC] boolean +METHOD every() boolean +METHOD every(Closure) boolean +METHOD find() Object +METHOD find(Closure) Object +METHOD findAll() Collection +METHOD findAll(Closure) Collection +METHOD findIndexOf(Closure) int +METHOD findIndexOf(int, Closure) int +METHOD findIndexValues(Closure) List +METHOD findIndexValues(Number, Closur List +METHOD findLastIndexOf(Closure) int +METHOD findLastIndexOf(int, Closure) int +METHOD findResult(Closure) Object +METHOD findResult(Object, Closure) Object +METHOD forName(Module, String) [STATIC, Class +METHOD forName(String) [STATIC, Class +METHOD forName(String, boolean, Class [STATIC, Class +METHOD getAnnotatedInterfaces() [PUBLIC] AnnotatedType[] +METHOD getAnnotatedSuperclass() [PUBLIC] AnnotatedType +METHOD getAnnotation(Class) [PUBLIC] A +METHOD getAnnotations() [PUBLIC] Annotation[] +METHOD getAnnotationsByType(Class) [PUBLIC] A[] +METHOD getAt(String) Object +METHOD getCanonicalName() [PUBLIC] String +METHOD getClass() [PUBLIC] Class +METHOD getClassLoader() [PUBLIC] ClassLoader +METHOD getClasses() [PUBLIC] Class[] +METHOD getComponentType() [PUBLIC] Class +METHOD getConstructor(Class...) [PUBLIC] Constructor +METHOD getConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredAnnotation(Class [PUBLIC] A +METHOD getDeclaredAnnotations() [PUBLIC] Annotation[] +METHOD getDeclaredAnnotationsByType(C [PUBLIC] A[] +METHOD getDeclaredClasses() [PUBLIC] Class[] +METHOD getDeclaredConstructor(Class +METHOD getDeclaredConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredField(String) [PUBLIC] Field +METHOD getDeclaredFields() [PUBLIC] Field[] +METHOD getDeclaredMethod(String, Clas [PUBLIC] Method +METHOD getDeclaredMethods() [PUBLIC] Method[] +METHOD getDeclaringClass() [PUBLIC] Class +METHOD getEnclosingClass() [PUBLIC] Class +METHOD getEnclosingConstructor() [PUBLIC] Constructor +METHOD getEnclosingMethod() [PUBLIC] Method +METHOD getEnumConstants() [PUBLIC] T[] +METHOD getField(String) [PUBLIC] Field +METHOD getFields() [PUBLIC] Field[] +METHOD getGenericInterfaces() [PUBLIC] Type[] +METHOD getGenericSuperclass() [PUBLIC] Type +METHOD getGroovydoc() Groovydoc +METHOD getInstance() [STATIC, Singleton3 +METHOD getInterfaces() [PUBLIC] Class[] +METHOD getLocation() URL +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getMethod(String, Class...) [PUBLIC] Method +METHOD getMethods() [PUBLIC] Method[] +METHOD getModifiers() [PUBLIC] int +METHOD getModule() [PUBLIC] Module +METHOD getName() [PUBLIC] String +METHOD getNestHost() [PUBLIC] Class +METHOD getNestMembers() [PUBLIC] Class[] +METHOD getPackage() [PUBLIC] Package +METHOD getPackageName() [PUBLIC] String +METHOD getPermittedSubclasses() [PUBLIC] Class[] +METHOD getProperties() Map +METHOD getProtectionDomain() [PUBLIC] ProtectionDomain +METHOD getRecordComponents() [PUBLIC] RecordComponent[] +METHOD getResource(String) [PUBLIC] URL +METHOD getResourceAsStream(String) [PUBLIC] InputStream +METHOD getSigners() [PUBLIC] Object[] +METHOD getSimpleName() [PUBLIC] String +METHOD getSuperclass() [PUBLIC] Class +METHOD getTypeName() [PUBLIC] String +METHOD getTypeParameters() [PUBLIC] TypeVariable>[] +METHOD grep() Collection +METHOD grep(Object) Collection +METHOD hasProperty(String) MetaProperty +METHOD hashCode() [PUBLIC] int +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isAnnotation() [PUBLIC] boolean +METHOD isAnnotationPresent(Class) [PUBLIC] boolean +METHOD isCase(Object) boolean +METHOD isEnum() [PUBLIC] boolean +METHOD isHidden() [PUBLIC] boolean +METHOD isInstance(Object) [PUBLIC] boolean +METHOD isInterface() [PUBLIC] boolean +METHOD isLocalClass() [PUBLIC] boolean +METHOD isMemberClass() [PUBLIC] boolean +METHOD isNestmateOf(Class) [PUBLIC] boolean +METHOD isPrimitive() [PUBLIC] boolean +METHOD isRecord() [PUBLIC] boolean +METHOD isSealed() [PUBLIC] boolean +METHOD isSynthetic() [PUBLIC] boolean +METHOD iterator() Iterator +METHOD metaClass(Closure) MetaClass +METHOD mixin(Class) void +METHOD mixin(Class[]) void +METHOD mixin(List) void +METHOD newInstance() [PUBLIC] T +METHOD newInstance(Object[]) Object +METHOD notify() [PUBLIC] void +METHOD notifyAll() [PUBLIC] void +METHOD print(Object) void +METHOD print(PrintWriter) void +METHOD printf(String, Object) void +METHOD printf(String, Object) void +METHOD println() void +METHOD println(Object) void +METHOD println(PrintWriter) void +METHOD putAt(String, Object) void +METHOD respondsTo(String) List +METHOD respondsTo(String, Object) List +METHOD setMetaClass(MetaClass) void +METHOD sleep(long) void +METHOD sleep(long, Closure) void +METHOD split(Closure) Collection +METHOD sprintf(String, Object) String +METHOD sprintf(String, Object) String +METHOD stream() Stream +METHOD tap(Closure) Object +METHOD toGenericString() [PUBLIC] String +METHOD toString() [PUBLIC] String +METHOD use(Class, Closure) Object +METHOD use(List, Closure) Object +METHOD use(Object[]) Object +METHOD wait() [PUBLIC] void +METHOD wait(long) [PUBLIC] void +METHOD wait(long, int) [PUBLIC] void +METHOD with(Closure) Object +METHOD with(boolean, Closure) Object +METHOD withTraits(Class[]) Object +METHOD y() [PUBLIC] Object +FIELD annotatedInterfaces [PUBLIC] AnnotatedType[] +FIELD annotatedSuperclass [PUBLIC] AnnotatedType +FIELD annotation [PUBLIC] boolean +FIELD annotations [PUBLIC] Annotation[] +FIELD anonymousClass [PUBLIC] boolean +FIELD array [PUBLIC] boolean +FIELD canonicalName [PUBLIC] String +FIELD class [PUBLIC] Class +FIELD classLoader [PUBLIC] ClassLoader +FIELD classes [PUBLIC] Class[] +FIELD componentType [PUBLIC] Class +FIELD constructors [PUBLIC] Constructor[] +FIELD declaredAnnotations [PUBLIC] Annotation[] +FIELD declaredClasses [PUBLIC] Class[] +FIELD declaredConstructors [PUBLIC] Constructor[] +FIELD declaredFields [PUBLIC] Field[] +FIELD declaredMethods [PUBLIC] Method[] +FIELD declaringClass [PUBLIC] Class +FIELD enclosingClass [PUBLIC] Class +FIELD enclosingConstructor [PUBLIC] Constructor +FIELD enclosingMethod [PUBLIC] Method +FIELD enum [PUBLIC] boolean +FIELD enumConstants [PUBLIC] Object[] +FIELD fields [PUBLIC] Field[] +FIELD genericInterfaces [PUBLIC] Type[] +FIELD genericSuperclass [PUBLIC] Type +FIELD hidden [PUBLIC] boolean +FIELD instance [STATIC, Singleton3 +FIELD interface [PUBLIC] boolean +FIELD interfaces [PUBLIC] Class[] +FIELD localClass [PUBLIC] boolean +FIELD memberClass [PUBLIC] boolean +FIELD methods [PUBLIC] Method[] +FIELD modifiers [PUBLIC] int +FIELD module [PUBLIC] Module +FIELD name [PUBLIC] String +FIELD nestHost [PUBLIC] Class +FIELD nestMembers [PUBLIC] Class[] +FIELD package [PUBLIC] Package +FIELD packageName [PUBLIC] String +FIELD permittedSubclasses [PUBLIC] Class[] +FIELD primitive [PUBLIC] boolean +FIELD protectionDomain [PUBLIC] ProtectionDomain +FIELD record [PUBLIC] boolean +FIELD recordComponents [PUBLIC] RecordComponent[] +FIELD sealed [PUBLIC] boolean +FIELD simpleName [PUBLIC] String +FIELD superclass [PUBLIC] Class +FIELD synthetic [PUBLIC] boolean +FIELD typeName [PUBLIC] String +FIELD typeParameters [PUBLIC] TypeVariable[] diff --git a/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.9.completion b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.9.completion new file mode 100644 index 000000000000..e8dee6629eba --- /dev/null +++ b/groovy/groovy.editor/test/unit/data/testfiles/completion/transformations/singleton3/Singleton3.groovy.testSingleton3_withoutPrefix.9.completion @@ -0,0 +1,196 @@ +Code completion result for source line: +Singleton3.| +(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) +------------------------------------ +METHOD addShutdownHook(Closure) void +METHOD any() boolean +METHOD any(Closure) boolean +METHOD asBoolean() boolean +METHOD asSubclass(Class) [PUBLIC] Class +METHOD asType(Class) Object +METHOD cast(Object) [PUBLIC] T +METHOD collect() Collection +METHOD collect(Closure) List +METHOD collect(Collection, Closure) Collection +METHOD desiredAssertionStatus() [PUBLIC] boolean +METHOD dump() String +METHOD each(Closure) Object +METHOD eachWithIndex(Closure) Object +METHOD equals(Object) [PUBLIC] boolean +METHOD every() boolean +METHOD every(Closure) boolean +METHOD find() Object +METHOD find(Closure) Object +METHOD findAll() Collection +METHOD findAll(Closure) Collection +METHOD findIndexOf(Closure) int +METHOD findIndexOf(int, Closure) int +METHOD findIndexValues(Closure) List +METHOD findIndexValues(Number, Closur List +METHOD findLastIndexOf(Closure) int +METHOD findLastIndexOf(int, Closure) int +METHOD findResult(Closure) Object +METHOD findResult(Object, Closure) Object +METHOD forName(Module, String) [STATIC, Class +METHOD forName(String) [STATIC, Class +METHOD forName(String, boolean, Class [STATIC, Class +METHOD getAnnotatedInterfaces() [PUBLIC] AnnotatedType[] +METHOD getAnnotatedSuperclass() [PUBLIC] AnnotatedType +METHOD getAnnotation(Class) [PUBLIC] A +METHOD getAnnotations() [PUBLIC] Annotation[] +METHOD getAnnotationsByType(Class) [PUBLIC] A[] +METHOD getAt(String) Object +METHOD getCanonicalName() [PUBLIC] String +METHOD getClass() [PUBLIC] Class +METHOD getClassLoader() [PUBLIC] ClassLoader +METHOD getClasses() [PUBLIC] Class[] +METHOD getComponentType() [PUBLIC] Class +METHOD getConstructor(Class...) [PUBLIC] Constructor +METHOD getConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredAnnotation(Class [PUBLIC] A +METHOD getDeclaredAnnotations() [PUBLIC] Annotation[] +METHOD getDeclaredAnnotationsByType(C [PUBLIC] A[] +METHOD getDeclaredClasses() [PUBLIC] Class[] +METHOD getDeclaredConstructor(Class +METHOD getDeclaredConstructors() [PUBLIC] Constructor[] +METHOD getDeclaredField(String) [PUBLIC] Field +METHOD getDeclaredFields() [PUBLIC] Field[] +METHOD getDeclaredMethod(String, Clas [PUBLIC] Method +METHOD getDeclaredMethods() [PUBLIC] Method[] +METHOD getDeclaringClass() [PUBLIC] Class +METHOD getEnclosingClass() [PUBLIC] Class +METHOD getEnclosingConstructor() [PUBLIC] Constructor +METHOD getEnclosingMethod() [PUBLIC] Method +METHOD getEnumConstants() [PUBLIC] T[] +METHOD getField(String) [PUBLIC] Field +METHOD getFields() [PUBLIC] Field[] +METHOD getGenericInterfaces() [PUBLIC] Type[] +METHOD getGenericSuperclass() [PUBLIC] Type +METHOD getGroovydoc() Groovydoc +METHOD getInstance() [STATIC, Singleton3 +METHOD getInterfaces() [PUBLIC] Class[] +METHOD getLocation() URL +METHOD getMetaClass() MetaClass +METHOD getMetaPropertyValues() List +METHOD getMethod(String, Class...) [PUBLIC] Method +METHOD getMethods() [PUBLIC] Method[] +METHOD getModifiers() [PUBLIC] int +METHOD getModule() [PUBLIC] Module +METHOD getName() [PUBLIC] String +METHOD getPackage() [PUBLIC] Package +METHOD getPackageName() [PUBLIC] String +METHOD getProperties() Map +METHOD getProtectionDomain() [PUBLIC] ProtectionDomain +METHOD getResource(String) [PUBLIC] URL +METHOD getResourceAsStream(String) [PUBLIC] InputStream +METHOD getSigners() [PUBLIC] Object[] +METHOD getSimpleName() [PUBLIC] String +METHOD getSuperclass() [PUBLIC] Class +METHOD getTypeName() [PUBLIC] String +METHOD getTypeParameters() [PUBLIC] TypeVariable>[] +METHOD grep() Collection +METHOD grep(Object) Collection +METHOD hasProperty(String) MetaProperty +METHOD hashCode() [PUBLIC] int +METHOD identity(Closure) Object +METHOD inject(Closure) Object +METHOD inject(Object, Closure) Object +METHOD inspect() String +METHOD invokeMethod(String, Object) Object +METHOD is(Object) boolean +METHOD isAnnotation() [PUBLIC] boolean +METHOD isAnnotationPresent(Class) [PUBLIC] boolean +METHOD isCase(Object) boolean +METHOD isEnum() [PUBLIC] boolean +METHOD isInstance(Object) [PUBLIC] boolean +METHOD isInterface() [PUBLIC] boolean +METHOD isLocalClass() [PUBLIC] boolean +METHOD isMemberClass() [PUBLIC] boolean +METHOD isPrimitive() [PUBLIC] boolean +METHOD isSynthetic() [PUBLIC] boolean +METHOD iterator() Iterator +METHOD metaClass(Closure) MetaClass +METHOD mixin(Class) void +METHOD mixin(Class[]) void +METHOD mixin(List) void +METHOD newInstance() [PUBLIC] T +METHOD newInstance(Object[]) Object +METHOD notify() [PUBLIC] void +METHOD notifyAll() [PUBLIC] void +METHOD print(Object) void +METHOD print(PrintWriter) void +METHOD printf(String, Object) void +METHOD printf(String, Object) void +METHOD println() void +METHOD println(Object) void +METHOD println(PrintWriter) void +METHOD putAt(String, Object) void +METHOD respondsTo(String) List +METHOD respondsTo(String, Object) List +METHOD setMetaClass(MetaClass) void +METHOD sleep(long) void +METHOD sleep(long, Closure) void +METHOD split(Closure) Collection +METHOD sprintf(String, Object) String +METHOD sprintf(String, Object) String +METHOD stream() Stream +METHOD tap(Closure) Object +METHOD toGenericString() [PUBLIC] String +METHOD toString() [PUBLIC] String +METHOD use(Class, Closure) Object +METHOD use(List, Closure) Object +METHOD use(Object[]) Object +METHOD wait() [PUBLIC] void +METHOD wait(long) [PUBLIC] void +METHOD wait(long, int) [PUBLIC] void +METHOD with(Closure) Object +METHOD with(boolean, Closure) Object +METHOD withTraits(Class[]) Object +METHOD y() [PUBLIC] Object +FIELD annotatedInterfaces [PUBLIC] AnnotatedType[] +FIELD annotatedSuperclass [PUBLIC] AnnotatedType +FIELD annotation [PUBLIC] boolean +FIELD annotations [PUBLIC] Annotation[] +FIELD anonymousClass [PUBLIC] boolean +FIELD array [PUBLIC] boolean +FIELD canonicalName [PUBLIC] String +FIELD class [PUBLIC] Class +FIELD classLoader [PUBLIC] ClassLoader +FIELD classes [PUBLIC] Class[] +FIELD componentType [PUBLIC] Class +FIELD constructors [PUBLIC] Constructor[] +FIELD declaredAnnotations [PUBLIC] Annotation[] +FIELD declaredClasses [PUBLIC] Class[] +FIELD declaredConstructors [PUBLIC] Constructor[] +FIELD declaredFields [PUBLIC] Field[] +FIELD declaredMethods [PUBLIC] Method[] +FIELD declaringClass [PUBLIC] Class +FIELD enclosingClass [PUBLIC] Class +FIELD enclosingConstructor [PUBLIC] Constructor +FIELD enclosingMethod [PUBLIC] Method +FIELD enum [PUBLIC] boolean +FIELD enumConstants [PUBLIC] Object[] +FIELD fields [PUBLIC] Field[] +FIELD genericInterfaces [PUBLIC] Type[] +FIELD genericSuperclass [PUBLIC] Type +FIELD instance [STATIC, Singleton3 +FIELD interface [PUBLIC] boolean +FIELD interfaces [PUBLIC] Class[] +FIELD localClass [PUBLIC] boolean +FIELD memberClass [PUBLIC] boolean +FIELD methods [PUBLIC] Method[] +FIELD modifiers [PUBLIC] int +FIELD module [PUBLIC] Module +FIELD name [PUBLIC] String +FIELD package [PUBLIC] Package +FIELD packageName [PUBLIC] String +FIELD primitive [PUBLIC] boolean +FIELD protectionDomain [PUBLIC] ProtectionDomain +FIELD simpleName [PUBLIC] String +FIELD superclass [PUBLIC] Class +FIELD synthetic [PUBLIC] boolean +FIELD typeName [PUBLIC] String +FIELD typeParameters [PUBLIC] TypeVariable[]