Package org.aspectj.weaver

Examples of org.aspectj.weaver.World


    if (kind.isPerEntry() || kind == AdviceKind.Softener) {
      return 0;
    }
   
    //System.out.println("compare: " + this + " with " + other);
    World world = concreteAspect.getWorld();
   
    int ret =
      concreteAspect.getWorld().compareByPrecedence(
        concreteAspect,
        o.concreteAspect);
View Full Code Here


    checkWeaveAccess(key.getDeclaringType(), location);
    accessors.put(key, key);
  }

  private void checkWeaveAccess(UnresolvedType typeX, ASTNode location) {
    World world = inAspect.factory.getWorld();
    Lint.Kind check = world.getLint().typeNotExposedToWeaver;
    if (check.isEnabled()) {
      if (!world.resolve(typeX).isExposedToWeaver()) {
        ISourceLocation loc = null;
        if (location != null) {
          loc = new EclipseSourceLocation(inAspect.compilationResult,
              location.sourceStart, location.sourceEnd);
        }
View Full Code Here

    }
   
  }

  public void warnOnAddedInterface (ResolvedType type, ResolvedType parent) {
    World world = factory.getWorld();
    ResolvedType serializable = world.getCoreType(UnresolvedType.SERIALIZABLE);
    if (serializable.isAssignableFrom(type)
      && !serializable.isAssignableFrom(parent)
      && !LazyClassGen.hasSerialVersionUIDField(type)) {
      world.getLint().needsSerialVersionUIDField.signal(
        new String[] {
          type.getName().toString(),
          "added interface " + parent.getName().toString()
        },
        null,
View Full Code Here

TOP

Related Classes of org.aspectj.weaver.World

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.