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

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


 
  public void resolve(ClassScope upperScope) {
    if (ignoreFurtherInvestigation) return;
   
    if (!scopeSetup) {
      interTypeScope = new InterTypeScope(upperScope, onTypeBinding,typeVariableAliases);
      scope.parent = interTypeScope;
      this.scope.isStatic = Modifier.isStatic(declaredModifiers);
      scopeSetup = true;
    }
    fixSuperCallsForInterfaceContext(upperScope);
View Full Code Here


   
    // if resolution failed, give up - someone else is going to report an error
    if (rb instanceof ProblemReferenceBinding) return;
   
    interTypeScope = new InterTypeScope(scope.parent, rb, typeVariableAliases);
    // FIXME asc verify the choice of lines here...
    // Two versions of this next line. 
    // First one tricks the JDT variable processing code so that it won't complain if
    // you refer to a type variable from a static ITD - it *is* a problem and it *will* be caught, but later and
    // by the AJDT code so we can put out a much nicer message.
View Full Code Here

    // if resolution failed, give up - someone else is going to report an error
    // if (rb instanceof ProblemReferenceBinding) {
    // return;
    // }

    interTypeScope = new InterTypeScope(scope.parent, onTypeResolvedBinding, Collections.emptyList());
    // FIXME asc verify the choice of lines here...
    // Two versions of this next line.
    // First one tricks the JDT variable processing code so that it won't complain if
    // you refer to a type variable from a static ITD - it *is* a problem and it *will* be caught, but later and
    // by the AJDT code so we can put out a much nicer message.
View Full Code Here

      pre.statements = new Statement[] {};
    } else {
      pre.statements = new Statement[] { explicitConstructorCall };
    }

    InterTypeScope newParent = new InterTypeScope(scope, onTypeBinding);
    pre.scope.parent = newParent;

    pre.resolveStatements(); // newParent);

    int nParams = pre.arguments.length;
View Full Code Here

 
  public void resolve(ClassScope upperScope) {
    if (ignoreFurtherInvestigation) return;
   
    if (!scopeSetup) {
      interTypeScope = new InterTypeScope(upperScope, onTypeBinding,typeVariableAliases);
      scope.parent = interTypeScope;
      this.scope.isStatic = Modifier.isStatic(declaredModifiers);
      scopeSetup = true;
    }
    fixSuperCallsForInterfaceContext(upperScope);
View Full Code Here

   
    // if resolution failed, give up - someone else is going to report an error
    if (rb instanceof ProblemReferenceBinding) return;
   
    interTypeScope = new InterTypeScope(scope.parent, rb, typeVariableAliases);
    // FIXME asc verify the choice of lines here...
    // Two versions of this next line. 
    // First one tricks the JDT variable processing code so that it won't complain if
    // you refer to a type variable from a static ITD - it *is* a problem and it *will* be caught, but later and
    // by the AJDT code so we can put out a much nicer message.
View Full Code Here

TOP

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

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.