Class BytecodeLocSet
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.loc.BytecodeLoc
-
- org.benf.cfr.reader.bytecode.analysis.loc.BytecodeLocSet
-
public class BytecodeLocSet extends BytecodeLoc
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<Method,java.util.Set<java.lang.Integer>>locs-
Fields inherited from class org.benf.cfr.reader.bytecode.analysis.loc.BytecodeLoc
NONE, TODO
-
-
Constructor Summary
Constructors Constructor Description BytecodeLocSet(java.util.Map<Method,java.util.Set<java.lang.Integer>> locs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddTo(BytecodeLocCollector collector)java.util.Collection<Method>getMethods()java.util.Collection<java.lang.Integer>getOffsetsForMethod(Method method)booleanisEmpty()java.lang.StringtoString()-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.loc.BytecodeLoc
combine, combine, combineShallow
-
-
-
-
Field Detail
-
locs
private final java.util.Map<Method,java.util.Set<java.lang.Integer>> locs
-
-
Constructor Detail
-
BytecodeLocSet
BytecodeLocSet(java.util.Map<Method,java.util.Set<java.lang.Integer>> locs)
-
-
Method Detail
-
addTo
void addTo(BytecodeLocCollector collector)
- Specified by:
addToin classBytecodeLoc
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getMethods
public java.util.Collection<Method> getMethods()
- Specified by:
getMethodsin classBytecodeLoc
-
getOffsetsForMethod
public java.util.Collection<java.lang.Integer> getOffsetsForMethod(Method method)
- Specified by:
getOffsetsForMethodin classBytecodeLoc
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin classBytecodeLoc
-
-