Implement JavaTypeSubstitutor without PSI

This commit is contained in:
zarechenskiy
2014-06-24 15:24:22 +04:00
committed by Alexander Udalov
parent 97b7768890
commit 0355b1bd53
54 changed files with 1000 additions and 62 deletions
@@ -62,6 +62,9 @@ public interface JavaClass extends JavaClassifier, JavaTypeParameterListOwner, J
@NotNull
OriginKind getOriginKind();
@NotNull
JavaType createImmediateType(@NotNull JavaTypeSubstitutor substitutor);
enum OriginKind {
COMPILED,
SOURCE,
@@ -21,4 +21,13 @@ import org.jetbrains.annotations.NotNull;
public interface JavaTypeProvider {
@NotNull
JavaType createJavaLangObjectType();
@NotNull
JavaWildcardType createUpperBoundWildcard(@NotNull JavaType bound);
@NotNull
JavaWildcardType createLowerBoundWildcard(@NotNull JavaType bound);
@NotNull
JavaWildcardType createUnboundedWildcard();
}