class Steep::AST::Annotation::Dynamic::Name

def ==(other)

def ==(other)
  other.is_a?(Name) &&
    other.name == name &&
    other.kind == kind
end

def initialize(name:, kind:, location: nil)

def initialize(name:, kind:, location: nil)
  @name = name
  @kind = kind
  @location = location
end

def instance_method?

def instance_method?
  kind == :instance || kind == :module_instance
end

def module_method?

def module_method?
  kind == :module || kind == :module_instance
end