PC
2024-03-31 608f20e0d5d8f95d9bbb917e95e2913682deb77d
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
package com.qianwen.core.coderule.model;
 
import java.util.HashMap;
import java.util.Map;
 
/* loaded from: blade-starter-coderule-9.3.0.0-SNAPSHOT.jar:org/springblade/core/coderule/model/CodeRuleContext.class */
public class CodeRuleContext {
    private CodeRuleModel codeRuleModel;
    private Map<String, Object> objectData = new HashMap();
    private Map<Integer, String> entryData = new HashMap();
 
    public void setCodeRuleModel(final CodeRuleModel codeRuleModel) {
        this.codeRuleModel = codeRuleModel;
    }
 
    public void setObjectData(final Map<String, Object> objectData) {
        this.objectData = objectData;
    }
 
    public void setEntryData(final Map<Integer, String> entryData) {
        this.entryData = entryData;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CodeRuleContext) {
            CodeRuleContext other = (CodeRuleContext) o;
            if (other.canEqual(this)) {
                Object this$codeRuleModel = getCodeRuleModel();
                Object other$codeRuleModel = other.getCodeRuleModel();
                if (this$codeRuleModel == null) {
                    if (other$codeRuleModel != null) {
                        return false;
                    }
                } else if (!this$codeRuleModel.equals(other$codeRuleModel)) {
                    return false;
                }
                Object this$objectData = getObjectData();
                Object other$objectData = other.getObjectData();
                if (this$objectData == null) {
                    if (other$objectData != null) {
                        return false;
                    }
                } else if (!this$objectData.equals(other$objectData)) {
                    return false;
                }
                Object this$entryData = getEntryData();
                Object other$entryData = other.getEntryData();
                return this$entryData == null ? other$entryData == null : this$entryData.equals(other$entryData);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CodeRuleContext;
    }
 
    public int hashCode() {
        Object $codeRuleModel = getCodeRuleModel();
        int result = (1 * 59) + ($codeRuleModel == null ? 43 : $codeRuleModel.hashCode());
        Object $objectData = getObjectData();
        int result2 = (result * 59) + ($objectData == null ? 43 : $objectData.hashCode());
        Object $entryData = getEntryData();
        return (result2 * 59) + ($entryData == null ? 43 : $entryData.hashCode());
    }
 
    public String toString() {
        return "CodeRuleContext(codeRuleModel=" + getCodeRuleModel() + ", objectData=" + getObjectData() + ", entryData=" + getEntryData() + ")";
    }
 
    public CodeRuleModel getCodeRuleModel() {
        return this.codeRuleModel;
    }
 
    public Map<String, Object> getObjectData() {
        return this.objectData;
    }
 
    public Map<Integer, String> getEntryData() {
        return this.entryData;
    }
}