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) intindexIndex of the targetBugAnnotationto embed.(package private) java.lang.StringkeyKey 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.StringtoArgument(java.util.List<? extends BugAnnotation> bugAnnotations, ClassAnnotation primaryClass)
-
-
-
Field Detail
-
index
final int index
Index of the targetBugAnnotationto 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)
-
-