Class IntegerConstantExpression
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberExpression
-
- org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberTypeExpression
-
- org.jd.core.v1.model.javasyntax.expression.IntegerConstantExpression
-
- All Implemented Interfaces:
java.lang.Iterable<Expression>
,BaseExpression
,Expression
,Base<Expression>
public class IntegerConstantExpression extends AbstractLineNumberTypeExpression
-
-
Field Summary
Fields Modifier and Type Field Description protected int
value
-
Fields inherited from class org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberTypeExpression
type
-
Fields inherited from class org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberExpression
lineNumber
-
Fields inherited from interface org.jd.core.v1.model.javasyntax.expression.Expression
UNKNOWN_LINE_NUMBER
-
-
Constructor Summary
Constructors Constructor Description IntegerConstantExpression(int lineNumber, Type type, int value)
IntegerConstantExpression(Type type, int value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ExpressionVisitor visitor)
protected boolean
checkType(Type type)
int
getValue()
void
setType(Type type)
java.lang.String
toString()
-
Methods inherited from class org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberTypeExpression
getType
-
Methods inherited from class org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberExpression
getLineNumber, getPriority
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getValue
public int getValue()
-
setType
public void setType(Type type)
- Overrides:
setType
in classAbstractLineNumberTypeExpression
-
checkType
protected boolean checkType(Type type)
-
accept
public void accept(ExpressionVisitor visitor)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-