OSDN Git Service

save
authoriga <tosiki.iga@nifty.ne.jp>
Tue, 1 Apr 2014 12:34:01 +0000 (21:34 +0900)
committeriga <tosiki.iga@nifty.ne.jp>
Tue, 1 Apr 2014 12:34:01 +0000 (21:34 +0900)
13 files changed:
jcfa/src/jp/igapyon/jcfa/JavaClassFileAnalyzer.java
jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaClass.jcfa [new file with mode: 0644]
jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaComment.jcfa [new file with mode: 0644]
jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaField.jcfa [new file with mode: 0644]
jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaMethod.jcfa [new file with mode: 0644]
jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaNode.jcfa [new file with mode: 0644]
jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaUnit.jcfa [new file with mode: 0644]
jcfa/testJavaClass/output/vo/JcfaClass.jcfa [new file with mode: 0644]
jcfa/testJavaClass/output/vo/JcfaComment.jcfa [new file with mode: 0644]
jcfa/testJavaClass/output/vo/JcfaField.jcfa [new file with mode: 0644]
jcfa/testJavaClass/output/vo/JcfaMethod.jcfa [new file with mode: 0644]
jcfa/testJavaClass/output/vo/JcfaNode.jcfa [new file with mode: 0644]
jcfa/testJavaClass/output/vo/JcfaUnit.jcfa [new file with mode: 0644]

