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