Package org.springframework.ide.eclipse.aop.core.internal.model

Examples of org.springframework.ide.eclipse.aop.core.internal.model.AnnotationIntroductionDefinition


    return new EmptyFieldVisitor() {
      @Override
      public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
        if (visible && ANNOTATION_TYPES.containsKey(desc)) {
          final AnnotationIntroductionDefinition def = new AnnotationIntroductionDefinition();
          aspectDefinitions.add(def);
 
          def.setDefiningField(visitedField);
          def.setIntroducedInterfaceName(visitedFieldType);
 
          def.setAspectClassName(aspectClassName);
          def.setAspectName(aspectName);
          def.setAspectStartLineNumber(aspectStartLineNumber);
          def.setAspectEndLineNumber(aspectEndLineNumber);
 
          return new EmptyAnnotationVisitor() {
            public void visit(String name, Object value) {
              if ("defaultImpl".equals(name)) {
                def.setDefaultImplName(value.toString());
              } else if ("value".equals(name)) {
                def.setTypePattern(value.toString());
              }
            };
          };
        }
        else {
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.aop.core.internal.model.AnnotationIntroductionDefinition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.