class Rouge::Lexers::Groovy

def self.constants

def self.constants
  @constants ||= Set.new %w(true false null)
end

def self.declarations

def self.declarations
  @declarations ||= Set.new %w(
    abstract const enum extends final implements native private
    protected public static strictfp super synchronized throws
    transient volatile
  )
end

def self.detect?(text)

def self.detect?(text)
  return true if text.shebang?(/groovy/)
end

def self.keywords

def self.keywords
  @keywords ||= Set.new %w(
    assert break case catch continue default do else finally for
    if goto instanceof new return switch this throw try while in as
  )
end

def self.types

def self.types
  @types ||= Set.new %w(
    def boolean byte char double float int long short void
  )
end