• 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

22.86
/app/src/main/java/org/moosetechnology/model/famix/famixjavaentities/Variable.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.TInvocation;
10
import org.moosetechnology.model.famix.famixtraits.TInvocationsReceiver;
11

12

13
@FamePackage("Famix-Java-Entities")
14
@FameDescription("Variable")
15
public class Variable extends NamedEntity implements TInvocationsReceiver {
3✔
16

17
    private Collection<TInvocation> receivingInvocations; 
18

19

20

21
    @FameProperty(name = "receivingInvocations", opposite = "receiver", derived = true)
22
    public Collection<TInvocation> getReceivingInvocations() {
23
        if (receivingInvocations == null) {
3✔
24
            receivingInvocations = new MultivalueSet<TInvocation>() {
12✔
25
                @Override
26
                protected void clearOpposite(TInvocation e) {
NEW
27
                    e.setReceiver(null);
×
NEW
28
                }
×
29
                @Override
30
                protected void setOpposite(TInvocation e) {
31
                    e.setReceiver(Variable.this);
4✔
32
                }
1✔
33
            };
34
        }
35
        return receivingInvocations;
3✔
36
    }
37
    
38
    public void setReceivingInvocations(Collection<? extends TInvocation> receivingInvocations) {
NEW
39
        this.getReceivingInvocations().clear();
×
NEW
40
        this.getReceivingInvocations().addAll(receivingInvocations);
×
NEW
41
    }                    
×
42
    
43
        
44
    public void addReceivingInvocations(TInvocation one) {
NEW
45
        this.getReceivingInvocations().add(one);
×
NEW
46
    }   
×
47
    
48
    public void addReceivingInvocations(TInvocation one, TInvocation... many) {
NEW
49
        this.getReceivingInvocations().add(one);
×
NEW
50
        for (TInvocation each : many)
×
NEW
51
            this.getReceivingInvocations().add(each);
×
NEW
52
    }   
×
53
    
54
    public void addReceivingInvocations(Iterable<? extends TInvocation> many) {
NEW
55
        for (TInvocation each : many)
×
NEW
56
            this.getReceivingInvocations().add(each);
×
NEW
57
    }   
×
58
                
59
    public void addReceivingInvocations(TInvocation[] many) {
NEW
60
        for (TInvocation each : many)
×
NEW
61
            this.getReceivingInvocations().add(each);
×
NEW
62
    }
×
63
    
64
    public int numberOfReceivingInvocations() {
NEW
65
        return getReceivingInvocations().size();
×
66
    }
67

68
    public boolean hasReceivingInvocations() {
NEW
69
        return !getReceivingInvocations().isEmpty();
×
70
    }
71

72

73

74
}
75

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