Class BytecodeLocSimple
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.loc.BytecodeLoc
-
- org.benf.cfr.reader.bytecode.analysis.loc.BytecodeLocSimple
-
class BytecodeLocSimple extends BytecodeLoc
-
-
Constructor Summary
Constructors Constructor Description BytecodeLocSimple(int offset, Method method)
-
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
-
offset
private final int offset
-
method
private Method method
-
-
Constructor Detail
-
BytecodeLocSimple
BytecodeLocSimple(int offset, Method method)
-
-
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
-
-