Class EnumConstantReferenceExpression
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberExpression
-
- org.jd.core.v1.model.javasyntax.expression.EnumConstantReferenceExpression
-
- All Implemented Interfaces:
java.lang.Iterable<Expression>
,BaseExpression
,Expression
,Base<Expression>
public class EnumConstantReferenceExpression extends AbstractLineNumberExpression
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
name
protected ObjectType
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 EnumConstantReferenceExpression(int lineNumber, ObjectType type, java.lang.String name)
EnumConstantReferenceExpression(ObjectType type, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ExpressionVisitor visitor)
java.lang.String
getName()
ObjectType
getObjectType()
Type
getType()
java.lang.String
toString()
-
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
-
-
-
-
Field Detail
-
type
protected ObjectType type
-
name
protected java.lang.String name
-
-
Constructor Detail
-
EnumConstantReferenceExpression
public EnumConstantReferenceExpression(ObjectType type, java.lang.String name)
-
EnumConstantReferenceExpression
public EnumConstantReferenceExpression(int lineNumber, ObjectType type, java.lang.String name)
-
-
Method Detail
-
getType
public Type getType()
-
getObjectType
public ObjectType getObjectType()
-
getName
public java.lang.String getName()
-
accept
public void accept(ExpressionVisitor visitor)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-