Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
72,400 | String () { return "ExternalAnnotation{" + "owner=" + owner + ", annotationFQName='" + annotationFQName + '\'' + ", values=" + Arrays.toString(values) + '}'; } | toString |
72,401 | boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ExternalAnnotation that = (ExternalAnnotation)o; return Objects.equals(owner, that.owner) && Objects.equals(annotationFQName, that.annotationFQName) && Arrays.equals(values, that.values); } | equals |
72,402 | int () { int result = Objects.hash(owner, annotationFQName); result = 31 * result + Arrays.hashCode(values); return result; } | hashCode |
72,403 | RefactoringElementListener (PsiElement element) { if (element instanceof PsiModifierListOwner modifierListOwner) { Project project = element.getProject(); ExternalAnnotationsManager externalAnnotationsManager = ExternalAnnotationsManager.getInstance(project); PsiAnnotation[] annotations = externalAnnotationsManager.fin... | getListener |
72,404 | void (@NotNull PsiElement newElement) { if (newElement instanceof PsiModifierListOwner owner) { externalAnnotationsManager.elementRenamedOrMoved(owner, oldExternalName); } } | elementRenamedOrMoved |
72,405 | void (@NotNull PsiElement newElement) { elementRenamedOrMoved(newElement); } | elementMoved |
72,406 | void (@NotNull PsiElement newElement) { elementRenamedOrMoved(newElement); } | elementRenamed |
72,407 | PsiExpression (PsiFile file, int startOffset, int endOffset) { if (!file.getViewProvider().getLanguages().contains(JavaLanguage.INSTANCE)) return null; PsiExpression expression = findElementInRange(file, startOffset, endOffset, PsiExpression.class); if (expression == null && findStatementsInRange(file, startOffset, end... | findExpressionInRange |
72,408 | boolean (PsiElement element1, PsiElement element2, int offset) { if (element1 == element2 && element1 instanceof PsiExpressionStatement) { for (PsiElement child = element1.getLastChild(); child != null; child = child.getPrevSibling()) { if (PsiUtil.isJavaToken(child, JavaTokenType.SEMICOLON) && child.getTextRange().get... | isAtTrailingComment |
72,409 | Language (@NotNull final PsiFile file) { final Set<Language> languages = file.getViewProvider().getLanguages(); if (languages.contains(JavaLanguage.INSTANCE)) return JavaLanguage.INSTANCE; for (final Language language : languages) { if (language.isKindOf(JavaLanguage.INSTANCE)) return language; } return null; } | findJavaOrLikeLanguage |
72,410 | boolean (PsiMember o) { return o instanceof PsiClass && o.getContainingClass() != null; } | isInnerClass |
72,411 | int (PsiMember o1, PsiMember o2) { String qname1 = o1 instanceof PsiClass ? ((PsiClass)o1).getQualifiedName() : null; String qname2 = o2 instanceof PsiClass ? ((PsiClass)o2).getQualifiedName() : null; if (qname1 == null || qname2 == null) return 0; return qname1.compareToIgnoreCase(qname2); } | compareQualifiedNames |
72,412 | void (PsiExpression expr, List<? super PsiExpression> array, PsiElement scope, EquivalenceChecker equivalenceChecker) { PsiElement[] children = scope.getChildren(); for (PsiElement child : children) { if (child instanceof PsiExpression) { PsiExpression unparenthesized = CommonJavaRefactoringUtil.unparenthesizeExpressio... | addExpressionOccurrences |
72,413 | void (List<? super PsiExpression> array, PsiElement scope, PsiElement referee) { PsiElement[] children = scope.getChildren(); for (PsiElement child : children) { if (child instanceof PsiReferenceExpression) { PsiElement ref = ((PsiReferenceExpression)child).resolve(); if (ref != null && PsiEquivalenceUtil.areElementsEq... | addReferenceExpressions |
72,414 | Editor (final Project project, PsiFile targetFile, @NotNull PsiClass psiClass) { final PsiElement lBrace = psiClass.getLBrace(); return positionCursor(project, targetFile, lBrace != null ? lBrace : psiClass); } | positionCursorAtLBrace |
72,415 | Editor (@NotNull Project project, @NotNull PsiFile targetFile, @NotNull PsiElement element) { TextRange range = element.getTextRange(); LOG.assertTrue(range != null, element.getClass()); int textOffset = range.getStartOffset(); if (IntentionPreviewUtils.isPreviewElement(targetFile)) { Editor editor = IntentionPreviewUt... | positionCursor |
72,416 | boolean (PsiElement @NotNull ... elements) { return FileModificationService.getInstance().preparePsiElementsForWrite(Arrays.asList(elements)); } | preparePsiElementsForWrite |
72,417 | void (PsiType psiType, final PsiElement context, boolean getRawSubtypes, @NotNull final PrefixMatcher matcher, Consumer<? super PsiType> consumer) { int arrayDim = psiType.getArrayDimensions(); psiType = psiType.getDeepComponentType(); if (!(psiType instanceof PsiClassType)) return; PsiClassType baseType = JavaCompleti... | processSubTypes |
72,418 | Set<PsiClass> (PsiElement context, PsiClass baseClass, Processor<? super PsiClass> inheritorsProcessor) { Set<PsiClass> visited = new HashSet<>(); context.getContainingFile().getOriginalFile().processDeclarations(new PsiScopeProcessor() { @Override public boolean execute(@NotNull PsiElement element, @NotNull ResolveSta... | processImportedInheritors |
72,419 | boolean (@NotNull PsiElement element, @NotNull ResolveState state) { if (element instanceof PsiClass && ((PsiClass)element).isInheritor(baseClass, true) && visited.add((PsiClass)element)) { return inheritorsProcessor.process((PsiClass)element); } return true; } | execute |
72,420 | void (PsiElement context, PsiClassType baseType, Processor<? super PsiClass> inheritorsProcessor) { Set<String> usedNames = new HashSet<>(); PsiElementFactory factory = JavaPsiFacade.getElementFactory(context.getProject()); PsiElement each = context; while (true) { PsiTypeParameterListOwner typed = PsiTreeUtil.getParen... | addContextTypeArguments |
72,421 | PsiType (@NotNull PsiElement context, @NotNull PsiClassType baseType, int arrayDim, boolean raw, @NotNull PsiClass baseClass, @NotNull PsiClass inheritor) { Project project = baseClass.getProject(); PsiElementFactory factory = JavaPsiFacade.getElementFactory(project); if (!PsiResolveHelper.getInstance(project).isAccess... | getSubTypeBySubClass |
72,422 | List<PsiType> (PsiElement context, PsiTypeParameterListOwner paramOwner, Iterable<? extends PsiTypeParameter> typeParams, PsiClassType expectedType) { if (paramOwner instanceof PsiClass) { return GenericsUtil.getExpectedTypeArguments(context, (PsiClass)paramOwner, typeParams, expectedType); } PsiSubstitutor substitutor... | getExpectedTypeArgs |
72,423 | LineMarkerType (Collection<? extends AnnotationDocGenerator> nonCodeAnnotations) { if (ContainerUtil.find(nonCodeAnnotations, (anno) -> !anno.isInferred()) != null) { return LineMarkerType.External; } if (ContainerUtil.find(nonCodeAnnotations, (anno) -> anno.isInferred() && !isContract(anno)) != null) { return LineMark... | getAnnotationLineMarkerType |
72,424 | boolean (AnnotationDocGenerator anno) { return Contract.class.getName().equals(anno.getAnnotationQualifiedName()); } | isContract |
72,425 | String () { return myName; } | getName |
72,426 | void (@NotNull List<? extends PsiElement> elements, @NotNull Collection<? super LineMarkerInfo<?>> result) { for (PsiElement element : elements) { LineMarkerInfo<?> info = buildLineMarkerInfo(element); if (info != null) { result.add(info); } } } | collectSlowLineMarkers |
72,427 | void (MouseEvent e, PsiElement nameIdentifier) { final PsiElement listOwner = nameIdentifier.getParent(); final PsiFile containingFile = listOwner.getContainingFile(); final VirtualFile virtualFile = PsiUtilCore.getVirtualFile(listOwner); if (virtualFile != null && containingFile != null) { final Project project = list... | navigate |
72,428 | List<AnAction> (PsiFile file, Project project, Editor editor) { Comparator<IntentionAction> comparator = Comparator.comparing((IntentionAction action) -> action instanceof PriorityAction ? ((PriorityAction)action).getPriority() : PriorityAction.Priority.NORMAL) .thenComparing(IntentionAction::getText); return Intention... | getMethodActions |
72,429 | List<AnAction> (@NotNull PsiFile file, Project project, Editor editor) { final PsiElement leaf = file.findElementAt(editor.getCaretModel().getOffset()); if (leaf == null) return Collections.emptyList(); PsiMethod method = ObjectUtils.tryCast(leaf.getParent(), PsiMethod.class); if (method == null) return Collections.emp... | getParameterAnnotationActions |
72,430 | void (@NotNull AnActionEvent e) { PsiDocumentManager.getInstance(project).commitAllDocuments(); intention.makeAnnotationsExplicit(project, file, parameter); } | actionPerformed |
72,431 | boolean (IntentionAction action) { return action instanceof AnnotateIntentionAction || action instanceof DeannotateIntentionAction || action.getClass().getName().equals("com.intellij.codeInspection.dataFlow.EditContractIntention") || action instanceof MakeInferredAnnotationExplicit || action.asModCommandAction() instan... | shouldShowInGutterPopup |
72,432 | LanguageLevel (@NotNull PsiElement psiElement) { return PsiUtil.getLanguageLevel(psiElement); } | getLanguageLevel |
72,433 | LanguageLevel (@NotNull Project project) { return PsiUtil.getLanguageLevel(project); } | getLanguageLevel |
72,434 | void (@NotNull ModuleRootEvent event) { if (event.isCausedByWorkspaceModelChangesOnly()) return; dropAnnotationsCache(); } | rootsChanged |
72,435 | void (@NotNull List<? extends @NotNull VFileEvent> events) { for (VFileEvent event : events) { if (!event.isFromRefresh()) { continue; } String name; if (event instanceof VFileCreateEvent) { name = ((VFileCreateEvent)event).getChildName(); } else { VirtualFile file = event.getFile(); if (file == null) { continue; } nam... | after |
72,436 | void (@NotNull IdeaPluginDescriptor pluginDescriptor, boolean isUpdate) { dropAnnotationsCache(); } | beforePluginUnload |
72,437 | void (@NotNull RegistryValue value) { String url = value.asString(); myAdditionalAnnotationsRoot = !StringUtil.isEmptyOrSpaces(url) ? VirtualFileManager.getInstance().refreshAndFindFileByUrl(url) : null; dropAnnotationsCache(); } | afterValueChanged |
72,438 | void () { } | dispose |
72,439 | void (@NotNull PsiModifierListOwner owner, @NotNull String annotationFQName, boolean successful) { myBus.syncPublisher(TOPIC).afterExternalAnnotationChanging(owner, annotationFQName, successful); myPsiManager.dropPsiCaches(); } | notifyAfterAnnotationChanging |
72,440 | void () { myBus.syncPublisher(TOPIC).externalAnnotationsChangedExternally(); myPsiManager.dropPsiCaches(); } | notifyChangedExternally |
72,441 | void (@NotNull VirtualFile root, @NotNull ExternalAnnotation annotation) { annotateExternally(root, Collections.singletonList(annotation)); } | annotateExternally |
72,442 | void (@NotNull VirtualFile root, @NotNull List<? extends ExternalAnnotation> annotations) { Project project = myPsiManager.getProject(); Map<Optional<VirtualFile>, List<ExternalAnnotation>> annotationsByFiles = annotations.stream() .collect(Collectors.groupingBy(annotation -> Optional.ofNullable(getFileForAnnotations(r... | annotateExternally |
72,443 | void () { dropAnnotationsCache(); notifyChangedExternally(); } | undo |
72,444 | void () { dropAnnotationsCache(); notifyChangedExternally(); } | redo |
72,445 | void () { dropCache(); } | dropAnnotationsCache |
72,446 | void (@Nullable XmlFile annotationsFile, @NotNull List<ExternalAnnotation> annotations) { XmlTag rootTag = extractRootTag(annotationsFile); Map<String, List<ExternalAnnotation>> ownerToAnnotations = StreamEx.of(annotations) .mapToEntry(annotation -> { String externalName = getExternalName(annotation.getOwner()); return... | annotateExternally |
72,447 | XmlTag (XmlFile annotationsFile) { if (annotationsFile == null) { return null; } XmlDocument document = annotationsFile.getDocument(); if (document == null) { return null; } return document.getRootTag(); } | extractRootTag |
72,448 | void (@Nullable PsiFile containingFile) { if (containingFile == null) { return; } VirtualFile virtualFile = containingFile.getVirtualFile(); if (virtualFile != null && virtualFile.isInLocalFileSystem()) { UndoUtil.markPsiFileForUndo(containingFile); } } | markForUndo |
72,449 | XmlTag (@NotNull XmlTag rootTag, @NotNull String ownerName, @NotNull ExternalAnnotation annotation, @Nullable XmlTag startTag) { if (startTag == null) { startTag = PsiTreeUtil.findChildOfType(rootTag, XmlTag.class); } XmlTag prevItem = null; XmlTag curItem = startTag; while (curItem != null) { XmlTag addedItem = addAnn... | addAnnotation |
72,450 | XmlTag (@NotNull XmlTag rootTag, @Nullable XmlTag anchor, @NotNull String ownerName, @NotNull ExternalAnnotation annotation) { XmlElementFactory elementFactory = XmlElementFactory.getInstance(myPsiManager.getProject()); XmlTag newItemTag = elementFactory.createTagFromText(createItemTag(ownerName, annotation)); PsiEleme... | addItemTag |
72,451 | XmlTag (@NotNull XmlTag itemTag, @NotNull ExternalAnnotation annotation) { @NonNls String annotationFQName = annotation.getAnnotationFQName(); PsiNameValuePair[] values = annotation.getValues(); XmlElementFactory elementFactory = XmlElementFactory.getInstance(myPsiManager.getProject()); XmlTag anchor = null; for (XmlTa... | appendItemAnnotation |
72,452 | boolean (@NotNull OrderEntry entry, @NotNull Project project, @NotNull ExternalAnnotation annotation) { final FileChooserDescriptor descriptor = FileChooserDescriptorFactory.createSingleFolderDescriptor(); descriptor.setTitle(JavaBundle.message("external.annotations.root.chooser.title", entry.getPresentableName())); de... | setupRootAndAnnotateExternally |
72,453 | void (VirtualFile @NotNull [] roots, @NotNull ExternalAnnotation annotation) { if (roots.length > 1) { JBPopupFactory.getInstance().createListPopup(new BaseListPopupStep<>(JavaBundle.message("external.annotations.roots"), roots) { @Override public void canceled() { notifyAfterAnnotationChanging(annotation.getOwner(), a... | chooseRootAndAnnotateExternally |
72,454 | void () { notifyAfterAnnotationChanging(annotation.getOwner(), annotation.getAnnotationFQName(), false); } | canceled |
72,455 | PopupStep (@NotNull VirtualFile file, final boolean finalChoice) { annotateExternally(file, annotation); return FINAL_CHOICE; } | onChosen |
72,456 | String (@NotNull VirtualFile value) { return value.getPresentableUrl(); } | getTextFor |
72,457 | Icon (final VirtualFile aValue) { return AllIcons.Modules.Annotation; } | getIconFor |
72,458 | boolean (@NotNull PsiModifierListOwner listOwner, @NotNull String annotationFQN) { ThreadingAssertions.assertEventDispatchThread(); return processExistingExternalAnnotations(listOwner, annotationFQN, annotationTag -> { PsiElement parent = annotationTag.getParent(); annotationTag.delete(); if (parent instanceof XmlTag) ... | deannotate |
72,459 | void (@NotNull PsiModifierListOwner element, @NotNull String oldExternalName) { ThreadingAssertions.assertEventDispatchThread(); try { final List<XmlFile> files = findExternalAnnotationsXmlFiles(element); if (files == null) { return; } for (final XmlFile file : files) { if (!file.isValid()) { continue; } final XmlDocum... | elementRenamedOrMoved |
72,460 | boolean (@NotNull PsiModifierListOwner listOwner, @NotNull String annotationFQN, PsiNameValuePair @Nullable [] value) { ThreadingAssertions.assertEventDispatchThread(); return processExistingExternalAnnotations(listOwner, annotationFQN, annotationTag -> { annotationTag.replace(XmlElementFactory.getInstance(myPsiManager... | editExternalAnnotation |
72,461 | boolean (@NotNull PsiModifierListOwner listOwner, @NotNull String annotationFQN, @NotNull Processor<? super XmlTag> annotationTagProcessor) { try { final List<XmlFile> files = findExternalAnnotationsXmlFiles(listOwner); if (files == null) { notifyAfterAnnotationChanging(listOwner, annotationFQN, false); return false; }... | processExistingExternalAnnotations |
72,462 | AnnotationPlace (@NotNull PsiElement element) { return chooseAnnotationsPlace(element, () -> AnnotationPlace.NEED_ASK_USER); } | chooseAnnotationsPlaceNoUi |
72,463 | AnnotationPlace (@NotNull PsiElement element) { ThreadingAssertions.assertEventDispatchThread(); return chooseAnnotationsPlace(element, () -> confirmNewExternalAnnotationRoot(element)); } | chooseAnnotationsPlace |
72,464 | AnnotationPlace (@NotNull PsiElement element, @NotNull Supplier<AnnotationPlace> confirmNewExternalAnnotationRoot) { if (!element.isPhysical() && !(element.getOriginalElement() instanceof PsiCompiledElement)) { return AnnotationPlace.IN_CODE; //element just created } if (element instanceof PsiLocalVariable) { return An... | chooseAnnotationsPlace |
72,465 | AnnotationPlace (@NotNull PsiElement element) { PsiFile containingFile = element.getContainingFile(); Project project = containingFile.getProject(); final MyExternalPromptDialog dialog = ApplicationManager.getApplication().isUnitTestMode() || ApplicationManager.getApplication().isHeadlessEnvironment() ? null : new MyEx... | confirmNewExternalAnnotationRoot |
72,466 | void (@NotNull OrderEntry entry, @NotNull VirtualFile vFile) { if (entry instanceof LibraryOrderEntry) { Library library = ((LibraryOrderEntry)entry).getLibrary(); LOG.assertTrue(library != null); final Library.ModifiableModel model = library.getModifiableModel(); model.addRoot(vFile, AnnotationOrderRootType.getInstanc... | appendChosenAnnotationsRoot |
72,467 | void (XmlFile xmlFile) { sortItems(xmlFile); PsiDocumentManager documentManager = PsiDocumentManager.getInstance(myPsiManager.getProject()); Document doc = documentManager.getDocument(xmlFile); assert doc != null; documentManager.doPostponedOperationsAndUnblockDocument(doc); FileDocumentManager.getInstance().saveDocume... | commitChanges |
72,468 | String (@NotNull String ownerName, @NotNull ExternalAnnotation annotation) { String annotationTag = createAnnotationTag(annotation.getAnnotationFQName(), annotation.getValues()); return String.format("<item name='%s'>%s</item>", ownerName, annotationTag); } | createItemTag |
72,469 | boolean (@NotNull VirtualFile file) { if (hasAnyAnnotationsRoots()) { ProjectFileIndex fileIndex = ProjectRootManager.getInstance(myPsiManager.getProject()).getFileIndex(); for (OrderEntry entry : fileIndex.getOrderEntriesForFile(file)) { if (!(entry instanceof ModuleOrderEntry) && !AnnotationOrderRootType.getUrls(entr... | hasAnnotationRootsForFile |
72,470 | void (@NotNull VirtualFile file, @NotNull SAXParseException exception) { Project project = myPsiManager.getProject(); String basePath = project.getBasePath(); String filePath = file.getPresentableUrl(); if (basePath != null) { try { filePath = Path.of(basePath).relativize(Path.of(file.getPath())).toString(); } catch (I... | reportXmlParseError |
72,471 | void (@NotNull VirtualFile virtualFile, @NotNull String externalName, @NotNull String text) { String message = text + "; for signature: '" + externalName + "' in the file " + virtualFile.getName(); LOG.error(message, new Throwable(), CoreAttachmentFactory.createAttachment(virtualFile)); } | duplicateError |
72,472 | boolean (@NotNull PsiModifierListOwner owner) { if (!owner.isPhysical()) { PsiElement originalElement = owner.getOriginalElement(); if (!(originalElement instanceof PsiCompiledElement)) { return false; } } if (owner instanceof PsiLocalVariable) return false; if (owner instanceof PsiParameter) { PsiElement parent = owne... | areExternalAnnotationsApplicable |
72,473 | String () { return getAddInCode(); } | getOkActionName |
72,474 | String () { return CommonBundle.getCancelButtonText(); } | getCancelActionName |
72,475 | void (final ActionEvent e) { if (canBeHidden()) { setToBeShown(toBeShown(), true); } close(2); } | actionPerformed |
72,476 | boolean () { return CodeStyle.getSettings(myProject).getCustomSettings(JavaCodeStyleSettings.class).USE_EXTERNAL_ANNOTATIONS; } | isToBeShown |
72,477 | void (boolean value, boolean onOk) { CodeStyle.getSettings(myProject).getCustomSettings(JavaCodeStyleSettings.class).USE_EXTERNAL_ANNOTATIONS = value; } | setToBeShown |
72,478 | JComponent () { final JPanel northPanel = (JPanel)super.createNorthPanel(); northPanel.add(new JLabel(getMessage()), BorderLayout.CENTER); return northPanel; } | createNorthPanel |
72,479 | boolean () { return true; } | shouldSaveOptionsOnCancel |
72,480 | void (@NotNull DocumentEvent event) { final VirtualFile file = myFileDocumentManager.getFile(event.getDocument()); if (file != null && ANNOTATIONS_XML.equals(file.getName()) && isUnderAnnotationRoot(file)) { dropAnnotationsCache(); } } | documentChanged |
72,481 | void (@NotNull VersionedStorageChange event) { if (hasAnnotationRootInChanges(event, LibraryEntity.class, ExternalAnnotationsRootListener::hasAnnotationRoot) || hasAnnotationRootInChanges(event, ModuleCustomImlDataEntity.class, ExternalAnnotationsRootListener::hasAnnotationRoot)) { dropAnnotationsCache(); } } | changed |
72,482 | boolean (LibraryEntity e) { return ContainerUtil.exists(e.getRoots(), root -> AnnotationOrderRootType.ANNOTATIONS_ID.equals(root.getType().getName())); } | hasAnnotationRoot |
72,483 | boolean (ModuleCustomImlDataEntity e) { String tagCustomData = e.getRootManagerTagCustomData(); if (tagCustomData != null) { try { Element element = JDOMUtil.load(tagCustomData); Element child = element.getChild("annotation-paths"); if (child != null && !child.getChildren("root").isEmpty()) { return true; } } catch (Th... | hasAnnotationRoot |
72,484 | String () { return JavaBundle.message("intention.family.make.external.annotations.explicit"); } | getFamilyName |
72,485 | ModCommand (@NotNull ActionContext context) { final PsiElement leaf = context.findLeaf(); final PsiFile file = context.file(); final Project project = context.project(); final PsiModifierListOwner owner = NonCodeAnnotationsLineMarkerProvider.getAnnotationOwner(leaf); assert owner != null; final PsiModifierList modifier... | perform |
72,486 | boolean (PsiModifierListOwner owner) { if (owner instanceof PsiCompiledElement) return false; VirtualFile vFile = PsiUtilCore.getVirtualFile(owner); return vFile != null && vFile.isInLocalFileSystem(); } | isWritable |
72,487 | void () { myInfos.clear(); } | clear |
72,488 | boolean () { return myInfos.isEmpty(); } | isEmpty |
72,489 | Iterator<ExpectedTypeInfo> () { return myInfos.iterator(); } | iterator |
72,490 | int (ExpectedTypeInfo info1, ExpectedTypeInfo info2) { int kind1 = info1.getKind(); int kind2 = info2.getKind(); if (kind1 == kind2) { if (matchesStrictly(info1.getType(), info2)) return -1; if (matchesStrictly(info2.getType(), info1)) return 1; return 0; } if (kind1 == ExpectedTypeInfo.TYPE_STRICTLY) { return matches(... | contains |
72,491 | boolean (PsiType type, ExpectedTypeInfo info) { return type instanceof PsiPrimitiveType == info.getType() instanceof PsiPrimitiveType && matches(type, info); } | matchesStrictly |
72,492 | boolean (PsiType type, ExpectedTypeInfo info) { PsiType infoType = info.getType(); return switch (info.getKind()) { case ExpectedTypeInfo.TYPE_STRICTLY -> type.equals(infoType); case ExpectedTypeInfo.TYPE_OR_SUBTYPE -> infoType.isAssignableFrom(type); case ExpectedTypeInfo.TYPE_OR_SUPERTYPE -> type.isAssignableFrom(inf... | matches |
72,493 | PsiSubstitutor (final PsiMethod method, final PsiMethodCallExpression callExpr, boolean forCompletion) { final PsiResolveHelper helper = JavaPsiFacade.getInstance(method.getProject()).getResolveHelper(); final PsiParameter[] parameters = method.getParameterList().getParameters(); PsiExpression[] args = callExpr.getArgu... | inferSubstitutor |
72,494 | boolean (@NotNull VirtualFile file) { return myManager.isUnderAnnotationRoot(file); } | isWritable |
72,495 | boolean (final CommonCodeStyleSettings styleSettings, final Editor editor, final int tailOffset) { return styleSettings.SPACE_WITHIN_METHOD_CALL_PARENTHESES && editor.getDocument().getCharsSequence().charAt(tailOffset - 1) != '('; } | isSpaceWithinParentheses |
72,496 | boolean (final CommonCodeStyleSettings styleSettings, final Editor editor, final int tailOffset) { return styleSettings.SPACE_WITHIN_PARENTHESES; } | isSpaceWithinParentheses |
72,497 | boolean (final CommonCodeStyleSettings styleSettings, final Editor editor, final int tailOffset) { return styleSettings.SPACE_WITHIN_IF_PARENTHESES; } | isSpaceWithinParentheses |
72,498 | boolean (final CommonCodeStyleSettings styleSettings, final Editor editor, final int tailOffset) { return styleSettings.SPACE_WITHIN_WHILE_PARENTHESES; } | isSpaceWithinParentheses |
72,499 | boolean (final CommonCodeStyleSettings styleSettings, final Editor editor, final int tailOffset) { return styleSettings.SPACE_WITHIN_METHOD_CALL_PARENTHESES; } | isSpaceWithinParentheses |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.