Class: Duby::JVM::Types::TypeDefMeta

Inherits:
MetaType show all
Defined in:
lib/duby/jvm/types.rb,
lib/duby/jvm/types/methods.rb

Constant Summary

Constants included from MethodLookup

MethodLookup::BOOLEAN, MethodLookup::BYTE, MethodLookup::CHAR, MethodLookup::DOUBLE, MethodLookup::FLOAT, MethodLookup::INT, MethodLookup::LONG, MethodLookup::PrimitiveConversions, MethodLookup::SHORT

Constants inherited from AST::TypeReference

AST::TypeReference::ErrorType, AST::TypeReference::NoType, AST::TypeReference::NullType, AST::TypeReference::UnreachableType

Instance Attribute Summary

Attributes inherited from MetaType

#unmeta

Attributes inherited from AST::TypeReference

#array, #meta

Attributes included from AST::Named

#name

Attributes inherited from AST::Node

#children, #inferred_type, #newline, #parent, #position

Instance Method Summary collapse

Methods inherited from MetaType

#basic_type, #initialize, #interfaces, #jvm_type, #meta, #meta?, #superclass

Methods inherited from Type

#add_intrinsics, #add_method, #aload, #array?, #array_type, #assignable_from?, #astore, #basic_type, #compatible?, #component_type, #declared_intrinsics, #get_method, #init_value, #initialize, #inspect, #interface?, #interfaces, #intrinsics, #is_parent, #iterable?, #jvm_type, #load, #meta, #meta?, #newarray, #prefix, #primitive?, #return, #store, #superclass, #to_source, #unmeta, #void?, #wide?

Methods included from MethodLookup

#each_is_exact, #each_is_exact_or_subtype_or_convertible, #find_jls, #find_method, #is_more_specific?, #log, #phase1, #phase2, #phase3, #primitive_convertible?

Methods inherited from AST::TypeReference

#==, #compatible?, #component_type, #eql?, #error?, #hash, #initialize, #is_parent, #iterable?, #meta?, #narrow, #primitive?, #to_s, #unmeta, #unreachable?

Methods included from AST::Named

#to_s

Methods inherited from AST::Node

#[], #each, #expr?, #initialize, #inspect, #line_number, #log, #precompile, #resolve_if, #resolved!, #resolved?, #simple_name, #temp, #to_s

Constructor Details

This class inherits a constructor from Duby::JVM::Types::MetaType

Instance Method Details

#constructor(*args) ⇒ Object



328
329
330
# File 'lib/duby/jvm/types/methods.rb', line 328

def constructor(*args)
  unmeta.constructor(*args)
end

#declared_class_methodsObject



340
341
342
# File 'lib/duby/jvm/types/methods.rb', line 340

def declared_class_methods
  unmeta.declared_class_methods
end

#declared_instance_methodsObject



336
337
338
# File 'lib/duby/jvm/types/methods.rb', line 336

def declared_instance_methods
  unmeta.declared_instance_methods
end

#java_method(*args) ⇒ Object



332
333
334
# File 'lib/duby/jvm/types/methods.rb', line 332

def java_method(*args)
  unmeta.java_static_method(*args)
end