@DefaultSeverity(value=ERROR) public abstract class InvalidByteCodeGeneratedProblem extends CompilerProblem
UNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
InvalidByteCodeGeneratedProblem(ISourceLocation location) |
| Modifier and Type | Method and Description |
|---|---|
static ISourceLocation |
computeSourceLocationForBlockAndInstruction(IFlowgraph cfg,
IBasicBlock b,
int instructionIndex)
Helper method that will use debug op code information to deduce a source
location from an instruction offset in a
Block in a
IFlowgraph. |
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getID, getLine, getSourcePath, getStart, toStringprotected InvalidByteCodeGeneratedProblem(ISourceLocation location)
public static ISourceLocation computeSourceLocationForBlockAndInstruction(IFlowgraph cfg, IBasicBlock b, int instructionIndex)
Block in a
IFlowgraph.cfg - IFlowgraph containing the specified
Block.b - Block containing the instruction to deduce a
ISourceLocation for.instructionIndex - Offset in the specified Block of the
instruction to deduce a ISourceLocation for.ISourceLocation.Copyright © 2016 The Apache Software Foundation. All rights reserved.