harpoon.Backend.Runtime1
Class Runtime.ExtraClazInfo

java.lang.Object
  extended by harpoon.Backend.Runtime1.Runtime.ExtraClazInfo
Enclosing class:
Runtime

protected static class Runtime.ExtraClazInfo
extends Object

provides a means for a subclass to add extra fields to DataClaz. A little bit cleaner than trying to subclass DataClaz and hack TreeBuilder to make this work.


Constructor Summary
protected Runtime.ExtraClazInfo()
           
 
Method Summary
 Stm emit(TreeFactory tf, Frame f, HClass hc, ClassHierarchy ch)
          Here's your chance to insert your stuff.
 int fields_size()
          Return the number of bytes of fields you're planning on sticking into the claz structure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Runtime.ExtraClazInfo

protected Runtime.ExtraClazInfo()
Method Detail

fields_size

public int fields_size()
Return the number of bytes of fields you're planning on sticking into the claz structure.


emit

public Stm emit(TreeFactory tf,
                Frame f,
                HClass hc,
                ClassHierarchy ch)
Here's your chance to insert your stuff.