getting rid of TypeInfo

This commit is contained in:
Alex Tkachman
2012-02-21 14:54:00 +02:00
parent 0ed8e19eaf
commit 8b622f97f4
139 changed files with 209 additions and 2186 deletions
@@ -1315,6 +1315,13 @@ public class JavaDescriptorResolver {
@Nullable
private FunctionDescriptorImpl resolveMethodToFunctionDescriptor(ClassOrNamespaceDescriptor owner, final PsiClass psiClass, TypeSubstitutor typeSubstitutorForGenericSuperclasses, final PsiMethodWrapper method) {
PsiAnnotation[] applicableAnnotations = method.getPsiMethod().getModifierList().getAnnotations();
for (PsiAnnotation applicableAnnotation : applicableAnnotations) {
if("jet.runtime.intrinsic".equals(applicableAnnotation.getQualifiedName())) {
PsiAnnotationMemberValue value = applicableAnnotation.findAttributeValue("value");
}
}
PsiType returnType = method.getReturnType();
if (returnType == null) {
return null;
@@ -31,7 +31,8 @@ import java.util.Map;
* @author Stepan Koltsov
*/
class JavaDescriptorResolverHelper {
private JavaDescriptorResolverHelper() {
}
private static class Builder {
private final PsiClassWrapper psiClass;