Class ObjectTypeReferenceExpression
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.expression.ObjectTypeReferenceExpression
-
- All Implemented Interfaces:
java.lang.Iterable<Expression>
,BaseExpression
,Expression
,Base<Expression>
public class ObjectTypeReferenceExpression extends java.lang.Object implements Expression
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
explicit
protected int
lineNumber
protected ObjectType
type
-
Fields inherited from interface org.jd.core.v1.model.javasyntax.expression.Expression
UNKNOWN_LINE_NUMBER
-
-
Constructor Summary
Constructors Constructor Description ObjectTypeReferenceExpression(int lineNumber, ObjectType type)
ObjectTypeReferenceExpression(int lineNumber, ObjectType type, boolean explicit)
ObjectTypeReferenceExpression(ObjectType type)
ObjectTypeReferenceExpression(ObjectType type, boolean explicit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ExpressionVisitor visitor)
int
getLineNumber()
ObjectType
getObjectType()
int
getPriority()
Type
getType()
boolean
isExplicit()
void
setExplicit(boolean explicit)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
lineNumber
protected int lineNumber
-
type
protected ObjectType type
-
explicit
protected boolean explicit
-
-
Constructor Detail
-
ObjectTypeReferenceExpression
public ObjectTypeReferenceExpression(ObjectType type)
-
ObjectTypeReferenceExpression
public ObjectTypeReferenceExpression(int lineNumber, ObjectType type)
-
ObjectTypeReferenceExpression
public ObjectTypeReferenceExpression(ObjectType type, boolean explicit)
-
ObjectTypeReferenceExpression
public ObjectTypeReferenceExpression(int lineNumber, ObjectType type, boolean explicit)
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interfaceExpression
-
getObjectType
public ObjectType getObjectType()
-
getType
public Type getType()
- Specified by:
getType
in interfaceExpression
-
isExplicit
public boolean isExplicit()
-
setExplicit
public void setExplicit(boolean explicit)
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfaceExpression
-
accept
public void accept(ExpressionVisitor visitor)
- Specified by:
accept
in interfaceBaseExpression
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-