Class: Duby::JVM::Types::MetaType
- Inherits:
-
Type
- Object
- AST::Node
- AST::TypeReference
- Type
- Duby::JVM::Types::MetaType
- Defined in:
- lib/duby/jvm/types.rb
Direct Known Subclasses
Constant Summary
Constants inherited from AST::TypeReference
AST::TypeReference::BlockType, AST::TypeReference::ErrorType, AST::TypeReference::NoType, AST::TypeReference::NullType, AST::TypeReference::UnreachableType
Instance Attribute Summary collapse
-
#unmeta ⇒ Object
readonly
Returns the value of attribute unmeta.
Attributes inherited from Type
Attributes inherited from AST::TypeReference
Attributes included from AST::Named
Attributes inherited from AST::Node
#children, #inferred_type, #newline, #parent, #position
Instance Method Summary collapse
- #basic_type ⇒ Object
-
#initialize(unmeta) ⇒ MetaType
constructor
A new instance of MetaType.
- #inner_class? ⇒ Boolean
- #interfaces ⇒ Object
- #jvm_type ⇒ Object
- #meta ⇒ Object
- #meta? ⇒ Boolean
- #superclass ⇒ Object
Methods inherited from Type
#add_enumerable_macros, #add_intrinsics, #add_macro, #add_method, #aload, #array?, #array_type, #assignable_from?, #astore, #compatible?, #component_type, #constructor, #declared_class_methods, #declared_constructors, #declared_instance_methods, #declared_intrinsics, #dynamic?, #expand_each, #field_getter, #field_setter, #get_method, #init_value, #inner_class_getter, #inspect, #interface?, #intrinsics, #is_parent, #iterable?, #java_method, #load, #log, #newarray, #prefix, #primitive?, #return, #store, #to_source, #void?, #wide?
Methods included from MethodLookup
#each_is_exact, #each_is_exact_or_subtype_or_convertible, #field_lookup, #find_jls, #find_method, #inner_class, #is_more_specific?, #log, #phase1, #phase2, #phase3, #primitive_convertible?
Methods inherited from AST::TypeReference
#==, #block?, #compatible?, #component_type, #eql?, #error?, #hash, #is_parent, #iterable?, #narrow, #null?, #primitive?, #to_s, #unreachable?
Methods included from AST::Named
Methods inherited from AST::Node
#<<, ===, #[], #_set_parent, child, child_name, #each, #empty?, #expr?, #initialize_copy, #insert, #inspect, #line_number, #log, #precompile, #resolve_if, #resolved!, #resolved?, #simple_name, #temp, #to_s
Constructor Details
#initialize(unmeta) ⇒ MetaType
Returns a new instance of MetaType.
192 193 194 195 |
# File 'lib/duby/jvm/types.rb', line 192 def initialize() @name = .name @unmeta = end |
Instance Attribute Details
#unmeta ⇒ Object (readonly)
Returns the value of attribute unmeta.
190 191 192 |
# File 'lib/duby/jvm/types.rb', line 190 def @unmeta end |
Instance Method Details
#basic_type ⇒ Object
197 198 199 |
# File 'lib/duby/jvm/types.rb', line 197 def basic_type @unmeta.basic_type end |
#inner_class? ⇒ Boolean
221 222 223 |
# File 'lib/duby/jvm/types.rb', line 221 def inner_class? basic_type.inner_class? end |
#interfaces ⇒ Object
213 214 215 |
# File 'lib/duby/jvm/types.rb', line 213 def interfaces [] end |
#jvm_type ⇒ Object
217 218 219 |
# File 'lib/duby/jvm/types.rb', line 217 def jvm_type .jvm_type end |
#meta ⇒ Object
205 206 207 |
# File 'lib/duby/jvm/types.rb', line 205 def self end |
#superclass ⇒ Object
209 210 211 |
# File 'lib/duby/jvm/types.rb', line 209 def superclass @unmeta.superclass. if @unmeta.superclass end |