## accessors
-sub options { (shift)->{'options'} }
-sub associated_metaclass { (shift)->{'associated_metaclass'} }
+#sub options { (shift)->{'options'} }
+#sub associated_metaclass { (shift)->{'associated_metaclass'} }
## cached values ...
confess __PACKAGE__ . " is an abstract base class, you must provide a constructor.";
}
-sub is_inline { $_[0]{is_inline} }
-
-sub definition_context { $_[0]{definition_context} }
+#sub is_inline { $_[0]{is_inline} }
+#sub definition_context { $_[0]{definition_context} }
sub _initialize_body {
confess "No body to initialize, " . __PACKAGE__ . " is an abstract base class";
INSTALL_SIMPLE_READER(Method, original_method);
INSTALL_SIMPLE_WRITER_WITH_KEY(Method, _set_original_method, original_method);
+
+MODULE = Class::MOP::Method PACKAGE = Class::MOP::Method::Constructor
+
+BOOT:
+ INSTALL_SIMPLE_READER(Method::Constructor, options);
+ INSTALL_SIMPLE_READER(Method::Constructor, associated_metaclass);
+
+MODULE = Class::MOP::Method PACKAGE = Class::MOP::Method::Generated
+
+BOOT:
+ INSTALL_SIMPLE_READER(Method::Generated, is_inline);
+ INSTALL_SIMPLE_READER(Method::Generated, definition_context);
+
+MODULE = Class::MOP::Method PACKAGE = Class::MOP::Method::Inlined
+
+BOOT:
+ INSTALL_SIMPLE_READER(Method::Inlined, _expected_method_class);