Fields Summary |
---|
private final com.android.dx.cf.iface.Method | methodnon-null; method being wrapped |
private final com.android.dx.rop.cst.CstUtf8 | sourceFilenull-ok; the class's SourceFile attribute value,
if any |
private final boolean | accSuperwhether the class that this method is part of is defined with
ACC_SUPER |
private final com.android.dx.cf.attrib.AttCode | attCodenon-null; the code attribute |
private final LineNumberList | lineNumbersnon-null; line number list |
private final LocalVariableList | localVariablesnon-null; local variable list |
Methods Summary |
---|
public boolean | getAccSuper()Gets whether the class that this method is part of is defined with
ACC_SUPER .
return accSuper;
|
public int | getAccessFlags(){@inheritDoc}
return method.getAccessFlags();
|
public com.android.dx.cf.iface.AttributeList | getAttributes(){@inheritDoc}
return method.getAttributes();
|
public ByteCatchList | getCatches()Gets the exception table.
return attCode.getCatches();
|
public BytecodeArray | getCode()Gets the bytecode array.
return attCode.getCode();
|
public com.android.dx.rop.cst.CstType | getDefiningClass(){@inheritDoc}
return method.getDefiningClass();
|
public com.android.dx.rop.cst.CstUtf8 | getDescriptor(){@inheritDoc}
return method.getDescriptor();
|
public com.android.dx.rop.type.Prototype | getEffectiveDescriptor(){@inheritDoc}
return method.getEffectiveDescriptor();
|
public LineNumberList | getLineNumbers()Gets the line number list.
return lineNumbers;
|
public LocalVariableList | getLocalVariables()Gets the local variable list.
return localVariables;
|
public int | getMaxLocals()Gets the number of locals.
return attCode.getMaxLocals();
|
public int | getMaxStack()Gets the maximum stack size.
return attCode.getMaxStack();
|
public com.android.dx.rop.cst.CstUtf8 | getName(){@inheritDoc}
return method.getName();
|
public com.android.dx.rop.cst.CstNat | getNat(){@inheritDoc}
return method.getNat();
|
public com.android.dx.rop.code.SourcePosition | makeSourcePosistion(int offset)Returns a {@link SourcePosition} instance corresponding to the
given bytecode offset.
return new SourcePosition(sourceFile, offset,
lineNumbers.pcToLine(offset));
|