Class DirectivesTryCatch
- java.lang.Object
-
- org.eolang.jeo.representation.directives.DirectivesTryCatch
-
- All Implemented Interfaces:
Iterable<org.xembly.Directive>
public final class DirectivesTryCatch extends Object implements Iterable<org.xembly.Directive>
Try catch directives.All the directives are sorted according to the JVM specification:
{ u2 start_pc; u2 end_pc; u2 handler_pc; u2 catch_type; } exception_table[exception_table_length];- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description DirectivesTryCatch(int index, Format format, BytecodeLabel start, BytecodeLabel end, BytecodeLabel handler, String type)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<org.xembly.Directive>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
DirectivesTryCatch
public DirectivesTryCatch(int index, Format format, BytecodeLabel start, BytecodeLabel end, BytecodeLabel handler, String type)Constructor.- Parameters:
index- The index of the try-catch entry in the method.format- The format of the directives.start- Start labelend- End labelhandler- Handler labeltype- Exception type- Suppressed Checkstyle violations:
- ParameterNumberCheck (5 lines)
-
-