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.Stringnameprotected ObjectTypetype-
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 voidaccept(ExpressionVisitor visitor)java.lang.StringgetName()ObjectTypegetObjectType()TypegetType()java.lang.StringtoString()-
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:
toStringin classjava.lang.Object
-
-