Package net.sourceforge.pmd.cpd
Class ScalaTokenAdapter
- java.lang.Object
-
- net.sourceforge.pmd.cpd.ScalaTokenAdapter
-
- All Implemented Interfaces:
GenericToken
public class ScalaTokenAdapter extends Object implements GenericToken
Adapts the scala.meta.tokens.Token so that it can be used with the generic BaseTokenFilter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBeginColumn()
int
getBeginLine()
int
getEndColumn()
int
getEndLine()
String
getImage()
GenericToken
getNext()
GenericToken
getPreviousComment()
String
toString()
-
-
-
Method Detail
-
getNext
public GenericToken getNext()
- Specified by:
getNext
in interfaceGenericToken
-
getPreviousComment
public GenericToken getPreviousComment()
- Specified by:
getPreviousComment
in interfaceGenericToken
-
getImage
public String getImage()
- Specified by:
getImage
in interfaceGenericToken
-
getBeginLine
public int getBeginLine()
- Specified by:
getBeginLine
in interfaceGenericToken
-
getEndLine
public int getEndLine()
- Specified by:
getEndLine
in interfaceGenericToken
-
getBeginColumn
public int getBeginColumn()
- Specified by:
getBeginColumn
in interfaceGenericToken
-
getEndColumn
public int getEndColumn()
- Specified by:
getEndColumn
in interfaceGenericToken
-
-