]> source.dussan.org Git - aspectj.git/commitdiff
adapt to JDT changes
authorAndy Clement <aclement@pivotal.io>
Tue, 9 May 2017 00:31:27 +0000 (17:31 -0700)
committerAndy Clement <aclement@pivotal.io>
Tue, 9 May 2017 00:31:27 +0000 (17:31 -0700)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/StatefulNameEnvironment.java

index 26c683bb4beea2b59413f8bb26b31641a6d66b8a..71c3041e841f536dd5669d18555c3599a3bd08be 100644 (file)
@@ -26,7 +26,6 @@ import org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader;
 import org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException;
 import org.aspectj.org.eclipse.jdt.internal.compiler.env.IBinaryType;
 import org.aspectj.org.eclipse.jdt.internal.compiler.env.IModule;
-import org.aspectj.org.eclipse.jdt.internal.compiler.env.IModuleLocation;
 import org.aspectj.org.eclipse.jdt.internal.compiler.env.INameEnvironment;
 import org.aspectj.org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer;
 import org.aspectj.util.FileUtil;
@@ -94,26 +93,26 @@ public class StatefulNameEnvironment implements INameEnvironment {
        }
        
        @Override
-       public NameEnvironmentAnswer findType(char[] typeName, char[][] packageName, char[] client) {
+       public NameEnvironmentAnswer findType(char[] typeName, char[][] packageName) {
                NameEnvironmentAnswer ret = findType(new String(CharOperation.concatWith(packageName, typeName, '.')));
                if (ret != null) {
                        return ret;
                }
-               return baseEnvironment.findType(typeName, packageName, client);
+               return baseEnvironment.findType(typeName, packageName);
        }
 
        @Override
-       public NameEnvironmentAnswer findType(char[][] compoundName, char[] client) {
+       public NameEnvironmentAnswer findType(char[][] compoundName) {
                NameEnvironmentAnswer ret = findType(new String(CharOperation.concatWith(compoundName, '.')));
                if (ret != null) {
                        return ret;
                }
-               return baseEnvironment.findType(compoundName, client);
+               return baseEnvironment.findType(compoundName);
        }
 
        @Override
-       public boolean isPackage(char[][] parentPackageName, char[] packageName, char[] client) {
-               if (baseEnvironment.isPackage(parentPackageName, packageName, client)) {
+       public boolean isPackage(char[][] parentPackageName, char[] packageName) {
+               if (baseEnvironment.isPackage(parentPackageName, packageName)) {
                        return true;
                }
                String fullPackageName = new String(CharOperation.concatWith(parentPackageName, packageName, '.'));
@@ -131,28 +130,4 @@ public class StatefulNameEnvironment implements INameEnvironment {
                this.classesFromName = classNameToFileMap;
        }
 
-       @Override
-       public void acceptModule(IModule module, IModuleLocation location) {
-               // TODO [j9]
-               baseEnvironment.acceptModule(module, location);
-       }
-
-       @Override
-       public boolean isPackageVisible(char[] pack, char[] source, char[] client) {
-               // TODO [j9]
-               return baseEnvironment.isPackageVisible(pack, source, client);
-       }
-
-       @Override
-       public IModule getModule(char[] name) {
-               // TODO [j9]
-               return baseEnvironment.getModule(name);
-       }
-
-       @Override
-       public IModule getModule(IModuleLocation location) {
-               // TODO [j9]
-               return baseEnvironment.getModule(location);
-       }
-
 }