-
Notifications
You must be signed in to change notification settings - Fork 1
/
spotbugs-exclude.xml
39 lines (39 loc) · 1.68 KB
/
spotbugs-exclude.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<!-- The whole point of the foreign memory API is to directly deal with memory that could be changed from elsewhere.
Thus we need to suppress findings about storing mutable state. -->
<Match>
<Class name="com.itemis.fluffyj.memory.FluffyMemorySegmentWrapper" />
<!-- This is a constructor match -->
<Method name="<init>" params="java.lang.foreign.MemorySegment" />
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
<Match>
<Class name="com.itemis.fluffyj.memory.internal.impl.FluffyPointerImpl" />
<Method name="getValue" />
<Bug pattern="EI_EXPOSE_REP" />
</Match>
<Match>
<Class name="com.itemis.fluffyj.memory.internal.impl.FluffySegmentImpl" />
<!-- This is a constructor match -->
<Method name="<init>" params="java.lang.foreign.MemorySegment" />
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
<Match>
<Class name="com.itemis.fluffyj.memory.internal.PointerOfThing" />
<Method name="rawDereference" />
<Bug pattern="EI_EXPOSE_REP" />
</Match>
<Match>
<Class name="com.itemis.fluffyj.memory.FluffyMemoryVectorSegmentAllocator" />
<!-- This is a constructor match -->
<Method name="<init>" />
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
<Match>
<Class name="com.itemis.fluffyj.memory.FluffyMemoryPointerBuilder$FluffyMemoryTypedPointerBuilder" />
<!-- This is a constructor match -->
<Method name="<init>" params="long" />
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
</FindBugsFilter>