Class CommentExpression
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.expression.CommentExpression
-
- All Implemented Interfaces:
java.lang.Iterable<Expression>
,BaseExpression
,Expression
,Base<Expression>
public class CommentExpression extends java.lang.Object implements Expression
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
text
-
Fields inherited from interface org.jd.core.v1.model.javasyntax.expression.Expression
UNKNOWN_LINE_NUMBER
-
-
Constructor Summary
Constructors Constructor Description CommentExpression(java.lang.String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ExpressionVisitor visitor)
int
getLineNumber()
int
getPriority()
java.lang.String
getText()
Type
getType()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interfaceExpression
-
getType
public Type getType()
- Specified by:
getType
in interfaceExpression
-
getText
public java.lang.String getText()
-
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
-
-