Examples of fromEclipse()


Examples of org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fromEclipse()

    // TODO [inner] use the interTypeScope.getRecoveryAliases
    // TODO [inner] should mark it in the aspect as unreachable - it is not to be considered part of the aspect
    newMemberClassTypeMunger = new NewMemberClassTypeMunger(declaringType, new String(this.name));
    newMemberClassTypeMunger.setSourceLocation(new EclipseSourceLocation(compilationResult, sourceStart, sourceEnd));
    ResolvedType aspectType = world.fromEclipse(classScope.referenceContext.binding);
    return new EclipseTypeMunger(world, newMemberClassTypeMunger, aspectType, null);
  }

  public char[] alternativeName() {
    return onType.getLastToken();
View Full Code Here

Examples of org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fromEclipse()

          "can't define constructors on nested types (compiler limitation)");
      ignoreFurtherInvestigation = true;
      return null;
    }

    ResolvedType declaringTypeX = world.fromEclipse(onTypeBinding);
    ResolvedType aspectType = world.fromEclipse(classScope.referenceContext.binding);

    if (interTypeScope == null)
      return null; // We encountered a problem building the scope, don't continue - error already reported
View Full Code Here

Examples of org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fromEclipse()

      ignoreFurtherInvestigation = true;
      return null;
    }

    ResolvedType declaringTypeX = world.fromEclipse(onTypeBinding);
    ResolvedType aspectType = world.fromEclipse(classScope.referenceContext.binding);

    if (interTypeScope == null)
      return null; // We encountered a problem building the scope, don't continue - error already reported

    // This signature represents what we want consumers of the targetted type to 'see'
View Full Code Here

Examples of org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fromEclipse()

        declaredSelector), UnresolvedType.NONE);
    sig.setTypeVariables(sigtemp.getTypeVariables());

    NewFieldTypeMunger myMunger = new NewFieldTypeMunger(sig, null, typeVariableAliases);
    setMunger(myMunger);
    ResolvedType aspectType = world.fromEclipse(classScope.referenceContext.binding);
    ResolvedMember me = myMunger.getInitMethod(aspectType);
    this.selector = binding.selector = me.getName().toCharArray();
    this.realFieldType = this.binding.returnType;
    this.binding.returnType = TypeBinding.VOID;
    // ??? all other pieces should already match
View Full Code Here

Examples of org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fromEclipse()

    if (binding.isVarargs())
      resetModifiers = resetModifiers | Constants.ACC_VARARGS;
    sig.resetModifiers(resetModifiers);
    NewMethodTypeMunger myMunger = new NewMethodTypeMunger(sig, null, typeVariableAliases);
    setMunger(myMunger);
    ResolvedType aspectType = factory.fromEclipse(classScope.referenceContext.binding);
    ResolvedMember me = myMunger.getInterMethodBody(aspectType);
    this.selector = binding.selector = me.getName().toCharArray();
    return new EclipseTypeMunger(factory, myMunger, aspectType, this);
  }
View Full Code Here

Examples of org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fromEclipse()

    int resetModifiers = declaredModifiers;
    if (binding.isVarargs())  resetModifiers = resetModifiers | Constants.ACC_VARARGS;
    sig.resetModifiers(resetModifiers);
    NewMethodTypeMunger myMunger = new NewMethodTypeMunger(sig, null, typeVariableAliases);
    setMunger(myMunger);
    ResolvedType aspectType = factory.fromEclipse(classScope.referenceContext.binding);
    ResolvedMember me =
      myMunger.getInterMethodBody(aspectType);
    this.selector = binding.selector = me.getName().toCharArray();
    return new EclipseTypeMunger(factory, myMunger, aspectType, this);
  }
View Full Code Here

Examples of org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fromEclipse()

                          sigtemp.getReturnType(),new String(declaredSelector),UnresolvedType.NONE);
    sig.setTypeVariables(sigtemp.getTypeVariables());
   
    NewFieldTypeMunger myMunger = new NewFieldTypeMunger(sig, null,typeVariableAliases);
    setMunger(myMunger);
    ResolvedType aspectType = world.fromEclipse(classScope.referenceContext.binding);
    ResolvedMember me =
      myMunger.getInitMethod(aspectType);
    this.selector = binding.selector = me.getName().toCharArray();
    this.realFieldType = this.binding.returnType;
    this.binding.returnType = TypeBinding.VoidBinding;
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.