1 | |
package com.sun.javafx.runtime.location; |
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | 107 | public class IntConstant extends AbstractConstantLocation<Integer> implements IntLocation { |
9 | |
private int $value; |
10 | |
|
11 | |
public static IntLocation make(int value) { |
12 | 254 | return new IntConstant(value); |
13 | |
} |
14 | |
|
15 | 254 | protected IntConstant(int value) { |
16 | 254 | this.$value = value; |
17 | 254 | } |
18 | |
|
19 | |
|
20 | |
public int getAsInt() { |
21 | 219 | return $value; |
22 | |
} |
23 | |
|
24 | |
public Integer get() { |
25 | 107 | return $value; |
26 | |
} |
27 | |
|
28 | |
public int setAsInt(int value) { |
29 | 0 | throw new UnsupportedOperationException(); |
30 | |
} |
31 | |
|
32 | |
public int setAsIntFromLiteral(int value) { |
33 | 0 | throw new UnsupportedOperationException(); |
34 | |
} |
35 | |
|
36 | 94 | public void addChangeListener(IntChangeListener listener) { } |
37 | |
} |