JavaBehavior.st
branchdevelopment
changeset 2504 08bdd02727cf
parent 2429 ebece4dcaab9
child 2711 a00302fe5083
child 2730 272689c14005
--- a/JavaBehavior.st	Thu Apr 11 14:33:47 2013 +0200
+++ b/JavaBehavior.st	Sun Apr 14 15:00:25 2013 +0200
@@ -75,7 +75,6 @@
 "
 ! !
 
-
 !JavaBehavior class methodsFor:'initialization'!
 
 initialize
@@ -104,7 +103,6 @@
     "Modified: / 11-02-2012 / 16:55:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaBehavior class methodsFor:'constants'!
 
 ACC_NATIVE
@@ -125,7 +123,6 @@
     "Created: / 16.5.1998 / 00:02:07 / cg"
 ! !
 
-
 !JavaBehavior class methodsFor:'signature parsing'!
 
 initialValueFromSignature:aSignature
@@ -152,7 +149,6 @@
     ^ InitialValuePerType at:typeChar ifAbsent:nil.
 ! !
 
-
 !JavaBehavior methodsFor:'accessing'!
 
 accessFlags
@@ -181,7 +177,6 @@
     "Modified: / 31-05-2011 / 09:40:42 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaBehavior methodsFor:'compiler interface'!
 
 programmingLanguage
@@ -191,7 +186,6 @@
     "Created: / 26-10-2010 / 23:42:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaBehavior methodsFor:'private accessing'!
 
 makeObsolete
@@ -200,6 +194,26 @@
     "Created: 7.8.1997 / 19:04:48 / cg"
 !
 
+markCacheable
+    "
+    mark this class cacheable - references to this class don't have to be 
+    resolved over and over again, but can be cached.
+    "
+    self breakPoint: #mh.
+
+    "Created: / 14-04-2013 / 14:17:38 / Marcel Hlopko <marcel.hlopko@fit.cvut.cz>"
+!
+
+markNonCacheable
+    "
+    mark this class non cacheable - references to this class have to be 
+    resolved over and over again, because multiple versions of this class exist.
+    "
+    self breakPoint: #mh.
+
+    "Created: / 14-04-2013 / 14:25:23 / Marcel Hlopko <marcel.hlopko@fit.cvut.cz>"
+!
+
 markUninitialized
     (accessFlags bitAnd:ACX_INITIALIZED) ~~ 0 ifTrue:[
 	accessFlags := accessFlags bitXor:ACX_INITIALIZED
@@ -230,7 +244,6 @@
     "Modified: 7.4.1997 / 15:44:53 / cg"
 ! !
 
-
 !JavaBehavior methodsFor:'queries'!
 
 hasInterface:aJavaInterface
@@ -362,7 +375,6 @@
     "Created: / 13-04-2012 / 18:51:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaBehavior class methodsFor:'documentation'!
 
 version