index 3409906..970477e 100644 (file)
@@ -25,6 +25,8 @@ public class JavaClassFileAnalyzer {
 \r
        public static final void main(final String[] args) {\r
                new JavaClassFileAnalyzer().parseDir(new File("./bin/test"));\r
+               new JavaClassFileAnalyzer().parseDir(new File(\r
+                               "./bin/jp/igapyon/jcfa/vo"));\r
        }\r
 \r
        private void parseDir(final File dir) {\r
@@ -63,7 +65,7 @@ public class JavaClassFileAnalyzer {
                        File actualyTargetDir = outputDir;\r
                        if (split.length > 1) {\r
                                for (int index = 0; index < split.length - 1; index++) {\r
-                                       actualyTargetDir = new File(outputDir, split[index]);\r
+                                       actualyTargetDir = new File(actualyTargetDir, split[index]);\r
                                        actualyTargetDir.mkdirs();\r
                                }\r
                        }\r
diff --git a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaClass.jcfa b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaClass.jcfa
new file mode 100644 (file)
index 0000000..b1d8562
--- /dev/null
@@ -0,0 +1,73 @@
+package jp.igapyon.jcfa.vo;
+
+/** TODO import func. is missing. */
+public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
+       /**  */
+       protected java.lang.String access;
+       /**  */
+       protected java.lang.String name;
+       /**  */
+       protected java.lang.String extendsName;
+       /**  */
+       protected boolean isMainClass;
+       /**  */
+       protected final java.util.List fieldList;
+       /**  */
+       protected final java.util.List methodList;
+
+       /** Default constructor. */
+       public JcfaClass() {
+       }
+
+       /** Method. */
+       public java.lang.String getAccess() {
+       }
+
+       /** Method. */
+       public java.lang.String getExtendsName() {
+       }
+
+       /** Method. */
+       public java.util.List getFieldList() {
+       }
+
+       /** Method. */
+       public java.lang.String getLocalName() {
+       }
+
+       /** Method. */
+       public java.util.List getMethodList() {
+       }
+
+       /** Method. */
+       public java.lang.String getName() {
+       }
+
+       /** Method. */
+       public boolean isMainClass() {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setAccess(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setExtendsName(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. boolean
+        */
+       public void setMainClass(boolean arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setName(java.lang.String arg0) {
+       }
+}
\ No newline at end of file
diff --git a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaComment.jcfa b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaComment.jcfa
new file mode 100644 (file)
index 0000000..301d6c8
--- /dev/null
@@ -0,0 +1,33 @@
+package jp.igapyon.jcfa.vo;
+
+/** TODO import func. is missing. */
+public class JcfaComment {
+       /**  */
+       protected boolean isJavaDoc;
+       /**  */
+       protected java.util.List commentList;
+
+       /** Default constructor. */
+       public JcfaComment() {
+       }
+
+       /** Method. */
+       public java.util.List getCommentList() {
+       }
+
+       /** Method. */
+       public boolean isJavaDoc() {
+       }
+
+       /**
+        * Method. java.util.List
+        */
+       public void setCommentList(java.util.List arg0) {
+       }
+
+       /**
+        * Method. boolean
+        */
+       public void setJavaDoc(boolean arg0) {
+       }
+}
\ No newline at end of file
diff --git a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaField.jcfa b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaField.jcfa
new file mode 100644 (file)
index 0000000..234f93b
--- /dev/null
@@ -0,0 +1,57 @@
+package jp.igapyon.jcfa.vo;
+
+/** TODO import func. is missing. */
+public class JcfaField extends jp.igapyon.jcfa.vo.JcfaNode {
+       /**  */
+       protected java.lang.String name;
+       /**  */
+       protected java.lang.String type;
+       /**  */
+       protected java.lang.String access;
+       /**  */
+       protected java.lang.String constantValue;
+
+       /** Default constructor. */
+       public JcfaField() {
+       }
+
+       /** Method. */
+       public java.lang.String getAccess() {
+       }
+
+       /** Method. */
+       public java.lang.String getConstantValue() {
+       }
+
+       /** Method. */
+       public java.lang.String getName() {
+       }
+
+       /** Method. */
+       public java.lang.String getType() {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setAccess(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setConstantValue(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setName(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setType(java.lang.String arg0) {
+       }
+}
\ No newline at end of file
diff --git a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaMethod.jcfa b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaMethod.jcfa
new file mode 100644 (file)
index 0000000..51f4807
--- /dev/null
@@ -0,0 +1,51 @@
+package jp.igapyon.jcfa.vo;
+
+/** TODO import func. is missing. */
+public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
+       /**  */
+       protected java.lang.String name;
+       /**  */
+       protected java.lang.String type;
+       /**  */
+       protected final java.util.List arugumentTypeList;
+       /**  */
+       protected java.lang.String access;
+
+       /** Default constructor. */
+       public JcfaMethod() {
+       }
+
+       /** Method. */
+       public java.lang.String getAccess() {
+       }
+
+       /** Method. */
+       public java.util.List getArugumentTypeList() {
+       }
+
+       /** Method. */
+       public java.lang.String getName() {
+       }
+
+       /** Method. */
+       public java.lang.String getType() {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setAccess(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setName(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setType(java.lang.String arg0) {
+       }
+}
\ No newline at end of file
diff --git a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaNode.jcfa b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaNode.jcfa
new file mode 100644 (file)
index 0000000..fca9140
--- /dev/null
@@ -0,0 +1,21 @@
+package jp.igapyon.jcfa.vo;
+
+/** TODO import func. is missing. */
+public class JcfaNode {
+       /**  */
+       protected jp.igapyon.jcfa.vo.JcfaComment jcfaComment;
+
+       /** Default constructor. */
+       public JcfaNode() {
+       }
+
+       /** Method. */
+       public jp.igapyon.jcfa.vo.JcfaComment getComment() {
+       }
+
+       /**
+        * Method. jp.igapyon.jcfa.vo.JcfaComment
+        */
+       public void setComment(jp.igapyon.jcfa.vo.JcfaComment arg0) {
+       }
+}
\ No newline at end of file
diff --git a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaUnit.jcfa b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaUnit.jcfa
new file mode 100644 (file)
index 0000000..d89c84e
--- /dev/null
@@ -0,0 +1,39 @@
+package jp.igapyon.jcfa.vo;
+
+/** TODO import func. is missing. */
+public class JcfaUnit extends jp.igapyon.jcfa.vo.JcfaNode {
+       /**  */
+       protected java.lang.String name;
+       /**  */
+       protected java.io.File targetFile;
+       /**  */
+       protected final java.util.List classList;
+
+       /** Default constructor. */
+       public JcfaUnit() {
+       }
+
+       /** Method. */
+       public java.util.List getClassList() {
+       }
+
+       /** Method. */
+       public java.lang.String getName() {
+       }
+
+       /** Method. */
+       public java.io.File getTargetFile() {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setName(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.io.File
+        */
+       public void setTargetFile(java.io.File arg0) {
+       }
+}
\ No newline at end of file
diff --git a/jcfa/testJavaClass/output/vo/JcfaClass.jcfa b/jcfa/testJavaClass/output/vo/JcfaClass.jcfa
new file mode 100644 (file)
index 0000000..b1d8562
--- /dev/null
@@ -0,0 +1,73 @@
+package jp.igapyon.jcfa.vo;
+
+/** TODO import func. is missing. */
+public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
+       /**  */
+       protected java.lang.String access;
+       /**  */
+       protected java.lang.String name;
+       /**  */
+       protected java.lang.String extendsName;
+       /**  */
+       protected boolean isMainClass;
+       /**  */
+       protected final java.util.List fieldList;
+       /**  */
+       protected final java.util.List methodList;
+
+       /** Default constructor. */
+       public JcfaClass() {
+       }
+
+       /** Method. */
+       public java.lang.String getAccess() {
+       }
+
+       /** Method. */
+       public java.lang.String getExtendsName() {
+       }
+
+       /** Method. */
+       public java.util.List getFieldList() {
+       }
+
+       /** Method. */
+       public java.lang.String getLocalName() {
+       }
+
+       /** Method. */
+       public java.util.List getMethodList() {
+       }
+
+       /** Method. */
+       public java.lang.String getName() {
+       }
+
+       /** Method. */
+       public boolean isMainClass() {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setAccess(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setExtendsName(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. boolean
+        */
+       public void setMainClass(boolean arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setName(java.lang.String arg0) {
+       }
+}
\ No newline at end of file
diff --git a/jcfa/testJavaClass/output/vo/JcfaComment.jcfa b/jcfa/testJavaClass/output/vo/JcfaComment.jcfa
new file mode 100644 (file)
index 0000000..301d6c8
--- /dev/null
@@ -0,0 +1,33 @@
+package jp.igapyon.jcfa.vo;
+
+/** TODO import func. is missing. */
+public class JcfaComment {
+       /**  */
+       protected boolean isJavaDoc;
+       /**  */
+       protected java.util.List commentList;
+
+       /** Default constructor. */
+       public JcfaComment() {
+       }
+
+       /** Method. */
+       public java.util.List getCommentList() {
+       }
+
+       /** Method. */
+       public boolean isJavaDoc() {
+       }
+
+       /**
+        * Method. java.util.List
+        */
+       public void setCommentList(java.util.List arg0) {
+       }
+
+       /**
+        * Method. boolean
+        */
+       public void setJavaDoc(boolean arg0) {
+       }
+}
\ No newline at end of file
diff --git a/jcfa/testJavaClass/output/vo/JcfaField.jcfa b/jcfa/testJavaClass/output/vo/JcfaField.jcfa
new file mode 100644 (file)
index 0000000..234f93b
--- /dev/null
@@ -0,0 +1,57 @@
+package jp.igapyon.jcfa.vo;
+
+/** TODO import func. is missing. */
+public class JcfaField extends jp.igapyon.jcfa.vo.JcfaNode {
+       /**  */
+       protected java.lang.String name;
+       /**  */
+       protected java.lang.String type;
+       /**  */
+       protected java.lang.String access;
+       /**  */
+       protected java.lang.String constantValue;
+
+       /** Default constructor. */
+       public JcfaField() {
+       }
+
+       /** Method. */
+       public java.lang.String getAccess() {
+       }
+
+       /** Method. */
+       public java.lang.String getConstantValue() {
+       }
+
+       /** Method. */
+       public java.lang.String getName() {
+       }
+
+       /** Method. */
+       public java.lang.String getType() {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setAccess(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setConstantValue(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setName(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setType(java.lang.String arg0) {
+       }
+}
\ No newline at end of file
diff --git a/jcfa/testJavaClass/output/vo/JcfaMethod.jcfa b/jcfa/testJavaClass/output/vo/JcfaMethod.jcfa
new file mode 100644 (file)
index 0000000..51f4807
--- /dev/null
@@ -0,0 +1,51 @@
+package jp.igapyon.jcfa.vo;
+
+/** TODO import func. is missing. */
+public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
+       /**  */
+       protected java.lang.String name;
+       /**  */
+       protected java.lang.String type;
+       /**  */
+       protected final java.util.List arugumentTypeList;
+       /**  */
+       protected java.lang.String access;
+
+       /** Default constructor. */
+       public JcfaMethod() {
+       }
+
+       /** Method. */
+       public java.lang.String getAccess() {
+       }
+
+       /** Method. */
+       public java.util.List getArugumentTypeList() {
+       }
+
+       /** Method. */
+       public java.lang.String getName() {
+       }
+
+       /** Method. */
+       public java.lang.String getType() {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setAccess(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setName(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setType(java.lang.String arg0) {
+       }
+}
\ No newline at end of file
diff --git a/jcfa/testJavaClass/output/vo/JcfaNode.jcfa b/jcfa/testJavaClass/output/vo/JcfaNode.jcfa
new file mode 100644 (file)
index 0000000..fca9140
--- /dev/null
@@ -0,0 +1,21 @@
+package jp.igapyon.jcfa.vo;
+
+/** TODO import func. is missing. */
+public class JcfaNode {
+       /**  */
+       protected jp.igapyon.jcfa.vo.JcfaComment jcfaComment;
+
+       /** Default constructor. */
+       public JcfaNode() {
+       }
+
+       /** Method. */
+       public jp.igapyon.jcfa.vo.JcfaComment getComment() {
+       }
+
+       /**
+        * Method. jp.igapyon.jcfa.vo.JcfaComment
+        */
+       public void setComment(jp.igapyon.jcfa.vo.JcfaComment arg0) {
+       }
+}
\ No newline at end of file
diff --git a/jcfa/testJavaClass/output/vo/JcfaUnit.jcfa b/jcfa/testJavaClass/output/vo/JcfaUnit.jcfa
new file mode 100644 (file)
index 0000000..d89c84e
--- /dev/null
@@ -0,0 +1,39 @@
+package jp.igapyon.jcfa.vo;
+
+/** TODO import func. is missing. */
+public class JcfaUnit extends jp.igapyon.jcfa.vo.JcfaNode {
+       /**  */
+       protected java.lang.String name;
+       /**  */
+       protected java.io.File targetFile;
+       /**  */
+       protected final java.util.List classList;
+
+       /** Default constructor. */
+       public JcfaUnit() {
+       }
+
+       /** Method. */
+       public java.util.List getClassList() {
+       }
+
+       /** Method. */
+       public java.lang.String getName() {
+       }
+
+       /** Method. */
+       public java.io.File getTargetFile() {
+       }
+
+       /**
+        * Method. java.lang.String
+        */
+       public void setName(java.lang.String arg0) {
+       }
+
+       /**
+        * Method. java.io.File
+        */
+       public void setTargetFile(java.io.File arg0) {
+       }
+}
\ No newline at end of file