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) void
addTo(BytecodeLocCollector collector)
java.util.Collection<Method>
getMethods()
java.util.Collection<java.lang.Integer>
getOffsetsForMethod(Method method)
boolean
isEmpty()
java.lang.String
toString()
-
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:
addTo
in classBytecodeLoc
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getMethods
public java.util.Collection<Method> getMethods()
- Specified by:
getMethods
in classBytecodeLoc
-
getOffsetsForMethod
public java.util.Collection<java.lang.Integer> getOffsetsForMethod(Method method)
- Specified by:
getOffsetsForMethod
in classBytecodeLoc
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in classBytecodeLoc
-
-