ClassNameCompletionTest -> community

This commit is contained in:
peter
2009-10-15 19:04:14 +01:00
parent 4c2eb97ca9
commit 3d76ccc31a
74 changed files with 619 additions and 0 deletions
@@ -0,0 +1 @@
abc = StrinBui<caret>
@@ -0,0 +1 @@
abc = java.lang.StringBuilder<caret>
@@ -0,0 +1,5 @@
class A{
void foo() {
throw new OurException()<caret>
}
}
@@ -0,0 +1,5 @@
class A{
void foo() {
throw new OurNotException.InnerException()<caret>
}
}
@@ -0,0 +1,5 @@
class A{
void foo() {
throw new Our<caret>
}
}
@@ -0,0 +1,5 @@
class A{
void foo() {
throw new Inner<caret>
}
}
@@ -0,0 +1,3 @@
public class OurException extends Throwable{
}
@@ -0,0 +1,6 @@
public class OurNotException {
public static class InnerException extends Throwable{
}
public static class InnerNonException{
}
}
@@ -0,0 +1,7 @@
import pack.AClass;
public class Test1 {
public void foo() {
new AClass()<caret>
}
}
@@ -0,0 +1,7 @@
import pack.WithInnerAClass;
public class Test1 {
public void foo() {
new WithInnerAClass()<caret>
}
}
@@ -0,0 +1,5 @@
public class Test1 {
public void foo() {
new ACl<caret>
}
}
@@ -0,0 +1,5 @@
public class Test1 {
public void foo() {
new WithInnerACl<caret>
}
}
@@ -0,0 +1,4 @@
package pack;
public class AClass{
}
@@ -0,0 +1,5 @@
package pack;
public class WithInnerAClass{
public static class Inner{}
}
@@ -0,0 +1,5 @@
class FooFooFooFooFoo {
{
Object[] a = new FFFFF<caret>[];
}
}
@@ -0,0 +1,5 @@
class FooFooFooFooFoo {
{
Object[] a = new FooFooFooFooFoo<caret>[];
}
}
@@ -0,0 +1,8 @@
class LifeUniverseEverythingEntity {}
class LifeUniverseEverythingManager {}
class FooFooFooFooFoo {
{
LUEv<caret>
}
}
@@ -0,0 +1,8 @@
class LifeUniverseEverythingEntity {}
class LifeUniverseEverythingManager {}
class FooFooFooFooFoo {
{
LifeUniverseEverything<caret>
}
}
@@ -0,0 +1,5 @@
class FooFooFooFooFoo {
{
StringBuf<caret>
}
}
@@ -0,0 +1,5 @@
class FooFooFooFooFoo {
{
StringBuffer<caret>
}
}
@@ -0,0 +1,5 @@
class FooFooFooFooFoo {
{
new FFFFF<caret>();
}
}
@@ -0,0 +1,5 @@
class FooFooFooFooFoo {
{
new FooFooFooFooFoo()<caret>;
}
}
@@ -0,0 +1,7 @@
class FooFooFooFooFoo {
{
int a = 0;
ABCD<caret>
foo(new String[]{"a"}, 1);
}
}
@@ -0,0 +1,9 @@
import foo.bar.ABCDEF;
class FooFooFooFooFoo {
{
int a = 0;
ABCDEF<caret>
foo(new String[]{"a"}, 1);
}
}
@@ -0,0 +1,7 @@
class FooFooFooFooFoo {
{
new FFFFF<caret>(x);
}
FooFooFooFooFoo(int x) {}
}
@@ -0,0 +1,7 @@
class FooFooFooFooFoo {
{
new FooFooFooFooFoo(<caret>x);
}
FooFooFooFooFoo(int x) {}
}
@@ -0,0 +1,8 @@
@interface Column {
String name();
}
@Column(<caret>)
@interface Annotation {
}
@@ -0,0 +1,8 @@
@interface Column {
String name();
}
Colu<caret>
@interface Annotation {
}
@@ -0,0 +1,8 @@
import java.io.FileInputStream;
class Main {
public static void main(String[] args) {
equals(FileInputStream<caret>aaa);
}
}
@@ -0,0 +1,6 @@
class Main {
public static void main(String[] args) {
equals(FileInputStrea<caret>aaa);
}
}
@@ -0,0 +1,6 @@
class Main {
public static void main(String[] args) {
// java.io.FileInputStream<caret>
}
}
@@ -0,0 +1,6 @@
class Main {
public static void main(String[] args) {
// java.FileInputStrea<caret>
}
}
@@ -0,0 +1,8 @@
import static java.io.FileInputStream<caret>
class Main {
public static void main(String[] args) {
equals(FileInputStrea<caret>aaa);
}
}
@@ -0,0 +1,8 @@
import static FileInpStre<caret>
class Main {
public static void main(String[] args) {
equals(FileInputStrea<caret>aaa);
}
}
@@ -0,0 +1,4 @@
class Main {
foo.bar.AxBxCxDxEx<caret>
}
@@ -0,0 +1,3 @@
class ZZZZZZ{}
class A implements Foo, ZZZZZZ<caret>{}
@@ -0,0 +1,3 @@
class ZZZZZZ{}
class A implements Foo, ZZZ<caret>{}
@@ -0,0 +1,3 @@
class ZZZZZZ{}
class A implements Foo<ZZZZZZ<caret>
@@ -0,0 +1,3 @@
class ZZZZZZ{}
class A implements Foo<ZZZ<caret>
@@ -0,0 +1,5 @@
class MyClass1 {
{
MyClass1<caret>foo()
}
}
@@ -0,0 +1,5 @@
class MyClass1 {
{
MCla<caret>foo()
}
}
@@ -0,0 +1,5 @@
class MyClass1 {
{
MyClass1<caret>f.oo()
}
}
@@ -0,0 +1,5 @@
class MyClass1 {
{
MCla<caret>f.oo()
}
}
@@ -0,0 +1,3 @@
class MyClass1 {
MyClass1<caret>
}
@@ -0,0 +1,3 @@
class MyClass1 {
MyCla<caret>
}
@@ -0,0 +1,5 @@
package aaa;
@interface MyObjectType {}
class A {
aaa.MyObjectType<caret>
}
@@ -0,0 +1,5 @@
package aaa;
@interface MyObjectType {}
class A {
aaa.MyObj<caret>
}
@@ -0,0 +1,5 @@
package aaa;
@interface MyObjectType {}
class A {
MyObjectType<caret>
}
@@ -0,0 +1,5 @@
package aaa;
@interface MyObjectType {}
class A {
MyObj<caret>
}
@@ -0,0 +1,7 @@
package aaa;
@interface MyObjectType {}
class A {
void aaa() {
getClass().getAnnotations(MyObjectType<caret>)
}
}
@@ -0,0 +1,7 @@
package aaa;
@interface MyObjectType {}
class A {
void aaa() {
getClass().getAnnotations(MyObject<caret>)
}
}
@@ -0,0 +1,9 @@
package aaa;
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@interface MyObjectType {}
class A {
MyObjectType<caret>
}
@@ -0,0 +1,9 @@
package aaa;
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@interface MyObjectType {}
class A {
My<caret>
}
@@ -0,0 +1,5 @@
class Test1 {
public void foo(){
Test1<caret>
}
}
@@ -0,0 +1,5 @@
class Test1 {
public void foo(){
Tes<caret>
}
}
@@ -0,0 +1,3 @@
class ZZZZZZ{}
class A implements ZZZZZZ<caret>{}
@@ -0,0 +1,3 @@
class ZZZZZZ{}
class A implements ZZZ<caret>{}
@@ -0,0 +1,3 @@
interface ZZZZZZ{}
class A implements ZZZZZZ<caret>{}
@@ -0,0 +1,3 @@
interface ZZZZZZ{}
class A implements ZZZ<caret>{}
@@ -0,0 +1,5 @@
class MyObject {}
@interface MyObjectType {}
@MyObjectType<caret>
class A {}
@@ -0,0 +1,5 @@
class MyObject {}
@interface MyObjectType {}
@MyObj<caret>
class A {}
@@ -0,0 +1,5 @@
@interface MyObjectType {}
class A {
void aaa(@MyObjectType<caret>);
}
@@ -0,0 +1,5 @@
@interface MyObjectType {}
class A {
void aaa(@MyObj<caret>);
}
@@ -0,0 +1,3 @@
import MyObjectType<caret>
@interface MyObjectType {}
class A {}
@@ -0,0 +1,3 @@
import MyObj<caret>
@interface MyObjectType {}
class A {}
@@ -0,0 +1,5 @@
import MyObjectType<caret>
@interface MyObjectType {
int param();
}
class A {}
@@ -0,0 +1,5 @@
import MyObj<caret>
@interface MyObjectType {
int param();
}
class A {}
@@ -0,0 +1,8 @@
@interface MyObjectType {
int param();
}
class A {
void foo() {
MyObjectType<caret>
}
}
@@ -0,0 +1,8 @@
@interface MyObjectType {
int param();
}
class A {
void foo() {
MyOb<caret>
}
}
@@ -0,0 +1,5 @@
class MyClass1 {
{
MyClass1<caret>f.oo()
}
}
@@ -0,0 +1,5 @@
class MyClass1 {
{
MCla<caret>f.oo()
}
}