]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/src/org/simantics/databoard/units/ClassUtil.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / src / org / simantics / databoard / units / ClassUtil.java
index cc2dc822cd2fce57a7d109744a3fa066f9671964..2468243470b3a4d843bc5d2e1fb2942cc61e58b4 100644 (file)
@@ -1,33 +1,33 @@
-package org.simantics.databoard.units;\r
-\r
-import org.objectweb.asm.ClassReader;\r
-import org.objectweb.asm.ClassWriter;\r
-\r
-public class ClassUtil {\r
-\r
-       /**\r
-        * Compile multiple classes into one class.\r
-        * \r
-        * The resulted class will:\r
-        *    Implemented all the interfaces as the source classes.\r
-        *    Have same static fields\r
-        *    Run all the source classes' static {} blocks\r
-        *    Contain all the same methods\r
-        *    Inherit the super-type from the first class (1st index) \r
-        *    Include methods of all super-types of other classes (2nd and further indices)\r
-        * \r
-        * @param className\r
-        * @param classes\r
-        * @return assembly\r
-        */\r
-       public static Class<?> assembleClasses(String className, Class<?>...classes)\r
-       {\r
-               //ClassReader cr = new ClassReader();\r
-               ClassWriter cw = new ClassWriter(0);\r
-               \r
-               //cw.visit(V1_6, ACC_PUBLIC + ACC_SUPER, classSig, null, superType, null);\r
-               \r
-               return null;\r
-       }\r
-\r
-}\r
+package org.simantics.databoard.units;
+
+import org.objectweb.asm.ClassReader;
+import org.objectweb.asm.ClassWriter;
+
+public class ClassUtil {
+
+       /**
+        * Compile multiple classes into one class.
+        * 
+        * The resulted class will:
+        *    Implemented all the interfaces as the source classes.
+        *    Have same static fields
+        *    Run all the source classes' static {} blocks
+        *    Contain all the same methods
+        *    Inherit the super-type from the first class (1st index) 
+        *    Include methods of all super-types of other classes (2nd and further indices)
+        * 
+        * @param className
+        * @param classes
+        * @return assembly
+        */
+       public static Class<?> assembleClasses(String className, Class<?>...classes)
+       {
+               //ClassReader cr = new ClassReader();
+               ClassWriter cw = new ClassWriter(0);
+               
+               //cw.visit(V1_6, ACC_PUBLIC + ACC_SUPER, classSig, null, superType, null);
+               
+               return null;
+       }
+
+}