refactor TypeVariableResolver

* simplified and unified
* better diagnostics (if type variabe is not found, exception message contains reference)
This commit is contained in:
Stepan Koltsov
2012-02-29 19:21:10 +04:00
parent 6b51c20858
commit 20ca194eef
5 changed files with 112 additions and 114 deletions
@@ -25,7 +25,7 @@ import java.util.Collections;
/**
* @author abreslav
*/
public class ModuleDescriptor extends DeclarationDescriptorImpl {
public class ModuleDescriptor extends DeclarationDescriptorImpl implements ClassOrNamespaceDescriptor {
public ModuleDescriptor(String name) {
super(null, Collections.<AnnotationDescriptor>emptyList(), name);
}