+\r
+ /**\r
+ @return boolean\r
+ **/\r
+ public boolean hasConstructor() {\r
+ return constructor != "";\r
+ }\r
+\r
+ /**\r
+ @return boolean\r
+ */\r
+ public boolean hasDestructor() {\r
+ return destructor != "";\r
+ }\r
+\r
+ /**\r
+ Set the constructor function name if this module is a library\r
+\r
+ @param name\r
+ */\r
+ public void setConstructor(String name) {\r
+ if (name != null) {\r
+ constructor = name;\r
+ }\r
+ }\r
+\r
+ /**\r
+ Set the destructor function name if this module is a library\r
+\r
+ @param name\r
+ */\r
+ public void setDestructor(String name) {\r
+ if (name != null) {\r
+ destructor = name;\r
+ }\r
+ }\r