Class DalvikParserError
java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.dex.DalvikParserError
Error objects generated by the Dalvik parser. Those objects can be retrieved via
IDexCodeItem.getParsingErrors().-
Constructor Summary
ConstructorsConstructorDescriptionDalvikParserError(DalvikParserErrorType errorType) Create a parser error with no bytecode offset.DalvikParserError(DalvikParserErrorType errorType, int bytecodeOffset) Create a parser error. -
Method Summary
-
Constructor Details
-
DalvikParserError
Create a parser error with no bytecode offset.- Parameters:
errorType- the parser error type
-
DalvikParserError
Create a parser error.- Parameters:
errorType- the parser error typebytecodeOffset- the bytecode offset, or -1 if not applicable
-
-
Method Details
-
getErrorType
Get the parser error type.- Returns:
- the parser error type
-
getBytecodeOffset
public int getBytecodeOffset()Get the bytecode offset where the error was found.- Returns:
- the bytecode offset, or -1 if not applicable
-
hashCode
public int hashCode() -
equals
-
toString
-