Package org.aspectj.weaver.patterns

Examples of org.aspectj.weaver.patterns.PerThisOrTargetPointcutVisitor


        PerFromSuper ps = (PerFromSuper) aspectType.getPerClause();
        isPerThis = ((PerObject) ps.lookupConcretePerClause(aspectType)).isThis();
      } else {
        isPerThis = ((PerObject) aspectType.getPerClause()).isThis();
      }
      PerThisOrTargetPointcutVisitor v = new PerThisOrTargetPointcutVisitor(!isPerThis, aspectType);
      lazyTestTypePattern = v.getPerTypePointcut(testPointcut);
      // reset hashCode so that its recalculated with the new lazyTestTypePattern
      hashCode = 0;
    }
    return lazyTestTypePattern;
  }
View Full Code Here


                PerFromSuper ps = (PerFromSuper) aspectType.getPerClause();
                isPerThis = ((PerObject) ps.lookupConcretePerClause(aspectType)).isThis();
            } else {
                isPerThis = ((PerObject) aspectType.getPerClause()).isThis();
            }
            PerThisOrTargetPointcutVisitor v = new PerThisOrTargetPointcutVisitor(!isPerThis, aspectType);
            lazyTestTypePattern = v.getPerTypePointcut(testPointcut);
        }
        return lazyTestTypePattern;
    }
View Full Code Here

TOP

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

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.