Examples of StandardShadowMatchImpl


Examples of org.aspectj.weaver.reflect.StandardShadowMatchImpl

  // return sm;
  // }

  private ShadowMatch matchesExecution(ResolvedMember aMember) {
    Shadow s = StandardShadow.makeExecutionShadow(world, aMember, this.matchContext);
    StandardShadowMatchImpl sm = getShadowMatch(s);
    sm.setSubject(aMember);
    sm.setWithinCode(null);
    sm.setWithinType((ResolvedType) aMember.getDeclaringType());
    return sm;
  }
View Full Code Here

Examples of org.aspectj.weaver.reflect.StandardShadowMatchImpl

  // return sm;
  // }

  public ShadowMatch matchesStaticInitialization(ResolvedType aType) {
    Shadow s = StandardShadow.makeStaticInitializationShadow(world, aType, this.matchContext);
    StandardShadowMatchImpl sm = getShadowMatch(s);
    sm.setSubject(null);
    sm.setWithinCode(null);
    sm.setWithinType(aType);
    return sm;
  }
View Full Code Here

Examples of org.aspectj.weaver.reflect.StandardShadowMatchImpl

  // return sm;
  // }
  //
  public ShadowMatch matchesMethodCall(ResolvedMember aMethod, ResolvedMember withinCode) {
    Shadow s = StandardShadow.makeCallShadow(world, aMethod, withinCode, this.matchContext);
    StandardShadowMatchImpl sm = getShadowMatch(s);
    sm.setSubject(aMethod);
    sm.setWithinCode(withinCode);
    sm.setWithinType((ResolvedType) withinCode.getDeclaringType());
    return sm;
  }
View Full Code Here

Examples of org.aspectj.weaver.reflect.StandardShadowMatchImpl

    Test residueTest = Literal.TRUE;
    ExposedState state = getExposedState();
    if (match.maybeTrue()) {
      residueTest = pointcut.findResidue(forShadow, state);
    }
    StandardShadowMatchImpl sm = new StandardShadowMatchImpl(match, residueTest, state, parameters);
    sm.setMatchingContext(this.matchContext);
    return sm;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.