dot & keyword completion tests -> community

This commit is contained in:
peter
2009-10-15 19:04:13 +01:00
parent 96921f655e
commit 652ed5c055
81 changed files with 505 additions and 0 deletions
@@ -0,0 +1,11 @@
class Dot1{
class A{
int a = 0;
int foo(){
}
}
static {
int a = new A().<caret>
}
}
@@ -0,0 +1,18 @@
/**
* Created by IntelliJ IDEA.
* User: ik
* Date: 23.01.2003
* Time: 17:06:57
* To change this template use Options | File Templates.
*/
public class Dot9 {
public static class A{
public A(){}
public void foo(){}
}
public static void main(String[] args) {
long[] arr = new long[0];
arr.<caret>
}
}
@@ -0,0 +1,18 @@
/**
* Created by IntelliJ IDEA.
* User: ik
* Date: 27.01.2003
* Time: 19:35:37
* To change this template use Options | File Templates.
*/
public class Dot11 extends A {
void foo1(){}
{
this.<caret>
}
}
class A{
void foo(){}
}
@@ -0,0 +1,20 @@
/**
* Created by IntelliJ IDEA.
* User: ik
* Date: 27.01.2003
* Time: 19:37:12
* To change this template use Options | File Templates.
*/
public class Dot12 extends A {
void foo1(){}
{
super.<caret>
}
}
class A{
void foo(){}
}
@@ -0,0 +1,11 @@
class Dot2{
class A{
static int a = 0;
static int foo(){
}
}
static {
int a = A.<caret>
}
}
@@ -0,0 +1,15 @@
class Dot3{
class A{
int a = 0;
int foo(){
}
}
static {
Object a = new A(){
static int foo(){
int c = super.<caret>
}
};
}
}
@@ -0,0 +1,10 @@
class Dot4{
class A{
static int a = 0;
int foo(){
}
}
static {
int a = new A().<caret>
}
}
@@ -0,0 +1,12 @@
import java.<caret>
class Dot5{
class A{
static int a = 0;
int foo(){
}
}
static {
int a = new A().
}
}
@@ -0,0 +1,5 @@
class Dot6{
public static void main(String[] args){
int a = args[0].<caret>
}
}
@@ -0,0 +1,5 @@
class Dot7{
public static void main(String[] args){
int a = args.<caret>
}
}
@@ -0,0 +1,19 @@
/**
* Created by IntelliJ IDEA.
* User: ik
* Date: 23.01.2003
* Time: 15:04:45
* To change this template use Options | File Templates.
*/
public class Dot8 {
{
new A().<caret>
}
}
class A{
public String toString(){
return "".;
}
}
@@ -0,0 +1,17 @@
/**
* Created by IntelliJ IDEA.
* User: ik
* Date: 23.01.2003
* Time: 17:06:57
* To change this template use Options | File Templates.
*/
public class Dot9 {
public static class A{
public A(){}
public void foo(){}
}
public static void main(String[] args) {
new A().<caret>
}
}