Class Keyword

  • All Implemented Interfaces:
    java.io.Serializable

    public class Keyword
    extends java.lang.Object
    implements java.io.Serializable
    Class representing a keyword.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Keyword​(java.lang.String value, KeywordModifier... modifiers)
      Creates a new keyword.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<KeywordModifier> getModifiers()
      Returns the modifiers of the keyword.
      java.lang.String getValue()
      Returns the value of the keyword.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Keyword

        public Keyword​(java.lang.String value,
                       KeywordModifier... modifiers)
        Creates a new keyword.
        Parameters:
        value - - the value
        modifiers - - the modifiers
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Returns the value of the keyword.
        Returns:
        the value
      • getModifiers

        public java.util.Collection<KeywordModifier> getModifiers()
        Returns the modifiers of the keyword.
        Returns:
        the modifiers