Class TryStatement.CatchClause
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.statement.TryStatement.CatchClause
-
- All Implemented Interfaces:
java.lang.Iterable<Statement>
,BaseStatement
,Statement
,Base<Statement>
- Direct Known Subclasses:
ClassFileTryStatement.CatchClause
- Enclosing class:
- TryStatement
public static class TryStatement.CatchClause extends java.lang.Object implements Statement
-
-
Field Summary
Fields Modifier and Type Field Description protected int
lineNumber
protected java.lang.String
name
protected DefaultList<ObjectType>
otherTypes
protected BaseStatement
statements
protected ObjectType
type
-
Constructor Summary
Constructors Constructor Description CatchClause(int lineNumber, ObjectType type, java.lang.String name, BaseStatement statements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(StatementVisitor visitor)
void
addType(ObjectType type)
int
getLineNumber()
java.lang.String
getName()
DefaultList<ObjectType>
getOtherTypes()
BaseStatement
getStatements()
ObjectType
getType()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
lineNumber
protected int lineNumber
-
type
protected ObjectType type
-
otherTypes
protected DefaultList<ObjectType> otherTypes
-
name
protected java.lang.String name
-
statements
protected BaseStatement statements
-
-
Constructor Detail
-
CatchClause
public CatchClause(int lineNumber, ObjectType type, java.lang.String name, BaseStatement statements)
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
-
getType
public ObjectType getType()
-
getOtherTypes
public DefaultList<ObjectType> getOtherTypes()
-
getName
public java.lang.String getName()
-
getStatements
public BaseStatement getStatements()
-
addType
public void addType(ObjectType type)
-
accept
public void accept(StatementVisitor visitor)
- Specified by:
accept
in interfaceBaseStatement
-
-