Class: Squash::Java::Type

Inherits:
Object
  • Object
show all
Defined in:
lib/squash/java/namespace.rb

Overview

Superclass describing both Primitive types and Classes.

Direct Known Subclasses

Class, Primitive

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameString (readonly)

Returns The type name.

Returns:

  • (String)

    The type name.



401
402
403
# File 'lib/squash/java/namespace.rb', line 401

def name
  @name
end

Instance Method Details

#full_nameString

Returns The full type name. By default this is equal to #name, but can be overridden.

Returns:

  • (String)

    The full type name. By default this is equal to #name, but can be overridden.



405
# File 'lib/squash/java/namespace.rb', line 405

def full_name() name end

#inspectObject



408
# File 'lib/squash/java/namespace.rb', line 408

def inspect() "#<#{self.class.to_s} #{full_name}>" end