Package org.aspectj.org.eclipse.jdt.internal.compiler.lookup

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment


    }
    classFile.addAttributes();
    unitResult.record(typeBinding.constantPoolName(), classFile);
  }
  public static ClassFile getNewInstance(SourceTypeBinding typeBinding) {
    LookupEnvironment env = typeBinding.scope.environment();
    return env.classFilePool.acquire(typeBinding);
  }
View Full Code Here


          ClassFile.writeToDisk(
            generateClasspathStructure,
            currentDestinationPath,
            relativeStringName,
            classFile);
          LookupEnvironment env = this.batchCompiler.lookupEnvironment;
          if (classFile.isShared) env.classFilePool.release(classFile);
          this.logger.logClassFile(
            generateClasspathStructure,
            currentDestinationPath,
            relativeStringName);
View Full Code Here

      if (!(match instanceof ReferenceBinding)) return false;

      org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding[] superMethods = ((ReferenceBinding)match).getMethods(selector);
      for (int i = 0, length = superMethods.length; i < length; i++) {
        if (superMethods[i].original() == overridenCompilerBinding) {
          LookupEnvironment lookupEnvironment = this.resolver.lookupEnvironment();
          if (lookupEnvironment == null) return false;
          MethodVerifier methodVerifier = lookupEnvironment.methodVerifier();
          org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding superMethod = superMethods[i];
          return !(superMethod.isDefault() && (superMethod.declaringClass.getPackage()) != this.binding.declaringClass.getPackage())
            && methodVerifier.doesMethodOverride(this.binding, superMethod);
        }
      }
View Full Code Here

TOP

Related Classes of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment

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.