Interface NameValidator.IResult
- Enclosing class:
NameValidator
public static interface NameValidator.IResult
This interface defines the result of a name validation.
- Since:
- 6.3
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionboolean
This method returns a boolean indicating if the name contains only valid identifier characters.boolean
This method returns a boolean indicating if the name shadows a keyword.boolean
isValid()
This method returns a boolean indicating if the name is valid.
-
Method Details
-
isValid
boolean isValid()This method returns a boolean indicating if the name is valid.- Returns:
- a boolean indicating if the name is valid.
-
isKeyword
boolean isKeyword()This method returns a boolean indicating if the name shadows a keyword.- Returns:
- a boolean indicating if the name shadows a keyword.
-
isIdentifier
boolean isIdentifier()This method returns a boolean indicating if the name contains only valid identifier characters.- Returns:
- a boolean indicating if the name contains only valid identifier characters.
-