• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moosetechnology / VerveineJ / 15191557690

22 May 2025 04:10PM UTC coverage: 50.616% (+0.6%) from 49.972%
15191557690

push

github

web-flow
Merge pull request #127 from moosetechnology/new-generics-implementation

New generics implementation

1884 of 3956 branches covered (47.62%)

Branch coverage included in aggregate %.

513 of 1119 new or added lines in 53 files covered. (45.84%)

53 existing lines in 10 files now uncovered.

4277 of 8216 relevant lines covered (52.06%)

2.08 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/src/main/java/org/moosetechnology/model/famix/famixjavaentities/UnknownVariable.java
1
// Automagically generated code, please do not change
2
package org.moosetechnology.model.famix.famixjavaentities;
3

4
import ch.akuhn.fame.FameDescription;
5
import ch.akuhn.fame.FamePackage;
6
import ch.akuhn.fame.FameProperty;
7
import ch.akuhn.fame.internal.MultivalueSet;
8
import java.util.*;
9
import org.moosetechnology.model.famix.famixtraits.TAccess;
10
import org.moosetechnology.model.famix.famixtraits.TEntityTyping;
11
import org.moosetechnology.model.famix.famixtraits.TSourceAnchor;
12
import org.moosetechnology.model.famix.famixtraits.TType;
13
import org.moosetechnology.model.famix.famixtraits.TUnknownVariable;
14
import org.moosetechnology.model.famix.famixtraits.TWithAccesses;
15

16

