getting rid of TypeInfo
This commit is contained in:
+7
@@ -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;
|
||||
|
||||
+2
-1
@@ -31,7 +31,8 @@ import java.util.Map;
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
class JavaDescriptorResolverHelper {
|
||||
|
||||
private JavaDescriptorResolverHelper() {
|
||||
}
|
||||
|
||||
private static class Builder {
|
||||
private final PsiClassWrapper psiClass;
|
||||
|
||||
Reference in New Issue
Block a user