Class BytecodeAnnotationList
- java.lang.Object
-
- org.adoptopenjdk.jitwatch.model.bytecode.BytecodeAnnotationList
-
public class BytecodeAnnotationList extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.Integer,java.util.List<LineAnnotation>>annotationMapprivate static com.chrisnewland.freelogj.Loggerlogger
-
Constructor Summary
Constructors Constructor Description BytecodeAnnotationList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAnnotation(int bci, LineAnnotation annotation)intannotatedLineCount()voidclear()java.util.List<LineAnnotation>getAnnotationsForBCI(int bci)java.util.Set<java.util.Map.Entry<java.lang.Integer,java.util.List<LineAnnotation>>>getEntries()booleanhasAnnotationsForBCI(int bci)java.lang.StringtoString()
-
-
-
Field Detail
-
logger
private static final com.chrisnewland.freelogj.Logger logger
-
annotationMap
private java.util.Map<java.lang.Integer,java.util.List<LineAnnotation>> annotationMap
-
-
Method Detail
-
addAnnotation
public void addAnnotation(int bci, LineAnnotation annotation)
-
getAnnotationsForBCI
public java.util.List<LineAnnotation> getAnnotationsForBCI(int bci)
-
hasAnnotationsForBCI
public boolean hasAnnotationsForBCI(int bci)
-
clear
public void clear()
-
annotatedLineCount
public int annotatedLineCount()
-
getEntries
public java.util.Set<java.util.Map.Entry<java.lang.Integer,java.util.List<LineAnnotation>>> getEntries()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-