.class stub building test

This commit is contained in:
Roman Shevchenko
2012-10-24 12:48:59 +02:00
parent 6058443ee8
commit d75d872c01
19 changed files with 153 additions and 0 deletions
@@ -0,0 +1,12 @@
// IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available
package pkg;
class $BuckClass {
$BuckClass() { /* compiled code */ }
static pkg.$BuckClass getInstance() { /* compiled code */ }
}
@@ -0,0 +1,14 @@
// IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available
package pkg;
final enum EmptyEnum {
;
public static pkg.EmptyEnum[] values() { /* compiled code */ }
public static pkg.EmptyEnum valueOf(java.lang.String s) { /* compiled code */ }
private EmptyEnum() { /* compiled code */ }
}
@@ -0,0 +1,12 @@
// IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available
package pkg;
interface ExtMethods {
void m1();
void m2() { /* compiled code */ }
}
@@ -0,0 +1,15 @@
// IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available
package pkg;
class MethodReceiver {
MethodReceiver() { /* compiled code */ }
void m(int i) { /* compiled code */ }
static @interface A {
}
}
@@ -0,0 +1,9 @@
// IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available
package pkg;
@pkg.PkgAnno
interface $$package-info /* Real name is 'package-info' */ {
}
@@ -0,0 +1,5 @@
package pkg;
class $BuckClass {
static $BuckClass getInstance() { return null; }
}
@@ -0,0 +1,3 @@
package pkg;
enum EmptyEnum { }
@@ -0,0 +1,6 @@
package pkg;
interface ExtMethods {
void m1();
void m2() default { System.out.println("Hello there."); }
}
@@ -0,0 +1,6 @@
package pkg;
class MethodReceiver {
@interface A { }
void m(@A MethodReceiver this, int i) { System.out.println("i=" + i); }
}
@@ -0,0 +1,3 @@
package pkg;
@interface PkgAnno { }
@@ -0,0 +1,2 @@
@PkgAnno
package pkg;