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.

AnnotationAnnotationValue.java 938B

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 v 2.0
  6. * which accompanies this distribution and is available at
  7. * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
  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. }