Class BytecodeLocFactoryImpl
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.loc.BytecodeLocFactoryImpl
-
- All Implemented Interfaces:
BytecodeLocFactory
public class BytecodeLocFactoryImpl extends java.lang.Object implements BytecodeLocFactory
-
-
Field Summary
Fields Modifier and Type Field Description static BytecodeLocFactoryImpl
INSTANCE
-
Fields inherited from interface org.benf.cfr.reader.bytecode.analysis.loc.BytecodeLocFactory
DISABLED, NONE, TODO
-
-
Constructor Summary
Constructors Modifier Constructor Description private
BytecodeLocFactoryImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BytecodeLoc
at(int originalRawOffset, Method method)
BytecodeLoc
combine(HasByteCodeLoc primary, java.util.Collection<? extends HasByteCodeLoc> coll1, HasByteCodeLoc... coll2)
BytecodeLoc
combine(HasByteCodeLoc primary, HasByteCodeLoc... coll)
BytecodeLoc
combineShallow(HasByteCodeLoc... coll)
private static BytecodeLoc
getLocs(java.util.Collection<? extends HasByteCodeLoc> sources, BytecodeLocCollector bcl)
private static BytecodeLoc
getLocs(HasByteCodeLoc[] sources, BytecodeLocCollector bcl)
-
-
-
Field Detail
-
INSTANCE
public static BytecodeLocFactoryImpl INSTANCE
-
-
Method Detail
-
at
public BytecodeLoc at(int originalRawOffset, Method method)
- Specified by:
at
in interfaceBytecodeLocFactory
-
combine
public BytecodeLoc combine(HasByteCodeLoc primary, HasByteCodeLoc... coll)
-
combine
public BytecodeLoc combine(HasByteCodeLoc primary, java.util.Collection<? extends HasByteCodeLoc> coll1, HasByteCodeLoc... coll2)
-
combineShallow
public BytecodeLoc combineShallow(HasByteCodeLoc... coll)
-
getLocs
private static BytecodeLoc getLocs(HasByteCodeLoc[] sources, BytecodeLocCollector bcl)
-
getLocs
private static BytecodeLoc getLocs(java.util.Collection<? extends HasByteCodeLoc> sources, BytecodeLocCollector bcl)
-
-