Package org.aspectj.ajdt.internal.compiler.lookup

Examples of org.aspectj.ajdt.internal.compiler.lookup.EclipseTypeMunger


    // 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);
  }
View Full Code Here


    this.selector = binding.selector = me.getName().toCharArray();
    this.realFieldType = this.binding.returnType;
    this.binding.returnType = TypeBinding.VOID;
    // ??? all other pieces should already match

    return new EclipseTypeMunger(world, myMunger, aspectType, this);
  }
View Full Code Here

  public void processIntertypeMemberTypes(ClassScope classScope) {
    factory = EclipseFactory.fromScopeLookupEnvironment(scope);
    if (memberTypes != null) {
      for (int i = 0; i < memberTypes.length; i++) {
        if (memberTypes[i] instanceof IntertypeMemberClassDeclaration) {
          EclipseTypeMunger m = ((IntertypeMemberClassDeclaration) memberTypes[i]).build(classScope);
          if (m != null) {
            mungeNewInnerClass(m, factory);
            concreteName.typeMungers.add(m);
          }
        }
View Full Code Here

    buildPerClause(scope);

    if (methods != null) {
      for (int i = 0; i < methods.length; i++) {
        if (methods[i] instanceof InterTypeDeclaration) {
          EclipseTypeMunger m = ((InterTypeDeclaration) methods[i]).build(classScope);
          if (m != null) {
            concreteName.typeMungers.add(m);
          }
        } else if (methods[i] instanceof DeclareDeclaration) {
          Declare d = ((DeclareDeclaration) methods[i]).build(classScope);
View Full Code Here

    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

    myMunger.check(world.getWorld());

    this.selector = binding.selector = NameMangler.postIntroducedConstructor(world.fromBinding(binding.declaringClass),
        declaringTypeX).toCharArray();

    return new EclipseTypeMunger(world, myMunger, aspectType, this);
  }
View Full Code Here

    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

    this.selector = binding.selector = me.getName().toCharArray();
    this.realFieldType = this.binding.returnType;
    this.binding.returnType = TypeBinding.VoidBinding;
    //??? all other pieces should already match
   
    return new EclipseTypeMunger(world, myMunger, aspectType, this);
 
View Full Code Here

    buildPerClause(scope);
   
    if (methods != null) {
      for (int i = 0; i < methods.length; i++) {
        if (methods[i] instanceof InterTypeDeclaration) {
          EclipseTypeMunger m = ((InterTypeDeclaration)methods[i]).build(classScope);
          if (m != null) concreteName.typeMungers.add(m);
        } else if (methods[i] instanceof DeclareDeclaration) {
          Declare d = ((DeclareDeclaration)methods[i]).build(classScope);
          if (d != null) concreteName.declares.add(d);
        }
View Full Code Here

TOP

Related Classes of org.aspectj.ajdt.internal.compiler.lookup.EclipseTypeMunger

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.