/src/kilim/State.java

http://github.com/kilim/kilim · Java · 30 lines · 5 code · 3 blank · 22 comment · 0 complexity · 8b8897d9aca6e7b4e23008db31c6f94b MD5 · raw file

  1. /* Copyright (c) 2006, Sriram Srinivasan
  2. *
  3. * You may distribute this software under the terms of the license
  4. * specified in the file "License"
  5. */
  6. package kilim;
  7. /**
  8. * State is the super class for customized State objects generated
  9. * by ClassWeaver. For example, a customized state object may
  10. * look like this:
  11. * <pre>
  12. * public final class kilim.S_O2I3 extends kilim.State{
  13. * public java.lang.Object f0, f1;
  14. * public int f2, f3, f4;
  15. * public kilim.S_O2I3();
  16. * }
  17. * </pre>
  18. * This customized class contains slots for two objects and three
  19. * integers (its name is indicative of this aspect) and is used
  20. * as a canonical class to store any activation frame that needs
  21. * to store two objects and three ints.
  22. *
  23. */
  24. public class State {
  25. public int pc;
  26. public Object self;
  27. }