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

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

62.5
/main/src/main/java/mockit/asm/constantPool/BootstrapMethodItem.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 static mockit.asm.jvmConstants.ConstantPoolTypes.BSM;
9

10
import edu.umd.cs.findbugs.annotations.NonNull;
11

12
import org.checkerframework.checker.index.qual.NonNegative;
13

14
public final class BootstrapMethodItem extends Item {
15
    @NonNegative
16
    final int position;
17

18
    /**
19
     * Initializes the new item with the given index, position and hash code.
20
     *
21
     * @param position
22
     *            position in byte in the class attribute "BootstrapMethods"
23
     * @param hashCode
24
     *            hashcode of the item, which is processed from the hashcode of the bootstrap method and the hashcode of
25
     *            all bootstrap arguments
26
     */
27
    public BootstrapMethodItem(@NonNegative int index, @NonNegative int position, int hashCode) {
28
        super(index);
1✔
29
        this.position = position;
1✔
30
        setHashCode(hashCode);
1✔
31
        type = BSM;
1✔
32
    }
1✔
33

34
    @Override
35
    boolean isEqualTo(@NonNull Item item) {
36
        return ((BootstrapMethodItem) item).position == position;
×
37
    }
38
}
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