summaryrefslogtreecommitdiffstats
path: root/testData/results/TestConstants.dec
diff options
context:
space:
mode:
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-09-01 18:54:33 +0400
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-09-01 18:54:33 +0400
commite629738a46ca5e82ad93939f3de7c05c37512323 (patch)
treee50253688a2b7eae45c3534985938178e54440d2 /testData/results/TestConstants.dec
parentd5fe121d1d320085d3d80e4267f0bbcfd320a333 (diff)
downloadfernflower-e629738a46ca5e82ad93939f3de7c05c37512323.tar
fernflower-e629738a46ca5e82ad93939f3de7c05c37512323.tar.gz
fernflower-e629738a46ca5e82ad93939f3de7c05c37512323.tar.lz
fernflower-e629738a46ca5e82ad93939f3de7c05c37512323.tar.xz
fernflower-e629738a46ca5e82ad93939f3de7c05c37512323.zip
java-decompiler: tests moved
Diffstat (limited to 'testData/results/TestConstants.dec')
-rw-r--r--testData/results/TestConstants.dec76
1 files changed, 76 insertions, 0 deletions
diff --git a/testData/results/TestConstants.dec b/testData/results/TestConstants.dec
new file mode 100644
index 0000000..275c1e4
--- /dev/null
+++ b/testData/results/TestConstants.dec
@@ -0,0 +1,76 @@
+package pkg;
+
+import java.util.Date;
+
+public class TestConstants {
+
+ static final boolean T = true;
+ static final boolean F = false;
+ static final char C0 = '\n';
+ static final char C1 = 'a';
+ static final char C2 = 'Ȁ';
+ static final byte BMin = -128;
+ static final byte BMax = 127;
+ static final short SMin = -32768;
+ static final short SMax = 32767;
+ static final int IMin = -2147483648;
+ static final int IMax = 2147483647;
+ static final long LMin = -9223372036854775808L;
+ static final long LMax = 9223372036854775807L;
+ static final float FNan = 0.0F / 0.0;
+ static final float FNeg = -1.0F / 0.0;
+ static final float FPos = 1.0F / 0.0;
+ static final float FMin = 1.4E-45F;
+ static final float FMax = 3.4028235E38F;
+ static final double DNan = 0.0D / 0.0;
+ static final double DNeg = -1.0D / 0.0;
+ static final double DPos = 1.0D / 0.0;
+ static final double DMin = 4.9E-324D;
+ static final double DMax = 1.7976931348623157E308D;
+
+
+ @TestConstants.A(byte.class)
+ void m1() {
+ }
+
+ @TestConstants.A(char.class)
+ void m2() {
+ }
+
+ @TestConstants.A(double.class)
+ void m3() {
+ }
+
+ @TestConstants.A(float.class)
+ void m4() {
+ }
+
+ @TestConstants.A(int.class)
+ void m5() {
+ }
+
+ @TestConstants.A(long.class)
+ void m6() {
+ }
+
+ @TestConstants.A(short.class)
+ void m7() {
+ }
+
+ @TestConstants.A(boolean.class)
+ void m8() {
+ }
+
+ @TestConstants.A(void.class)
+ void m9() {
+ }
+
+ @TestConstants.A(Date.class)
+ void m10() {
+ }
+
+ @interface A {
+
+ Class<?> value();
+ }
+}