JavaSourceFileWriter.st
changeset 3194 9aade8151557
parent 2731 13f5be2bf83b
child 3324 a58245c0e83a
--- a/JavaSourceFileWriter.st	Sun Aug 03 23:46:07 2014 +0100
+++ b/JavaSourceFileWriter.st	Mon Aug 04 00:38:22 2014 +0100
@@ -58,20 +58,26 @@
 fileOut:class on:stream withTimeStamp:stampIt withInitialize:initIt withDefinition:withDefinition methodFilter:methodFilter encoder:encoderOrNil
     "raise an error: must be redefined in concrete subclass(es)"
 
-    ^ self shouldImplement
+    stream nextPutAll: class source.
+
+    "Modified: / 04-08-2014 / 00:23:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 fileOutMethods:methods on:stream
     "superclass AbstractSourceFileWriter says that I am responsible to implement this method"
 
-    ^ self shouldImplement
+    ^ self shouldNotImplement
+
+    "Modified: / 04-08-2014 / 00:36:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 fileOutPackageDefinition:packageId on:stream
     "Files out a package definition on the stream, so all subsequent
      code entities will be placed in that package"
 
-    ^ self shouldImplement
+    ^ self shouldNotImplement
+
+    "Modified: / 04-08-2014 / 00:36:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !JavaSourceFileWriter methodsFor:'source writing - comments'!