summaryrefslogtreecommitdiff
path: root/src/test/resources/AutocompleteMembers.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/AutocompleteMembers.java')
-rw-r--r--src/test/resources/AutocompleteMembers.java52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/test/resources/AutocompleteMembers.java b/src/test/resources/AutocompleteMembers.java
new file mode 100644
index 0000000..c685fa2
--- /dev/null
+++ b/src/test/resources/AutocompleteMembers.java
@@ -0,0 +1,52 @@
+public class AutocompleteMembers {
+ private String field;
+ private static String fieldStatic;
+
+ {
+ f; // field, fieldStatic
+ m; // method, methodStatic
+ a; //
+ this.f; // field
+ this.m; // method
+ AutocompleteMembers.f; // fieldStatic
+ AutocompleteMembers.m; // methodStatic
+ this::m; // method
+ AutocompleteMembers::m; // methodStatic
+ }
+
+ static {
+ f; // fieldStatic
+ m; // methodStatic
+ a; //
+ this.f; //
+ this.m; //
+ AutocompleteMembers.f; // fieldStatic
+ AutocompleteMembers.m; // methodStatic
+ this::m; //
+ AutocompleteMembers::m; // methodStatic
+ }
+
+ private void method(String argument) {
+ f; // field, fieldStatic
+ m; // method, methodStatic
+ a; // argument
+ this.f; // field
+ this.m; // method
+ AutocompleteMembers.f; // fieldStatic
+ AutocompleteMembers.m; // methodStatic
+ this::m; // method
+ AutocompleteMembers::m; // methodStatic
+ }
+
+ private static void methodStatic(String argument) {
+ f; // fieldStatic
+ m; // methodStatic
+ a; // argument
+ this.f; //
+ this.m; //
+ AutocompleteMembers.f; // fieldStatic
+ AutocompleteMembers.m; // methodStatic
+ this::m; //
+ AutocompleteMembers::m; // methodStatic
+ }
+} \ No newline at end of file