• Home
  • Raw
  • Download

Lines Matching refs:f

25   private static float f = 3.14f;  field in Main
31 Field f; in testFieldReflection() local
33 f = Main.class.getDeclaredField("z"); in testFieldReflection()
34 System.out.println(f.getBoolean(null)); in testFieldReflection()
35 f = Main.class.getDeclaredField("b"); in testFieldReflection()
36 System.out.println(f.getByte(null)); in testFieldReflection()
37 f = Main.class.getDeclaredField("c"); in testFieldReflection()
38 System.out.println(f.getChar(null)); in testFieldReflection()
39 f = Main.class.getDeclaredField("d"); in testFieldReflection()
40 System.out.println(f.getDouble(null)); in testFieldReflection()
41 f = Main.class.getDeclaredField("f"); in testFieldReflection()
42 System.out.println(f.getFloat(null)); in testFieldReflection()
43 f = Main.class.getDeclaredField("i"); in testFieldReflection()
44 System.out.println(f.getInt(null)); in testFieldReflection()
45 f = Main.class.getDeclaredField("j"); in testFieldReflection()
46 System.out.println(f.getLong(null)); in testFieldReflection()
47 f = Main.class.getDeclaredField("s"); in testFieldReflection()
48 System.out.println(f.getShort(null)); in testFieldReflection()
50 f = Main.class.getDeclaredField("z"); in testFieldReflection()
51 f.setBoolean(null, false); in testFieldReflection()
52 f = Main.class.getDeclaredField("b"); in testFieldReflection()
53 f.setByte(null, (byte) 7); in testFieldReflection()
54 f = Main.class.getDeclaredField("c"); in testFieldReflection()
55 f.setChar(null, 'y'); in testFieldReflection()
56 f = Main.class.getDeclaredField("d"); in testFieldReflection()
57 f.setDouble(null, 2.7); in testFieldReflection()
58 f = Main.class.getDeclaredField("f"); in testFieldReflection()
59 f.setFloat(null, 2.7f); in testFieldReflection()
60 f = Main.class.getDeclaredField("i"); in testFieldReflection()
61 f.setInt(null, 31); in testFieldReflection()
62 f = Main.class.getDeclaredField("j"); in testFieldReflection()
63 f.setLong(null, 63); in testFieldReflection()
64 f = Main.class.getDeclaredField("s"); in testFieldReflection()
65 f.setShort(null, (short) 15); in testFieldReflection()
67 f = Main.class.getDeclaredField("z"); in testFieldReflection()
68 System.out.println(f.getBoolean(null)); in testFieldReflection()
69 f = Main.class.getDeclaredField("b"); in testFieldReflection()
70 System.out.println(f.getByte(null)); in testFieldReflection()
71 f = Main.class.getDeclaredField("c"); in testFieldReflection()
72 System.out.println(f.getChar(null)); in testFieldReflection()
73 f = Main.class.getDeclaredField("d"); in testFieldReflection()
74 System.out.println(f.getDouble(null)); in testFieldReflection()
75 f = Main.class.getDeclaredField("f"); in testFieldReflection()
76 System.out.println(f.getFloat(null)); in testFieldReflection()
77 f = Main.class.getDeclaredField("i"); in testFieldReflection()
78 System.out.println(f.getInt(null)); in testFieldReflection()
79 f = Main.class.getDeclaredField("j"); in testFieldReflection()
80 System.out.println(f.getLong(null)); in testFieldReflection()
81 f = Main.class.getDeclaredField("s"); in testFieldReflection()
82 System.out.println(f.getShort(null)); in testFieldReflection()
84 f = Main.class.getDeclaredField("z"); in testFieldReflection()
85 f.set(null, Boolean.valueOf(true)); in testFieldReflection()
86 f = Main.class.getDeclaredField("b"); in testFieldReflection()
87 f.set(null, Byte.valueOf((byte) 6)); in testFieldReflection()
88 f = Main.class.getDeclaredField("c"); in testFieldReflection()
89 f.set(null, Character.valueOf('z')); in testFieldReflection()
90 f = Main.class.getDeclaredField("d"); in testFieldReflection()
91 f.set(null, Double.valueOf(1.3)); in testFieldReflection()
92 f = Main.class.getDeclaredField("f"); in testFieldReflection()
93 f.set(null, Float.valueOf(1.3f)); in testFieldReflection()
94 f = Main.class.getDeclaredField("i"); in testFieldReflection()
95 f.set(null, Integer.valueOf(30)); in testFieldReflection()
96 f = Main.class.getDeclaredField("j"); in testFieldReflection()
97 f.set(null, Long.valueOf(62)); in testFieldReflection()
98 f.set(null, Integer.valueOf(62)); in testFieldReflection()
99 f = Main.class.getDeclaredField("s"); in testFieldReflection()
100 f.set(null, Short.valueOf((short) 14)); in testFieldReflection()
102 f = Main.class.getDeclaredField("z"); in testFieldReflection()
103 System.out.println(f.getBoolean(null)); in testFieldReflection()
104 f = Main.class.getDeclaredField("b"); in testFieldReflection()
105 System.out.println(f.getByte(null)); in testFieldReflection()
106 f = Main.class.getDeclaredField("c"); in testFieldReflection()
107 System.out.println(f.getChar(null)); in testFieldReflection()
108 f = Main.class.getDeclaredField("d"); in testFieldReflection()
109 System.out.println(f.getDouble(null)); in testFieldReflection()
110 f = Main.class.getDeclaredField("f"); in testFieldReflection()
111 System.out.println(f.getFloat(null)); in testFieldReflection()
112 f = Main.class.getDeclaredField("i"); in testFieldReflection()
113 System.out.println(f.getInt(null)); in testFieldReflection()
114 f = Main.class.getDeclaredField("j"); in testFieldReflection()
115 System.out.println(f.getLong(null)); in testFieldReflection()
116 f = Main.class.getDeclaredField("s"); in testFieldReflection()
117 System.out.println(f.getShort(null)); in testFieldReflection()
120 f = Main.class.getDeclaredField("s"); in testFieldReflection()
121 f.set(null, Integer.valueOf(14)); in testFieldReflection()
127 f = Main.class.getDeclaredField("z"); in testFieldReflection()
128 show(f.get(null)); in testFieldReflection()
129 f = Main.class.getDeclaredField("b"); in testFieldReflection()
130 show(f.get(null)); in testFieldReflection()
131 f = Main.class.getDeclaredField("c"); in testFieldReflection()
132 show(f.get(null)); in testFieldReflection()
133 f = Main.class.getDeclaredField("d"); in testFieldReflection()
134 show(f.get(null)); in testFieldReflection()
135 f = Main.class.getDeclaredField("f"); in testFieldReflection()
136 show(f.get(null)); in testFieldReflection()
137 f = Main.class.getDeclaredField("i"); in testFieldReflection()
138 show(f.get(null)); in testFieldReflection()
139 f = Main.class.getDeclaredField("j"); in testFieldReflection()
140 show(f.get(null)); in testFieldReflection()
141 f = Main.class.getDeclaredField("s"); in testFieldReflection()
142 show(f.get(null)); in testFieldReflection()
269 …private static void ZBCDFIJSV(boolean z, byte b, char c, double d, float f, int i, long l, short s… in ZBCDFIJSV() argument
270 System.out.println(z + " " + b + " " + c + " " + d + " " + f + " " + i + " " + l + " " + s); in ZBCDFIJSV()
273 …private static void ZBCDLFIJSV(boolean z, byte b, char c, double d, String string, float f, int i,… in ZBCDLFIJSV() argument
274 …System.out.println(z + " " + b + " " + c + " " + d + " " + " " + string + " " + f + " " + i + " " … in ZBCDLFIJSV()
353 Field f = ReflectFieldSetDuringClinit.class.getDeclaredField("intField");
354 f.setInt(null, 42); in f.setInt()