public boolean isKind(TokenKind desiredKind) {
		return kind == desiredKind;
	}
Constructor for use when there is extra data to associate with a token. For example the text for an identifier
token.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/job/dsl/Token.java