mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
basic completion tests -> community
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class A{
|
||||
{
|
||||
X aaa, aab;
|
||||
|
||||
(A)aa<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class A{
|
||||
private A myClassCombo;
|
||||
protected void createNorthPanel() {
|
||||
((A)myClassCombo<caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class A{
|
||||
private A myClassCombo;
|
||||
protected void createNorthPanel() {
|
||||
((A)my<caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class A{
|
||||
{
|
||||
boolean xxx = xxx instanceof <caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
class AyByCyDyEy {}
|
||||
|
||||
public class Foo {
|
||||
|
||||
{
|
||||
ABCDE<caret>
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class Foo {
|
||||
|
||||
{
|
||||
ABCDE<caret>
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import foo.bar.AxBxCxDxEx;
|
||||
|
||||
public class Foo {
|
||||
|
||||
{
|
||||
AxBxCxDxEx<caret>
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
@interface MyAnnotation {
|
||||
Object value();
|
||||
String name();
|
||||
}
|
||||
|
||||
@MyAnnotation(v<caret>)
|
||||
class MyClass {}
|
||||
@@ -0,0 +1,7 @@
|
||||
@interface MyAnnotation {
|
||||
Object value();
|
||||
String name();
|
||||
}
|
||||
|
||||
@MyAnnotation(value = null, n<caret>)
|
||||
class MyClass {}
|
||||
@@ -0,0 +1,7 @@
|
||||
@interface MyAnnotation {
|
||||
Object value();
|
||||
String name();
|
||||
}
|
||||
|
||||
@MyAnnotation(value = null, name = <caret>)
|
||||
class MyClass {}
|
||||
@@ -0,0 +1,6 @@
|
||||
@interface MyAnnotation {
|
||||
Object value();
|
||||
}
|
||||
|
||||
@My<caret>
|
||||
class MyClass {}
|
||||
@@ -0,0 +1,6 @@
|
||||
@interface MyAnnotation {
|
||||
Object value();
|
||||
}
|
||||
|
||||
@MyAnnotation(<caret>)
|
||||
class MyClass {}
|
||||
@@ -0,0 +1,16 @@
|
||||
enum Setup {
|
||||
NO_CONNECTION,
|
||||
CONNECTION
|
||||
}
|
||||
|
||||
@Target(value = ElementType.METHOD)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface Test {
|
||||
Setup setup();
|
||||
}
|
||||
|
||||
public class Client {
|
||||
@Test(setup = Setup.CO<caret>)
|
||||
public void run() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
enum Setup {
|
||||
NO_CONNECTION,
|
||||
CONNECTION
|
||||
}
|
||||
|
||||
@Target(value = ElementType.METHOD)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface Test {
|
||||
Setup setup();
|
||||
}
|
||||
|
||||
public class Client {
|
||||
@Test(setup = Setup.CONNECTION<caret>)
|
||||
public void run() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
@interface MyAnnotation {
|
||||
String documentation() default "";
|
||||
}
|
||||
|
||||
@My<caret>
|
||||
class MyClass {}
|
||||
@@ -0,0 +1,6 @@
|
||||
@interface MyAnnotation {
|
||||
String documentation() default "";
|
||||
}
|
||||
|
||||
@MyAnnotation<caret>
|
||||
class MyClass {}
|
||||
@@ -0,0 +1,7 @@
|
||||
@interface MyAnnotation {
|
||||
int value();
|
||||
String name();
|
||||
}
|
||||
|
||||
@MyAnnotation(value = 0, n<caret>)
|
||||
class MyClass {}
|
||||
@@ -0,0 +1,7 @@
|
||||
@interface MyAnnotation {
|
||||
int value();
|
||||
String name();
|
||||
}
|
||||
|
||||
@MyAnnotation(value = 0, name = <caret>)
|
||||
class MyClass {}
|
||||
@@ -0,0 +1,6 @@
|
||||
@interface MyAnnotation {
|
||||
Class value();
|
||||
}
|
||||
|
||||
@MyAnnotation(<caret>A.class)
|
||||
class MyClass {}
|
||||
@@ -0,0 +1,6 @@
|
||||
@interface MyAnnotation {
|
||||
Class value();
|
||||
}
|
||||
|
||||
@MyAnnotation(value = <caret>A.class)
|
||||
class MyClass {}
|
||||
@@ -0,0 +1,12 @@
|
||||
@interface MyAnno {
|
||||
String xxx();
|
||||
String yyy();
|
||||
}
|
||||
|
||||
public class MyFirstTestClassFoo {
|
||||
|
||||
{
|
||||
MyAn<caret>
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
@interface MyAnno {
|
||||
String xxx();
|
||||
String yyy();
|
||||
}
|
||||
|
||||
/**
|
||||
* @see MyAn<caret>
|
||||
*/
|
||||
public class MyFirstTestClassFoo {
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
@interface MyAnno {
|
||||
String xxx();
|
||||
String yyy();
|
||||
}
|
||||
|
||||
/**
|
||||
* @see MyAnno<caret>
|
||||
*/
|
||||
public class MyFirstTestClassFoo {
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
@interface MyAnno {
|
||||
String xxx();
|
||||
String yyy();
|
||||
}
|
||||
|
||||
public class MyFirstTestClassFoo {
|
||||
|
||||
MyAn<caret>
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
@interface MyAnno {
|
||||
String xxx();
|
||||
String yyy();
|
||||
}
|
||||
|
||||
public class MyFirstTestClassFoo {
|
||||
|
||||
MyAnno<caret>
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
@interface MyAnno {
|
||||
String xxx();
|
||||
String yyy();
|
||||
}
|
||||
|
||||
public class MyFirstTestClassFoo {
|
||||
|
||||
{
|
||||
MyAnno<caret>
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
@interface MyAnno {
|
||||
String xxx();
|
||||
String yyy();
|
||||
}
|
||||
|
||||
public class MyFirstTestClassFoo {
|
||||
|
||||
@MyAn<caret>
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
@interface MyAnno {
|
||||
String xxx();
|
||||
String yyy();
|
||||
}
|
||||
|
||||
public class MyFirstTestClassFoo {
|
||||
|
||||
@MyAnno(<caret>)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
@java.la<caret>
|
||||
class Foo {
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
@java.lang.<caret>
|
||||
class Foo {
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
@interface Anno {
|
||||
String foo();
|
||||
String bar();
|
||||
}
|
||||
|
||||
@Anno(<caret>)
|
||||
class Foo {}
|
||||
@@ -0,0 +1,7 @@
|
||||
@interface MyAnnotation {
|
||||
Object value();
|
||||
String name();
|
||||
}
|
||||
|
||||
@MyAnnotation(value = <caret>)
|
||||
class MyClass {}
|
||||
@@ -0,0 +1,3 @@
|
||||
public class Main {
|
||||
@in<caret>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public class Main {
|
||||
@ab<caret>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public class Main {
|
||||
@ab<caret>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public class Main {
|
||||
@interface <caret>
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class A{
|
||||
{
|
||||
Integer i;
|
||||
i.<caret>
|
||||
i;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public class Main {
|
||||
|
||||
{
|
||||
equals(tr<caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public class Main {
|
||||
|
||||
{
|
||||
equals(true<caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
public class Foooo {
|
||||
|
||||
{
|
||||
Xxx a;
|
||||
switch (a) {
|
||||
case F<caret>
|
||||
}
|
||||
}
|
||||
|
||||
enum Xxx {
|
||||
FOO, BAR
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
public class Foooo {
|
||||
|
||||
{
|
||||
Xxx a;
|
||||
switch (a) {
|
||||
case FOO:<caret>
|
||||
}
|
||||
}
|
||||
|
||||
enum Xxx {
|
||||
FOO, BAR
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public class Aaaaaaa {
|
||||
|
||||
Object foo() {}
|
||||
|
||||
void bar() {
|
||||
if (foo() instanceof String) {
|
||||
foo().substr<caret>
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public class Aaaaaaa {
|
||||
|
||||
Object foo() {}
|
||||
|
||||
void bar() {
|
||||
if (foo() instanceof String) {
|
||||
((String) foo()).substring(<caret>)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public abstract class Zzza {
|
||||
|
||||
void foo(Object o) {
|
||||
if (o instanceof String) {
|
||||
o.substr<caret>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public abstract class Zzza {
|
||||
|
||||
void foo(Object o) {
|
||||
if (o instanceof String) {
|
||||
((String) o).substring(<caret>)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class A{
|
||||
{
|
||||
long zzz = 0;
|
||||
int asd = (<caret>)zzz
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class A{
|
||||
{
|
||||
long zzz = 0;
|
||||
int asd = (<caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class A{
|
||||
{
|
||||
long zzz = 0;
|
||||
int asd = (<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
public class Aaaaaaa {
|
||||
|
||||
Object foo() {
|
||||
return null;
|
||||
}
|
||||
|
||||
Object foobar() {
|
||||
return null;
|
||||
}
|
||||
|
||||
void bar() {
|
||||
try {
|
||||
|
||||
if (foo() instanceof String) {
|
||||
//foo().s
|
||||
}
|
||||
try {
|
||||
try {
|
||||
try {
|
||||
try {
|
||||
if (foobar() instanceof String) {
|
||||
}
|
||||
foobar().substr<caret>
|
||||
} finally {
|
||||
try {
|
||||
System.out.println("");
|
||||
} catch (Exception e) {
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
try {
|
||||
try {
|
||||
if (foo() instanceof String) {
|
||||
System.out.println("");
|
||||
}
|
||||
} finally {
|
||||
try {
|
||||
System.out.println("");
|
||||
} catch (Exception e) {
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
try {
|
||||
System.out.println("");
|
||||
} catch (Exception e) {
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
try {
|
||||
System.out.println("");
|
||||
} catch (Exception e) {
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
|
||||
} finally {
|
||||
try {
|
||||
System.out.println("");
|
||||
} catch (Exception e) {
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class Foo {
|
||||
int a = new Foo().
|
||||
t<caret>a().length(). ..
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class Foo {
|
||||
int a = new Foo().
|
||||
toString()<caret>a().length(). ..
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
@Anno(String.cla<caret>)
|
||||
public class Main {
|
||||
}
|
||||
|
||||
@interface Anno {
|
||||
Class value();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
@Anno(String.class<caret>)
|
||||
public class Main {
|
||||
}
|
||||
|
||||
@interface Anno {
|
||||
Class value();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class FooBar {
|
||||
{
|
||||
new FooB<caret>().
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class FooBar {
|
||||
{
|
||||
new FooBar()<caret>.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class Xxx {
|
||||
|
||||
{
|
||||
this.e<caret>Xxx.class;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class Xxx {
|
||||
|
||||
{
|
||||
this.equals(<caret>)Xxx.class;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
class ABCDE{
|
||||
public AB<caret>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
class ABCDE{
|
||||
public AB<caret>(){}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
@interface Anno {
|
||||
String value();
|
||||
}
|
||||
|
||||
public class FooBar {
|
||||
@Anno(FoB<caret>)
|
||||
void m() {}
|
||||
|
||||
String FooBarrrrrr() {}
|
||||
|
||||
public static String FooBarrrr() {}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
@interface Anno {
|
||||
String value();
|
||||
}
|
||||
|
||||
public class FooBar {
|
||||
@Anno(FooBar<caret>)
|
||||
void m() {}
|
||||
|
||||
String FooBarrrrrr() {}
|
||||
|
||||
public static String FooBarrrr() {}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public class Foo {
|
||||
|
||||
{
|
||||
do {
|
||||
|
||||
} while (toSt<caret>);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public class Foo {
|
||||
|
||||
{
|
||||
do {
|
||||
|
||||
} while (toString()<caret>);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class AaaaBbbb {}
|
||||
class AaaaBbbbb {}
|
||||
|
||||
class Foo {
|
||||
|
||||
|
||||
{
|
||||
AaBb<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class AaaaBbbb {}
|
||||
class AaaaBbbbb {}
|
||||
|
||||
class Foo {
|
||||
|
||||
|
||||
{
|
||||
AaaaBbbb~<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public abstract class Zzza {
|
||||
|
||||
void foo(Object o) {
|
||||
if (o instanceof String) {
|
||||
o.toStr<caret>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public abstract class Zzza {
|
||||
|
||||
void foo(Object o) {
|
||||
if (o instanceof String) {
|
||||
o.toString()<caret>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public class Foo {
|
||||
|
||||
void bar() {
|
||||
equals(new Object() {
|
||||
boolean bar() {
|
||||
return f<caret>
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class A {
|
||||
public class B {
|
||||
void m() {
|
||||
A.thi<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class A {
|
||||
public class B {
|
||||
void m() {
|
||||
A.this<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
public enum Foo { private Fo<caret> }
|
||||
@@ -0,0 +1 @@
|
||||
public enum Foo { private Foo<caret> }
|
||||
@@ -0,0 +1,11 @@
|
||||
public class Main {
|
||||
interface Account {}
|
||||
|
||||
public static void main(String[] args) {
|
||||
java.util.List list;
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
Object o = (Acco<caret>list.get(i);
|
||||
System.out.println(o);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public class Main {
|
||||
interface Account {}
|
||||
|
||||
public static void main(String[] args) {
|
||||
java.util.List list;
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
Object o = (Account<caret>list.get(i);
|
||||
System.out.println(o);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class List<T> {}
|
||||
|
||||
class Foo {
|
||||
|
||||
List<? e<caret>>
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class List<T> {}
|
||||
|
||||
class Foo {
|
||||
|
||||
List<? extends <caret>>
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public class FooBar {
|
||||
|
||||
String getFoo();
|
||||
String getBar();
|
||||
|
||||
{
|
||||
String s = new FooBar().<caret>
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public class FooBar {
|
||||
|
||||
String getFoo();
|
||||
String getBar();
|
||||
|
||||
{
|
||||
String s = new FooBar().get<caret>
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class MyFirstTestClassFoo {
|
||||
|
||||
{
|
||||
MFT<caret>x
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class MyFirstTestClassFoo {
|
||||
|
||||
{
|
||||
MyFirstTestClassFoo.<caret>x
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class Foo {
|
||||
int foo();
|
||||
|
||||
{
|
||||
fo<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class Foo {
|
||||
int foo();
|
||||
|
||||
{
|
||||
foo().<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class MyFirstTestClassFoo {
|
||||
|
||||
{
|
||||
getCl<caret>(abc)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class MyFirstTestClassFoo {
|
||||
|
||||
{
|
||||
getClass<caret>(abc)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public class Quetzalcoatl {
|
||||
public static final String FOO_BAR;
|
||||
public static final String FOO_CHAR;
|
||||
}
|
||||
|
||||
public class Beda {
|
||||
{
|
||||
Quetzalcoatl.F_B<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public class Quetzalcoatl {
|
||||
public static final String FOO_BAR;
|
||||
public static final String FOO_CHAR;
|
||||
}
|
||||
|
||||
public class Beda {
|
||||
{
|
||||
Quetzalcoatl.FOO_BAR<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class DoubleTypeCompletion {
|
||||
|
||||
private final b<caret>
|
||||
|
||||
DoubleTypeCompletion(boolean result) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class A{
|
||||
public class B{}
|
||||
public class C extends Exception{}
|
||||
public int method() throws <caret>
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
class A{
|
||||
A nullA = new A();
|
||||
A x = null<caret>
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
class A{
|
||||
A nullA = new A();
|
||||
A x = nullA<caret>
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
public class Main {
|
||||
Main getParent() {}
|
||||
|
||||
{
|
||||
Main v;
|
||||
for (;;v.getPa<caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
public class Main {
|
||||
Main getParent() {}
|
||||
|
||||
{
|
||||
Main v;
|
||||
for (;;v.getParent()<caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
class B {
|
||||
void setA(int i) {}
|
||||
void setB(int i) {}
|
||||
}
|
||||
|
||||
class C {
|
||||
B b;
|
||||
}
|
||||
|
||||
class A {
|
||||
|
||||
C c;
|
||||
|
||||
A() {
|
||||
c.b.set<caret>A();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class A {
|
||||
int getAAA(int param) { return 0; }
|
||||
public void actionPerformed(A a) {
|
||||
a.getAA<caret>
|
||||
((A)a).actionPerformed(this);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class A {
|
||||
int getAAA(int param) { return 0; }
|
||||
public void actionPerformed(A a) {
|
||||
a.getAAA(<caret>)
|
||||
((A)a).actionPerformed(this);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class A {
|
||||
int getAAA(int param) { return 0; }
|
||||
public void actionPerformed(A a) {
|
||||
a.getAAA
|
||||
(<caret>(A)a).actionPerformed(this);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class A {
|
||||
void getAAA(int param) { return 0; }
|
||||
public void actionPerformed(A a) {
|
||||
a.getAA<caret>zzz(239);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class A {
|
||||
void getAAA(int param) { return 0; }
|
||||
public void actionPerformed(A a) {
|
||||
a.getAAA(<caret>239);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public class FooBar {
|
||||
|
||||
StringBuf<caret> foo() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public class FooBar {
|
||||
|
||||
StringBuf<caret>boo() {
|
||||
}
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user