You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AnnotationAnnotationValue.java 930B

1234567891011121314151617181920212223242526272829303132333435
  1. /* *******************************************************************
  2. * Copyright (c) 2006 Contributors
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v1.0
  6. * which accompanies this distribution and is available at
  7. * http://www.eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * Andy Clement IBM initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.weaver;
  13. public class AnnotationAnnotationValue extends AnnotationValue {
  14. private AnnotationAJ value;
  15. public AnnotationAnnotationValue(AnnotationAJ value) {
  16. super(AnnotationValue.ANNOTATION);
  17. this.value = value;
  18. }
  19. public AnnotationAJ getAnnotation() {
  20. return value;
  21. }
  22. public String stringify() {
  23. return value.stringify();
  24. }
  25. public String toString() {
  26. return value.toString();
  27. }
  28. }