public class TokenListUtil extends Object
| Constructor and Description |
|---|
TokenListUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,List<String>> |
getJDocTagsAndValuesOnBlock(CloverToken startOfField) |
static void |
getJDocTagsOnComment(Map<String,List<String>> tags,
String comment) |
static String |
getNormalisedSequence(CloverToken begin,
CloverToken end) |
static String |
getNormalisedSequence(CloverToken begin,
CloverToken end,
boolean whitespace) |
static boolean |
hasWhitespaceAfter(CloverToken token) |
public static String getNormalisedSequence(CloverToken begin, CloverToken end)
begin - first token to considerend - last token to considerpublic static String getNormalisedSequence(CloverToken begin, CloverToken end, boolean whitespace)
begin - first token to considerend - last token to considerwhitespace - whether or not to include (normalised) whitespace.public static boolean hasWhitespaceAfter(CloverToken token)
token - to scanpublic static Map<String,List<String>> getJDocTagsAndValuesOnBlock(CloverToken startOfField)
Copyright © 2024 OpenClover.org. All rights reserved.