You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: complicated_constant_example.rb
    path of file: ./repos/ruby_jard/spec/examples
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'ruby_jard'
require_relative './complicated_constant_2_example'

$global1 = 'global1'

module ModuleX
  CONSTANT_MODULE_X = 'constant_2'.freeze

  class ClassA < ParentClassA
    CONSTANT_CLASS_A = 'constant_1'.freeze
    include ModuleY
    prepend ModuleZ

 
    
    def test_method
      a = CONSTANT_CLASS_A
      a = CONSTANT_PARENT_A_CALLED
      jard
      a = ClassB::CONSTANT_CLASS_B_CALLED # Not shown. Limit by now
      a = CONSTANT_MODULE_X_CALLED
      a = CONSTANT_MODULE_Y_CALLED
      a = CONSTANT_MODULE_Z_CALLED
      a = GLOBAL_CONSTANT_CALLED
      a = CONSTANT_MODULE_X               # Now shown. Limit by now
      a = TOPLEVEL_BINDING
      a = STDOUT
      a = $stdout
      a = $global1
      a = $global2
      jard
    end