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

moosetechnology / VerveineJ / 14660115829

25 Apr 2025 08:16AM UTC coverage: 50.58% (+0.6%) from 49.972%
14660115829

Pull #127

github

web-flow
Merge 56b1c8e73 into 5207a6c7c
Pull Request #127: New generics implementation

1876 of 3946 branches covered (47.54%)

Branch coverage included in aggregate %.

486 of 1087 new or added lines in 52 files covered. (44.71%)

56 existing lines in 10 files now uncovered.

4270 of 8205 relevant lines covered (52.04%)

2.08 hits per line

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

31.43
/app/src/main/java/org/moosetechnology/model/famix/famixjavaentities/ParametricInvocation.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.TConcretization;
10
import org.moosetechnology.model.famix.famixtraits.TParametricAssociation;
11

12

13
@FamePackage("Famix-Java-Entities")
14
@FameDescription("ParametricInvocation")
15
public class ParametricInvocation extends Invocation implements TParametricAssociation {
3✔
16

17
    private Collection<TConcretization> concretization; 
18

19

20

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

68
    public boolean hasConcretization() {
NEW
69
        return !getConcretization().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