Class TryStatement.Resource
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.statement.TryStatement.Resource
-
- All Implemented Interfaces:
java.lang.Iterable<Statement>
,BaseStatement
,Statement
,Base<Statement>
- Enclosing class:
- TryStatement
public static class TryStatement.Resource extends java.lang.Object implements Statement
-
-
Field Summary
Fields Modifier and Type Field Description protected Expression
expression
protected java.lang.String
name
protected ObjectType
type
-
Constructor Summary
Constructors Constructor Description Resource(ObjectType type, java.lang.String name, Expression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(StatementVisitor visitor)
Expression
getExpression()
java.lang.String
getName()
ObjectType
getType()
void
setExpression(Expression expression)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
type
protected ObjectType type
-
name
protected java.lang.String name
-
expression
protected Expression expression
-
-
Constructor Detail
-
Resource
public Resource(ObjectType type, java.lang.String name, Expression expression)
-
-
Method Detail
-
getType
public ObjectType getType()
-
getName
public java.lang.String getName()
-
getExpression
public Expression getExpression()
-
setExpression
public void setExpression(Expression expression)
-
accept
public void accept(StatementVisitor visitor)
- Specified by:
accept
in interfaceBaseStatement
-
-