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 intvalue-
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 voidaccept(ExpressionVisitor visitor)protected booleancheckType(Type type)intgetValue()voidsetType(Type type)java.lang.StringtoString()-
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:
setTypein classAbstractLineNumberTypeExpression
-
checkType
protected boolean checkType(Type type)
-
accept
public void accept(ExpressionVisitor visitor)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-