Class ExceptionTableEntry
- java.lang.Object
-
- org.benf.cfr.reader.entities.exceptions.ExceptionTableEntry
-
- All Implemented Interfaces:
java.lang.Comparable<ExceptionTableEntry>
public class ExceptionTableEntry extends java.lang.Object implements java.lang.Comparable<ExceptionTableEntry>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ExceptionTableEntry.ExceptionTableEntryBuilder
-
Field Summary
Fields Modifier and Type Field Description private int
bytecode_index_from
private int
bytecode_index_handler
private int
bytecode_index_to
private int
catch_type
private static int
OFFSET_CATCH_TYPE
private static int
OFFSET_INDEX_FROM
private static int
OFFSET_INDEX_HANDLER
private static int
OFFSET_INDEX_TO
private int
priority
-
Constructor Summary
Constructors Modifier Constructor Description (package private)
ExceptionTableEntry(int from, int to, int handler, int catchType, int priority)
private
ExceptionTableEntry(ByteData raw, int priority)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) ExceptionTableEntry
aggregateWith(ExceptionTableEntry later)
(package private) ExceptionTableEntry
aggregateWithLenient(ExceptionTableEntry later)
int
compareTo(ExceptionTableEntry other)
(package private) ExceptionTableEntry
copyWithRange(int from, int to)
static UnaryFunction<ByteData,ExceptionTableEntry>
getBuilder()
(package private) int
getBytecodeIndexFrom()
(package private) int
getBytecodeIndexHandler()
(package private) int
getBytecodeIndexTo()
(package private) int
getCatchType()
(package private) JavaRefTypeInstance
getCatchType(ConstantPool cp)
(package private) int
getPriority()
java.lang.String
toString()
-
-
-
Field Detail
-
OFFSET_INDEX_FROM
private static final int OFFSET_INDEX_FROM
- See Also:
- Constant Field Values
-
OFFSET_INDEX_TO
private static final int OFFSET_INDEX_TO
- See Also:
- Constant Field Values
-
OFFSET_INDEX_HANDLER
private static final int OFFSET_INDEX_HANDLER
- See Also:
- Constant Field Values
-
OFFSET_CATCH_TYPE
private static final int OFFSET_CATCH_TYPE
- See Also:
- Constant Field Values
-
bytecode_index_from
private final int bytecode_index_from
-
bytecode_index_to
private final int bytecode_index_to
-
bytecode_index_handler
private final int bytecode_index_handler
-
catch_type
private final int catch_type
-
priority
private final int priority
-
-
Constructor Detail
-
ExceptionTableEntry
private ExceptionTableEntry(ByteData raw, int priority)
-
ExceptionTableEntry
ExceptionTableEntry(int from, int to, int handler, int catchType, int priority)
-
-
Method Detail
-
getCatchType
JavaRefTypeInstance getCatchType(ConstantPool cp)
-
copyWithRange
ExceptionTableEntry copyWithRange(int from, int to)
-
getBytecodeIndexFrom
int getBytecodeIndexFrom()
-
getBytecodeIndexTo
int getBytecodeIndexTo()
-
getBytecodeIndexHandler
int getBytecodeIndexHandler()
-
getCatchType
int getCatchType()
-
getPriority
int getPriority()
-
aggregateWith
ExceptionTableEntry aggregateWith(ExceptionTableEntry later)
-
aggregateWithLenient
ExceptionTableEntry aggregateWithLenient(ExceptionTableEntry later)
-
getBuilder
public static UnaryFunction<ByteData,ExceptionTableEntry> getBuilder()
-
compareTo
public int compareTo(ExceptionTableEntry other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ExceptionTableEntry>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-