Package org.aspectj.weaver.patterns

Examples of org.aspectj.weaver.patterns.DeclareSoft


        }
        node.setDetails(kindOfDP+details.toString());

      } else if (declare.declareDecl instanceof DeclareSoft) {
        node.setKind( IProgramElement.Kind.DECLARE_SOFT);
        DeclareSoft ds = (DeclareSoft)declare.declareDecl;
        node.setName(name + DECLARE_SOFT);
        node.setDetails(genTypePatternLabel(ds.getException()));
       
      } else if (declare.declareDecl instanceof DeclarePrecedence) {
        node.setKind( IProgramElement.Kind.DECLARE_PRECEDENCE);
        DeclarePrecedence ds = (DeclarePrecedence)declare.declareDecl;
        node.setName(name + DECLARE_PRECEDENCE);
        node.setDetails(genPrecedenceListLabel(ds.getPatterns()));
       
      } else if (declare.declareDecl instanceof DeclareAnnotation) {
          DeclareAnnotation deca = (DeclareAnnotation)declare.declareDecl;
        String thekind = deca.getKind().toString();
        node.setName(name+"@"+thekind.substring(3));
View Full Code Here

TOP

Related Classes of org.aspectj.weaver.patterns.DeclareSoft

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.