Package edu.umd.cs.findbugs.sarif
Class Placeholder
- java.lang.Object
-
- edu.umd.cs.findbugs.sarif.Placeholder
-
class Placeholder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
index
Index of the targetBugAnnotation
to embed.(package private) java.lang.String
key
Key to formattingBugAnnotation
.
-
Constructor Summary
Constructors Constructor Description Placeholder(int index, java.lang.String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.String
toArgument(java.util.List<? extends BugAnnotation> bugAnnotations, ClassAnnotation primaryClass)
-
-
-
Field Detail
-
index
final int index
Index of the targetBugAnnotation
to embed.
-
key
@NonNull final java.lang.String key
Key to formattingBugAnnotation
.
-
-
Constructor Detail
-
Placeholder
Placeholder(int index, @NonNull java.lang.String key)
-
-
Method Detail
-
toArgument
@NonNull java.lang.String toArgument(java.util.List<? extends BugAnnotation> bugAnnotations, @Nullable ClassAnnotation primaryClass)
-
-