Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

CFlowPlusState.java 985B

1234567891011121314151617181920212223242526272829303132
  1. /* *******************************************************************
  2. * Copyright (c) 1999-2001 Xerox Corporation,
  3. * 2002 Palo Alto Research Center, Incorporated (PARC).
  4. * All rights reserved.
  5. * This program and the accompanying materials are made available
  6. * under the terms of the Eclipse Public License v1.0
  7. * which accompanies this distribution and is available at
  8. * http://www.eclipse.org/legal/epl-v10.html
  9. *
  10. * Contributors:
  11. * Xerox/PARC initial implementation
  12. * ******************************************************************/
  13. package org.aspectj.runtime.internal;
  14. public class CFlowPlusState extends org.aspectj.runtime.CFlow {
  15. private Object[] state;
  16. public CFlowPlusState(Object[] state) {
  17. this.state = state;
  18. }
  19. public CFlowPlusState(Object[] state, Object _aspect) {
  20. super(_aspect);
  21. this.state = state;
  22. }
  23. public Object get(int index) {
  24. return state[index];
  25. }
  26. }