Class BytecodeLoc
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.loc.BytecodeLoc
-
- Direct Known Subclasses:
BytecodeLocSet,BytecodeLocSimple,BytecodeLocSpecific
public abstract class BytecodeLoc extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static BytecodeLocFactoryImplfactstatic BytecodeLocNONEstatic BytecodeLocTODO
-
Constructor Summary
Constructors Constructor Description BytecodeLoc()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract voidaddTo(BytecodeLocCollector locs)static BytecodeLoccombine(HasByteCodeLoc primary, java.util.Collection<? extends HasByteCodeLoc> coll1, HasByteCodeLoc... coll2)static BytecodeLoccombine(HasByteCodeLoc primary, HasByteCodeLoc... coll)static BytecodeLoccombineShallow(HasByteCodeLoc... coll)abstract java.util.Collection<Method>getMethods()abstract java.util.Collection<java.lang.Integer>getOffsetsForMethod(Method method)abstract booleanisEmpty()
-
-
-
Field Detail
-
NONE
public static final BytecodeLoc NONE
-
TODO
public static final BytecodeLoc TODO
-
fact
private static BytecodeLocFactoryImpl fact
-
-
Method Detail
-
combine
public static BytecodeLoc combine(HasByteCodeLoc primary, HasByteCodeLoc... coll)
-
combine
public static BytecodeLoc combine(HasByteCodeLoc primary, java.util.Collection<? extends HasByteCodeLoc> coll1, HasByteCodeLoc... coll2)
-
combineShallow
public static BytecodeLoc combineShallow(HasByteCodeLoc... coll)
-
addTo
abstract void addTo(BytecodeLocCollector locs)
-
getMethods
public abstract java.util.Collection<Method> getMethods()
-
getOffsetsForMethod
public abstract java.util.Collection<java.lang.Integer> getOffsetsForMethod(Method method)
-
isEmpty
public abstract boolean isEmpty()
-
-