• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Build has been canceled!

hazendaz / jmockit1 / 496

15 Nov 2025 05:33PM UTC coverage: 72.192% (-0.008%) from 72.2%
496

push

github

web-flow
Merge pull request #412 from hazendaz/renovate/major-spring-core

Update spring core to v7 (major)

5677 of 8360 branches covered (67.91%)

Branch coverage included in aggregate %.

11922 of 16018 relevant lines covered (74.43%)

0.74 hits per line

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

0.0
/main/src/main/java/mockit/asm/constantPool/PackageItem.java
1
/*
2
 * MIT License
3
 * Copyright (c) 2006-2025 JMockit developers
4
 * See LICENSE file for full license text.
5
 */
6
package mockit.asm.constantPool;
7

8
import edu.umd.cs.findbugs.annotations.NonNull;
9

10
import org.checkerframework.checker.index.qual.NonNegative;
11

12
public final class PackageItem extends Item {
13
    @NonNull
14
    @SuppressWarnings("NullableProblems")
15
    String strVal;
16

17
    PackageItem() {
18
        super(0);
×
19
        strVal = "";
×
20
    }
×
21

22
    public PackageItem(@NonNegative int index, int type, @NonNull String strVal) {
23
        super(index);
×
24
        set(type, strVal);
×
25
    }
×
26

27
    PackageItem(@NonNegative int index, @NonNull PackageItem item) {
28
        super(index, item);
×
29
        strVal = item.strVal;
×
30
    }
×
31

32
    @NonNull
33
    public String getValue() {
34
        return strVal;
×
35
    }
36

37
    /**
38
     * Sets this package name value.
39
     */
40
    void set(int type, @NonNull String strVal) {
41
        this.type = type;
×
42
        this.strVal = strVal;
×
43
        setHashCode(strVal.hashCode());
×
44
    }
×
45

46
    @Override
47
    boolean isEqualTo(@NonNull Item item) {
48
        return ((PackageItem) item).strVal.equals(strVal);
×
49
    }
50
}
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