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.Stringtext-
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 voidaccept(ExpressionVisitor visitor)intgetLineNumber()intgetPriority()java.lang.StringgetText()TypegetType()java.lang.StringtoString()-
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:
getLineNumberin interfaceExpression
-
getType
public Type getType()
- Specified by:
getTypein interfaceExpression
-
getText
public java.lang.String getText()
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceExpression
-
accept
public void accept(ExpressionVisitor visitor)
- Specified by:
acceptin interfaceBaseExpression
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-