Permalink
Browse files

new Mubble

  • Loading branch information...
cdg720 committed Dec 3, 2011
1 parent 08fcb62 commit d10a1b337c0ea98c771bfe9ef88c3acbbb5d34db
Showing with 8 additions and 0 deletions.
  1. +8 −0 helper/Mubble.java
View
@@ -23,6 +23,7 @@
String group;
String returnType; //if none and not a constructor -->> void
String visibility;
+ String originallyFrom;
ArrayList<String> paraName;
ArrayList<String> paraType;
ArrayList<String> paraMod;
@@ -79,6 +80,10 @@ public String getCode() {
return this.code;
}
+ public String findBirthPlace() {
+ return originallyFrom;
+ }
+
public String getCC(){
if(main)
return "";
@@ -208,6 +213,9 @@ public Mubble setConstructor(boolean constructor) {
public Mubble setFrom(char from) {
this.from = from;
+ if (from == NEW) {
+ originallyFrom = className.getName();
+ }
return this;
}

0 comments on commit d10a1b3

Please sign in to comment.