mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-113062 (using file naming convention to tell top-level classes from inner)
Allows to correctly identify and parse classes with "$" abuse.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
|
||||
// IntelliJ API Decompiler stub source generated from a class file
|
||||
// Implementation of methods is not available
|
||||
|
||||
public class DefaultPackage {
|
||||
public DefaultPackage() { /* compiled code */ }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
// IntelliJ API Decompiler stub source generated from a class file
|
||||
// Implementation of methods is not available
|
||||
|
||||
package pkg;
|
||||
|
||||
public class LocalClass {
|
||||
public LocalClass() { /* compiled code */ }
|
||||
|
||||
public java.lang.Runnable runnable() { /* compiled code */ }
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
|
||||
// IntelliJ API Decompiler stub source generated from a class file
|
||||
// Implementation of methods is not available
|
||||
|
||||
package pkg;
|
||||
|
||||
public class Middle$Buck {
|
||||
public Middle$Buck() { /* compiled code */ }
|
||||
|
||||
private static class Inner$Buck {
|
||||
private Inner$Buck() { /* compiled code */ }
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
public class DefaultPackage {
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package pkg;
|
||||
|
||||
public class LocalClass {
|
||||
public Runnable runnable() {
|
||||
class MyRunnable implements Runnable {
|
||||
public void run() {
|
||||
System.out.println(this);
|
||||
}
|
||||
}
|
||||
|
||||
return new MyRunnable();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package pkg;
|
||||
|
||||
public class Middle$Buck {
|
||||
private static class Inner$Buck {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user