JavaSourceFileWriter.st
branchcvs_MAIN
changeset 3360 1a8899091305
parent 3324 a58245c0e83a
child 3412 df11bb428463
--- a/JavaSourceFileWriter.st	Fri Feb 14 14:27:26 2014 +0100
+++ b/JavaSourceFileWriter.st	Wed Jan 28 03:12:08 2015 +0100
@@ -1,9 +1,9 @@
 "
- COPYRIGHT (c) 1996-2011 by Claus Gittinger
+ COPYRIGHT (c) 1996-2015 by Claus Gittinger
 
  New code and modifications done at SWING Research Group [1]:
 
- COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
+ COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko
                             SWING Research Group, Czech Technical University in Prague
 
  This software is furnished under a license and may be used
@@ -31,11 +31,11 @@
 
 copyright
 "
- COPYRIGHT (c) 1996-2011 by Claus Gittinger
+ COPYRIGHT (c) 1996-2015 by Claus Gittinger
 
  New code and modifications done at SWING Research Group [1]:
 
- COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
+ COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko
                             SWING Research Group, Czech Technical University in Prague
 
  This software is furnished under a license and may be used
@@ -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'!
@@ -105,7 +111,7 @@
 !JavaSourceFileWriter class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libjava/JavaSourceFileWriter.st,v 1.5 2013-09-06 00:41:26 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libjava/JavaSourceFileWriter.st,v 1.6 2015-01-28 02:10:50 vrany Exp $'
 !
 
 version_HG
@@ -114,6 +120,6 @@
 !
 
 version_SVN
-    ^ '§Id§'
+    ^ 'Id'
 ! !