1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
| //
| // Source code recreated from a .class file by IntelliJ IDEA
| // (powered by FernFlower decompiler)
| //
|
| package com.stylefeng.guns.modular.system.util;
|
|
| public enum CellType {
| _NONE(-1),
| NUMERIC(0),
| STRING(1),
| FORMULA(2),
| BLANK(3),
| BOOLEAN(4),
| ERROR(5);
|
| /** @deprecated */
| private final int code;
|
| /** @deprecated */
| private CellType(int code) {
| this.code = code;
| }
|
| /** @deprecated */
| public static CellType forInt(int code) {
| CellType[] var1 = values();
| int var2 = var1.length;
|
| for(int var3 = 0; var3 < var2; ++var3) {
| CellType type = var1[var3];
| if (type.code == code) {
| return type;
| }
| }
|
| throw new IllegalArgumentException("Invalid CellType code: " + code);
| }
|
| /** @deprecated */
| public int getCode() {
| return this.code;
| }
| }
|
|