17
@FamePackage("Famix-Java-Entities")
18
@FameDescription("UnknownVariable")
NEW
19
public class UnknownVariable extends Variable implements TUnknownVariable {
×
20

21
    private Collection<TAccess> incomingAccesses; 
22

23
    private Boolean isStub;
24
    
25
    private String name;
26
    
27
    private Number numberOfLinesOfCode;
28
    
29
    private TSourceAnchor sourceAnchor;
30
    
31
    private TEntityTyping typing;
32
    
33

34

35
    @FameProperty(name = "accessors", derived = true)
36
    public Collection<TWithAccesses> getAccessors() {
37
        // TODO: this is a derived property, implement this method manually.
38
        throw new UnsupportedOperationException("Not yet implemented!");  
×
39
    }
40
        
41
    @FameProperty(name = "fanIn", derived = true)
42
    public Number getFanIn() {
43
        // TODO: this is a derived property, implement this method manually.
44
        throw new UnsupportedOperationException("Not yet implemented!");  
×
45
    }
46
    
47
    @FameProperty(name = "fanOut", derived = true)
48
    public Number getFanOut() {
49
        // TODO: this is a derived property, implement this method manually.
50
        throw new UnsupportedOperationException("Not yet implemented!");  
×
51
    }
52
    
53
    @FameProperty(name = "incomingAccesses", opposite = "variable", derived = true)
54
    public Collection<TAccess> getIncomingAccesses() {
55
        if (incomingAccesses == null) {
×
56
            incomingAccesses = new MultivalueSet<TAccess>() {
×
57
                @Override
58
                protected void clearOpposite(TAccess e) {
59
                    e.setVariable(null);
×
60
                }
×
61
                @Override
62
                protected void setOpposite(TAccess e) {
63
                    e.setVariable(UnknownVariable.this);
×
64
                }
×
65
            };
66
        }
67
        return incomingAccesses;
×
68
    }
69
    
70
    public void setIncomingAccesses(Collection<? extends TAccess> incomingAccesses) {
71
        this.getIncomingAccesses().clear();
×
72
        this.getIncomingAccesses().addAll(incomingAccesses);
×
73
    }                    
×
74
    
75
        
76
    public void addIncomingAccesses(TAccess one) {
77
        this.getIncomingAccesses().add(one);
×
78
    }   
×
79
    
80
    public void addIncomingAccesses(TAccess one, TAccess... many) {
81
        this.getIncomingAccesses().add(one);
×
82
        for (TAccess each : many)
×
83
            this.getIncomingAccesses().add(each);
×
84
    }   
×
85
    
86
    public void addIncomingAccesses(Iterable<? extends TAccess> many) {
87
        for (TAccess each : many)
×
88
            this.getIncomingAccesses().add(each);
×
89
    }   
×
90
                
91
    public void addIncomingAccesses(TAccess[] many) {
92
        for (TAccess each : many)
×
93
            this.getIncomingAccesses().add(each);
×
94
    }
×
95
    
96
    public int numberOfIncomingAccesses() {
97
        return getIncomingAccesses().size();
×
98
    }
99

100
    public boolean hasIncomingAccesses() {
101
        return !getIncomingAccesses().isEmpty();
×
102
    }
103

104
    @FameProperty(name = "isDead", derived = true)
105
    public Boolean getIsDead() {
106
        // TODO: this is a derived property, implement this method manually.
107
        throw new UnsupportedOperationException("Not yet implemented!");  
×
108
    }
109
    
110
    @FameProperty(name = "isRoot", derived = true)
111
    public Boolean getIsRoot() {
112
        // TODO: this is a derived property, implement this method manually.
113
        throw new UnsupportedOperationException("Not yet implemented!");  
×
114
    }
115
    
116
    @FameProperty(name = "isStub")
117
    public Boolean getIsStub() {
118
        return isStub;
×
119
    }
120

121
    public void setIsStub(Boolean isStub) {
122
        this.isStub = isStub;
×
123
    }
×
124
    
125
    @FameProperty(name = "name")
126
    public String getName() {
127
        return name;
×
128
    }
129

130
    public void setName(String name) {
131
        this.name = name;
×
132
    }
×
133
    
134
    @FameProperty(name = "numberOfAccesses", derived = true)
135
    public Number getNumberOfAccesses() {
136
        // TODO: this is a derived property, implement this method manually.
137
        throw new UnsupportedOperationException("Not yet implemented!");  
×
138
    }
139
    
140
    @FameProperty(name = "numberOfAccessingClasses", derived = true)
141
    public Number getNumberOfAccessingClasses() {
142
        // TODO: this is a derived property, implement this method manually.
143
        throw new UnsupportedOperationException("Not yet implemented!");  
×
144
    }
145
    
146
    @FameProperty(name = "numberOfAccessingMethods", derived = true)
147
    public Number getNumberOfAccessingMethods() {
148
        // TODO: this is a derived property, implement this method manually.
149
        throw new UnsupportedOperationException("Not yet implemented!");  
×
150
    }
151
    
152
    @FameProperty(name = "numberOfChildren", derived = true)
153
    public Number getNumberOfChildren() {
154
        // TODO: this is a derived property, implement this method manually.
155
        throw new UnsupportedOperationException("Not yet implemented!");  
×
156
    }
157
    
158
    @FameProperty(name = "numberOfDeadChildren", derived = true)
159
    public Number getNumberOfDeadChildren() {
160
        // TODO: this is a derived property, implement this method manually.
161
        throw new UnsupportedOperationException("Not yet implemented!");  
×
162
    }
163
    
164
    @FameProperty(name = "numberOfExternalClients", derived = true)
165
    public Number getNumberOfExternalClients() {
166
        // TODO: this is a derived property, implement this method manually.
167
        throw new UnsupportedOperationException("Not yet implemented!");  
×
168
    }
169
    
170
    @FameProperty(name = "numberOfExternalProviders", derived = true)
171
    public Number getNumberOfExternalProviders() {
172
        // TODO: this is a derived property, implement this method manually.
173
        throw new UnsupportedOperationException("Not yet implemented!");  
×
174
    }
175
    
176
    @FameProperty(name = "numberOfGlobalAccesses", derived = true)
177
    public Number getNumberOfGlobalAccesses() {
178
        // TODO: this is a derived property, implement this method manually.
179
        throw new UnsupportedOperationException("Not yet implemented!");  
×
180
    }
181
    
182
    @FameProperty(name = "numberOfInternalClients", derived = true)
183
    public Number getNumberOfInternalClients() {
184
        // TODO: this is a derived property, implement this method manually.
185
        throw new UnsupportedOperationException("Not yet implemented!");  
×
186
    }
187
    
188
    @FameProperty(name = "numberOfInternalProviders", derived = true)
189
    public Number getNumberOfInternalProviders() {
190
        // TODO: this is a derived property, implement this method manually.
191
        throw new UnsupportedOperationException("Not yet implemented!");  
×
192
    }
193
    
194
    @FameProperty(name = "numberOfLinesOfCode")
195
    public Number getNumberOfLinesOfCode() {
196
        return numberOfLinesOfCode;
×
197
    }
198

199
    public void setNumberOfLinesOfCode(Number numberOfLinesOfCode) {
200
        this.numberOfLinesOfCode = numberOfLinesOfCode;
×
201
    }
×
202
    
203
    @FameProperty(name = "numberOfLinesOfCodeWithMoreThanOneCharacter", derived = true)
204
    public Number getNumberOfLinesOfCodeWithMoreThanOneCharacter() {
205
        // TODO: this is a derived property, implement this method manually.
206
        throw new UnsupportedOperationException("Not yet implemented!");  
×
207
    }
208
    
209
    @FameProperty(name = "numberOfLocalAccesses", derived = true)
210
    public Number getNumberOfLocalAccesses() {
211
        // TODO: this is a derived property, implement this method manually.
212
        throw new UnsupportedOperationException("Not yet implemented!");  
×
213
    }
214
    
215
    @FameProperty(name = "sourceAnchor", opposite = "element", derived = true)
216
    public TSourceAnchor getSourceAnchor() {
217
        return sourceAnchor;
×
218
    }
219

220
    public void setSourceAnchor(TSourceAnchor sourceAnchor) {
221
        if (this.sourceAnchor == null ? sourceAnchor != null : !this.sourceAnchor.equals(sourceAnchor)) {
×
222
            TSourceAnchor old_sourceAnchor = this.sourceAnchor;
×
223
            this.sourceAnchor = sourceAnchor;
×
224
            if (old_sourceAnchor != null) old_sourceAnchor.setElement(null);
×
225
            if (sourceAnchor != null) sourceAnchor.setElement(this);
×
226
        }
227
    }
×
228
    
229
    @FameProperty(name = "sourceText", derived = true)
230
    public String getSourceText() {
231
        // TODO: this is a derived property, implement this method manually.
232
        throw new UnsupportedOperationException("Not yet implemented!");  
×
233
    }
234
    
235
    @FameProperty(name = "typing", opposite = "typedEntity")
236
    public TEntityTyping getTyping() {
NEW
237
        return typing;
×
238
    }
239

240
    public void setTyping(TEntityTyping typing) {
NEW
241
        if (this.typing == null ? typing != null : !this.typing.equals(typing)) {
×
NEW
242
            TEntityTyping old_typing = this.typing;
×
NEW
243
            this.typing = typing;
×
NEW
244
            if (old_typing != null) old_typing.setTypedEntity(null);
×
NEW
245
            if (typing != null) typing.setTypedEntity(this);
×
246
        }
NEW
247
    }
×
248

249
    public TType getDeclaredType() {
NEW
250
        return (this.typing == null) ? null : this.typing.getDeclaredType();
×
251
    }
252

253
}
254

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc