Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
74,500
void (@NotNull final Editor editor) { AbstractBasicJavaSmartEnterProcessor.plainEnter(editor); }
plainEnter
74,501
EditorActionHandler () { return AbstractBasicJavaSmartEnterProcessor.getEnterHandler(); }
getEnterHandler
74,502
boolean (@NotNull final Editor editor) { return AbstractBasicJavaSmartEnterProcessor.isModified(editor); }
isModified
74,503
EventLogGroup () { return GROUP; }
getGroup
74,504
void (Project project, Fixer fixer) { USED.log(project, fixer.getClass().getSimpleName()); }
log
74,505
int (int caret, TextRange argListRange, PsiExpression[] args) { int caretArg = 0; while (caretArg < args.length) { if (args[caretArg].getStartOffsetInParent() + argListRange.getStartOffset() > caret) { break; } caretArg++; } return caretArg; }
getCaretArgIndex
74,506
int (PsiExpressionList argList) { PsiElement child = argList.getFirstChild(); while (child != null) { if (child instanceof PsiErrorElement errorElement && errorElement.getErrorDescription().contains("')'")) { return errorElement.getTextRange().getStartOffset(); } child = child.getNextSibling(); } return -1; }
getMissingParenthesisOffset
74,507
boolean (PsiExpressionList args) { if (args == null) return false; PsiElement parenth = args.getLastChild(); return parenth != null && ")".equals(parenth.getText()); }
hasRParenth
74,508
LongRangeSet (@NotNull PsiCallExpression innermostCall, @NotNull PsiExpression @NotNull [] args, @NotNull LongRangeSet innerCounts) { PsiExpressionList outerArgList = ObjectUtils.tryCast(innermostCall.getParent(), PsiExpressionList.class); if (outerArgList != null) { PsiExpression[] outerArgs = outerArgList.getExpressi...
tryFilterByOuterCall
74,509
LongRangeSet (@NotNull PsiCallExpression call) { LongRangeSet counts = LongRangeSet.empty(); for (CandidateInfo candidate : PsiResolveHelper.getInstance(call.getProject()).getReferencedMethodCandidates(call, false)) { PsiMethod element = ObjectUtils.tryCast(candidate.getElement(), PsiMethod.class); if (element != null)...
getPossibleParameterCounts
74,510
int (Editor editor, PsiElement psiElement) { return editor.getDocument().getLineNumber(psiElement.getTextRange().getStartOffset()); }
startLine
74,511
boolean (PsiElement psiElement, PsiElement parent) { for (PsiElement sibling = parent.getLastChild(); sibling != psiElement; sibling = sibling.getPrevSibling()) { if (PsiUtil.isJavaToken(sibling, JavaTokenType.RPARENTH)) { return true; } } return false; }
hasRParenth
74,512
boolean (@NotNull PsiElement e) { return e instanceof PsiExpressionList; }
canSelect
74,513
List<TextRange> (@NotNull PsiElement e, @NotNull CharSequence editorText, int cursorOffset, @NotNull Editor editor) { if (!(e instanceof PsiExpressionList expressionList)) { return Collections.emptyList(); } final PsiParameterList parameterList = getParameterList(expressionList); if (parameterList == null) { return Col...
select
74,514
PsiParameterList (@NotNull PsiExpressionList list) { if (!(list.getParent() instanceof PsiMethodCallExpression)) { return null; } final PsiMethod method = ((PsiMethodCallExpression)list.getParent()).resolveMethod(); return method != null ? method.getParameterList() : null; }
getParameterList
74,515
boolean (@NotNull Editor editor, @NotNull PsiFile file, @NotNull MoveInfo info, boolean down) { if (!(file instanceof PsiJavaFile)) return false; if (!super.checkAvailable(editor, file, info, down)) return false; final Document document = editor.getDocument(); int startOffset = document.getLineStartOffset(info.toMove.s...
checkAvailable
74,516
PsiSwitchLabelStatement (PsiSwitchLabelStatement element) { PsiElement tmp; while ((tmp = PsiTreeUtil.skipWhitespacesBackward(element)) instanceof PsiSwitchLabelStatement) { element = (PsiSwitchLabelStatement)tmp; } return element; }
getThisCaseBlockStart
74,517
PsiElement (PsiSwitchLabelStatement element) { PsiElement result = element; PsiElement tmp; while ((tmp = PsiTreeUtil.skipWhitespacesForward(result)) instanceof PsiSwitchLabelStatement) { result = tmp; } tmp = PsiTreeUtil.getNextSiblingOfType(result, PsiSwitchLabelStatement.class); return tmp == null ? result.getParent...
getNextCaseBlockStart
74,518
LineRange (@NotNull Document document, @NotNull PsiElement startElement, @NotNull PsiElement endElement) { CharSequence text = document.getImmutableCharSequence(); int startOffset = startElement.getTextRange().getStartOffset(); int startLine = document.getLineNumber(startOffset); if (!CharArrayUtil.isEmptyOrSpaces(text...
createRange
74,519
void (@NotNull Editor editor, @NotNull MoveInfo info, boolean down) { super.beforeMove(editor, info, down); PsiElement statement = STATEMENT_TO_SURROUND_WITH_CODE_BLOCK_KEY.get(info); if (statement != null) { surroundWithCodeBlock(info, down, statement); } }
beforeMove
74,520
void (MoveInfo info, boolean down, PsiElement statement) { try { Document document = PsiDocumentManager.getInstance(statement.getProject()).getDocument(statement.getContainingFile()); assert document != null : statement.getContainingFile(); int startOffset = document.getLineStartOffset(info.toMove.startLine); int endOf...
surroundWithCodeBlock
74,521
boolean (@NotNull Editor editor, @NotNull PsiFile file, @NotNull MoveInfo info, boolean down) { boolean available = super.checkAvailable(editor, file, info, down); if (!available) return false; LineRange range = expandLineRangeToCoverPsiElements(info.toMove, editor, file); if (range == null) return false; info.toMove =...
checkAvailable
74,522
int (Editor editor, LineRange range, boolean down) { int destLine = down ? range.endLine + 1 : range.startLine - 1; if (!(range.firstElement instanceof PsiStatement)) { return destLine; } PsiElement sibling = firstNonWhiteElement(down ? range.lastElement.getNextSibling() : range.firstElement.getPrevSibling(), down); if...
getDestLineForAnonymous
74,523
boolean (PsiFile file, Editor editor, LineRange range, MoveInfo info, boolean down) { int destLine = getDestLineForAnonymous(editor, range, down); int startLine = down ? range.endLine : range.startLine - 1; if (destLine < 0 || startLine < 0) return false; while (true) { int offset = editor.logicalPositionToOffset(new L...
calcInsertOffset
74,524
boolean (PsiElement element) { if (element instanceof JspTemplateStatement) { PsiElement neighbour = element.getPrevSibling(); // we can place statement inside scriptlet only return neighbour != null && !(neighbour instanceof JspTemplateStatement); } PsiElement parent = element.getParent(); if (element instanceof PsiBl...
statementCanBePlacedAlong
74,525
boolean (PsiElement parent) { return parent instanceof PsiCodeBlock || parent instanceof PsiJavaModule; }
statementsCanBeMovedWithin
74,526
boolean (PsiFile file, Editor editor, @NotNull MoveInfo info, boolean down) { int offset = editor.getCaretModel().getOffset(); PsiElement elementAtOffset = file.getViewProvider().findElementAt(offset, JavaLanguage.INSTANCE); if (elementAtOffset == null) return false; PsiElement guard = findGuard(elementAtOffset); PsiEl...
checkMovingInsideOutside
74,527
PsiElement (PsiElement element) { PsiElement guard = element; do { guard = PsiTreeUtil.getParentOfType(guard, PsiMethod.class, PsiClassInitializer.class, PsiClass.class, PsiComment.class); } while (guard instanceof PsiAnonymousClass); return guard; }
findGuard
74,528
boolean (int offset, PsiElement guard) { if (guard == null) return false; TextRange inside; if (guard instanceof PsiMethod) { PsiCodeBlock body = ((PsiMethod)guard).getBody(); inside = body != null ? body.getTextRange() : null; } else if (guard instanceof PsiClassInitializer) { inside = ((PsiClassInitializer)guard).get...
isInside
74,529
LineRange (LineRange range, Editor editor, PsiFile file) { Pair<PsiElement, PsiElement> psiRange = getElementRange(editor, file, range); if (psiRange == null) return null; PsiElement parent = PsiTreeUtil.findCommonParent(psiRange.getFirst(), psiRange.getSecond()); Pair<PsiElement, PsiElement> elementRange = getElementR...
expandLineRangeToCoverPsiElements
74,530
PsiElement (PsiFile file, Editor editor) { LineRange range = getLineRangeFromSelection(editor); if (range.endLine - range.startLine != 1) return null; int offset = editor.getCaretModel().getOffset(); Document document = editor.getDocument(); int line = document.getLineNumber(offset); int lineStartOffset = document.getL...
itIsTheClosingCurlyBraceWeAreMoving
74,531
void (@NotNull final Editor editor, @NotNull final MoveInfo info, final boolean down) { super.beforeMove(editor, info, down); if (myEnumToInsertSemicolonAfter != null) { TreeElement semicolon = Factory.createSingleLeafElement(JavaTokenType.SEMICOLON, ";", 0, 1, null, myEnumToInsertSemicolonAfter.getManager()); try { Ps...
beforeMove
74,532
void (@NotNull Editor editor, @NotNull PsiFile file, @NotNull MoveInfo info, boolean down) { super.afterMove(editor, file, info, down); if (moveEnumConstant) { final Document document = editor.getDocument(); final CharSequence cs = document.getCharsSequence(); int end1 = info.range1.getEndOffset(); char c1 = cs.charAt(...
afterMove
74,533
boolean (RangeMarker rangeMarker, int index) { return rangeMarker.getStartOffset() <= index && rangeMarker.getEndOffset() >= index; }
contains
74,534
boolean (@NotNull final Editor editor, @NotNull final PsiFile file, @NotNull final MoveInfo info, final boolean down) { if (!(file instanceof PsiJavaFile)) { return false; } boolean available = super.checkAvailable(editor, file, info, down); if (!available) return false; final Pair<PsiElement, PsiElement> psiRange = ge...
checkAvailable
74,535
boolean (PsiFile file, Document document, int offset) { CharSequence text = document.getImmutableCharSequence(); String whitespace = " \t\n"; int whitespaceStartOffset = CharArrayUtil.shiftBackward(text, offset - 1, whitespace) + 1; int whitespaceEndOffset = CharArrayUtil.shiftForward(text, offset, whitespace); int min...
emptyLineCanBeDeletedAccordingToCodeStyle
74,536
LineRange (@NotNull PsiElement member, Editor editor, LineRange lineRange) { final TextRange textRange = member.getTextRange(); if (editor.getDocument().getTextLength() < textRange.getEndOffset()) return null; int startLine = editor.offsetToLogicalPosition(textRange.getStartOffset()).line; int endLine = editor.offsetTo...
memberRange
74,537
Couple<LineRange> (@NotNull PsiElement member) { PsiElement firstChild = member.getFirstChild(); PsiElement firstCoreChild = firstChild; while (firstCoreChild instanceof PsiComment && !(firstCoreChild instanceof PsiDocComment) || firstCoreChild instanceof PsiWhiteSpace) { firstCoreChild = firstCoreChild.getNextSibling(...
extractCommentRange
74,538
boolean (@NotNull final PsiElement member, final int startLine, final int endLine, final LineRange lineRange, final Editor editor) { // if we positioned on member start or end we'll be able to move it if (startLine == lineRange.startLine || startLine == lineRange.endLine || endLine == lineRange.startLine || endLine == ...
isInsideDeclaration
74,539
PsiElement (final PsiClass aClass) { PsiField[] fields = aClass.getFields(); for (int i = fields.length-1;i>=0; i--) { PsiField field = fields[i]; if (field instanceof PsiEnumConstant) { PsiElement anchor = firstNonWhiteElement(field.getNextSibling(), true); if (!(PsiUtil.isJavaToken(anchor, JavaTokenType.SEMICOLON))) ...
afterEnumConstantsPosition
74,540
boolean (@NotNull Editor editor, @NotNull PsiFile file, @NotNull MoveInfo info, boolean down) { if (!(file instanceof PsiJavaFile)) return false; if (!super.checkAvailable(editor, file, info, down)) return false; final Document document = editor.getDocument(); final SelectionModel selectionModel = editor.getSelectionMo...
checkAvailable
74,541
boolean (PsiCatchSection catchSection) { final PsiCatchSection[] catchSections = catchSection.getTryStatement().getCatchSections(); if (catchSections.length < 2) return false; final boolean newLine = containsNewLine(catchSections[0].getPrevSibling()); for (int i = 1; i < catchSections.length; i++) { if (newLine != cont...
sanityCheck
74,542
boolean (PsiElement element) { return element instanceof PsiWhiteSpace && element.getText().contains("\n"); }
containsNewLine
74,543
void (@NotNull Project project, @NotNull Editor editor, @NotNull PsiComment comment) { if (!(comment instanceof PsiDocComment docComment)) { return; } PsiJavaDocumentedElement owner = docComment.getOwner(); if (owner == null) return; PsiFile file = owner.getContainingFile(); if (file == null) return; Map<LocalInspectio...
fixComment
74,544
MissingJavadocInspection () { MissingJavadocInspection localInspection = new MissingJavadocInspection(); //region visibility localInspection.TOP_LEVEL_CLASS_SETTINGS.MINIMAL_VISIBILITY = PsiModifier.PRIVATE; localInspection.INNER_CLASS_SETTINGS.MINIMAL_VISIBILITY = PsiModifier.PRIVATE; localInspection.FIELD_SETTINGS.MI...
getMissingJavadocInspection
74,545
JavadocDeclarationInspection () { JavadocDeclarationInspection localInspection = new JavadocDeclarationInspection(); localInspection.setIgnoreEmptyDescriptions(true); return localInspection; }
getJavadocDeclarationInspection
74,546
void (@NotNull List<? extends ProblemDescriptor> problems, @NotNull Project project) { for (ProblemDescriptor problem : problems) { QuickFix[] fixes = problem.getFixes(); if (fixes != null) { fixes[0].applyFix(project, problem); } } }
fixReferenceProblems
74,547
void (@NotNull List<? extends ProblemDescriptor> problems, @NotNull PsiComment comment, @NotNull final Document document, @NotNull Project project) { List<RangeMarker> toRemove = new ArrayList<>(); List<ProblemDescriptor> problemsToApply = new ArrayList<>(); for (ProblemDescriptor problem : problems) { PsiElement eleme...
fixCommonProblems
74,548
void (@NotNull PsiDocComment comment, @NotNull Document document) { //region Parse existing doc comment parameters. List<String> current = new ArrayList<>(); Map<String, Pair<TextRange, String>> tagInfoByName = new HashMap<>(); for (PsiDocTag tag : comment.getTags()) { if (!PARAM_TAG_NAME.equals(tag.getName())) { conti...
ensureContentOrdered
74,549
void (@NotNull PsiDocComment comment, @NotNull Editor editor, @NotNull PsiFile file) { Document document = editor.getDocument(); int lineToNavigate = -1; for (PsiDocTag tag : comment.getTags()) { PsiElement nameElement = tag.getNameElement(); if (nameElement == null || !CARET_ANCHOR_TAGS.contains(nameElement.getText())...
locateCaret
74,550
LookupElement (Object object) { if (object instanceof LookupElement) return (LookupElement)object; if (object instanceof PsiClass) { return JavaClassNameCompletionContributor.createClassLookupItem((PsiClass)object, true); } if (object instanceof PsiMethod) { return new JavaMethodCallElement((PsiMethod)object); } if (ob...
objectToLookupItem
74,551
Object () { return myKeyword; }
getObject
74,552
String () { return myKeyword.getText(); }
getLookupString
74,553
AutoCompletionPolicy () { return AutoCompletionPolicy.GIVE_CHANCE_TO_OVERWRITE; }
getAutoCompletionPolicy
74,554
boolean (final Object o) { return o instanceof KeywordLookupItem && getLookupString().equals(((KeywordLookupItem)o).getLookupString()); }
equals
74,555
int () { return getLookupString().hashCode(); }
hashCode
74,556
void (@NotNull LookupElementPresentation presentation) { presentation.setItemText(getLookupString()); presentation.setItemTextBold(true); }
renderElement
74,557
PsiType () { return FilterUtil.getKeywordItemType(myPosition, getLookupString()); }
getType
74,558
LookupElement (@Nullable PsiReference position, @Nullable PsiClass origClass) { PsiVariable var = getObject(); if (var instanceof PsiField && !willBeImported() && shouldQualify((PsiField)var, position)) { boolean isInstanceField = !var.hasModifierProperty(PsiModifier.STATIC); PsiClass aClass = ((PsiField)var).getContai...
qualifyIfNeeded
74,559
String (PsiVariable var) { if (myColor != null || !var.hasModifierProperty(PsiModifier.FINAL) || !var.hasModifierProperty(PsiModifier.STATIC)) return null; if (PlainDescriptor.hasInitializationHacks(var)) return null; PsiElement initializer = var instanceof PsiEnumConstant ? ((PsiEnumConstant)var).getArgumentList() : g...
getInitializerText
74,560
PsiExpression (@NotNull PsiVariable var) { PsiElement navigationElement = var.getNavigationElement(); if (navigationElement instanceof PsiVariable) { var = (PsiVariable)navigationElement; } return PsiFieldImpl.getDetachedInitializer(var); }
getInitializer
74,561
Color (@NotNull PsiVariable var) { if (!JavaColorProvider.isColorType(var.getType())) return null; PsiExpression expression = getInitializer(var); if (expression instanceof PsiReferenceExpression) { final PsiElement target = ((PsiReferenceExpression)expression).resolve(); if (target instanceof PsiVariable) { return Rec...
getInitializerColor
74,562
PsiType () { return getSubstitutor().substitute(getObject().getType()); }
getType
74,563
PsiSubstitutor () { return mySubstitutor; }
getSubstitutor
74,564
VariableLookupItem (@NotNull PsiSubstitutor substitutor) { mySubstitutor = substitutor; return this; }
setSubstitutor
74,565
void (boolean shouldImportStatic) { assert myHelper != null; myHelper.setShouldBeImported(shouldImportStatic); }
setShouldBeImported
74,566
boolean () { return myHelper != null; }
canBeImported
74,567
boolean () { return myHelper != null && myHelper.willBeImported(); }
willBeImported
74,568
void (@NotNull LookupElementPresentation presentation) { boolean qualify = myHelper != null && !myHelper.willBeImported() || myForcedQualifier != null; PsiVariable variable = getObject(); String name = variable.getName(); if (qualify && variable instanceof PsiField && ((PsiField)variable).getContainingClass() != null) ...
renderElement
74,569
boolean () { return myNegatable; }
isNegatable
74,570
void (@NotNull InsertionContext context) { PsiVariable variable = getObject(); Document document = context.getDocument(); document.replaceString(context.getStartOffset(), context.getTailOffset(), variable.getName()); context.commitDocument(); if (variable instanceof PsiField) { if (willBeImported()) { RangeMarker toDel...
handleInsert
74,571
void (@NotNull InsertionContext context) { PsiReferenceExpression ref = findReference(context, context.getTailOffset() - 1); if (ref != null && ref.getParent() instanceof PsiMethodCallExpression) { PsiExpressionList argList = ((PsiMethodCallExpression)ref.getParent()).getArgumentList(); if (argList.getExpressionCount()...
removeEmptyCallParentheses
74,572
PsiReferenceExpression (@NotNull InsertionContext context, int offset) { return PsiTreeUtil.findElementOfClassAtOffset(context.getFile(), offset, PsiReferenceExpression.class, false); }
findReference
74,573
boolean (PsiReferenceExpression ref) { PsiElement parent = ref == null ? null : ref.getParent(); return parent instanceof PsiConditionalExpression && ref == ((PsiConditionalExpression)parent).getThenExpression(); }
isTernaryCondition
74,574
void (@NotNull InsertionContext context, @NotNull PsiVariable variable) { PsiElement place = context.getFile().findElementAt(context.getTailOffset() - 1); if (place == null || PsiUtil.isLanguageLevel8OrHigher(place) || JspPsiUtil.isInJspFile(place)) { return; } if (HighlightControlFlowUtil.getElementVariableReferencedF...
makeFinalIfNeeded
74,575
boolean (PsiField field, InsertionContext context) { if (myHelper != null && !myHelper.willBeImported()) { return true; } return shouldQualify(field, context.getFile().findReferenceAt(context.getTailOffset() - 1)); }
shouldQualify
74,576
boolean (@NotNull PsiField field, @Nullable PsiReference context) { if ((context instanceof PsiReferenceExpression && !((PsiReferenceExpression)context).isQualified()) || (context instanceof PsiJavaCodeReferenceElement && !((PsiJavaCodeReferenceElement)context).isQualified())) { PsiElement element = context.getElement(...
shouldQualify
74,577
boolean (@NotNull PsiField field, PsiElement element) { if (!(field instanceof PsiEnumConstant) || !(element.getParent() instanceof PsiCaseLabelElementList)) return false; PsiClass enumClass = field.getContainingClass(); PsiSwitchLabelStatementBase label = ObjectUtils.tryCast(element.getParent().getParent(), PsiSwitchL...
isEnumInSwitch
74,578
void (InsertionContext context, PsiField field) { context.commitDocument(); PsiFile file = context.getFile(); final PsiReference reference = file.findReferenceAt(context.getStartOffset()); if (reference instanceof PsiJavaCodeReferenceElement && ((PsiJavaCodeReferenceElement)reference).isQualified()) { return; } PsiClas...
qualifyFieldReference
74,579
boolean () { return myTailText != null; }
isWorthShowingInAutoPopup
74,580
Icon (@NotNull PsiExpression expression) { if (expression instanceof PsiReferenceExpression) { final PsiElement element = ((PsiReferenceExpression)expression).resolve(); if (element != null) { return element.getIcon(0); } } if (expression instanceof PsiMethodCallExpression) { return IconManager.getInstance().getPlatfor...
getExpressionIcon
74,581
PsiExpression () { return myExpression; }
getObject
74,582
void (@NotNull LookupElementPresentation presentation) { presentation.setIcon(myIcon); presentation.setItemText(myPresentableText); PsiType type = getType(); presentation.setTypeText(type == null ? null : type.getPresentableText()); }
renderElement
74,583
void (@NotNull InsertionContext context) { context.commitDocument(); JavaCodeStyleManager.getInstance(context.getProject()).shortenClassReferences(context.getFile(), context.getStartOffset(), context.getTailOffset()); }
handleInsert
74,584
PsiType () { return myExpression.getType(); }
getType
74,585
boolean (final Object o) { return o instanceof ExpressionLookupItem && myLookupString.equals(((ExpressionLookupItem)o).myLookupString); }
equals
74,586
int () { return myLookupString.hashCode(); }
hashCode
74,587
String () { return myLookupString; }
getLookupString
74,588
Set<String> () { return myAllLookupStrings; }
getAllLookupStrings
74,589
void (@NotNull InsertionContext context, @NotNull PsiTypeLookupItem item) { if (item.getObject() instanceof PsiClass) { addImportForItem(context, (PsiClass)item.getObject()); } }
handleInsert
74,590
PsiType () { Object object = getObject(); PsiType type = object instanceof PsiType ? getSubstitutor().substitute((PsiType)object) : JavaPsiFacade.getElementFactory(((PsiClass) object).getProject()).createType((PsiClass)object, getSubstitutor()); for (int i = 0; i < getBracketsCount(); i++) { type = new PsiArrayType(typ...
getType
74,591
String () { return myForcedPresentableName; }
getForcedPresentableName
74,592
void (boolean indicateAnonymous) { myIndicateAnonymous = indicateAnonymous; }
setIndicateAnonymous
74,593
boolean () { return myIndicateAnonymous; }
isIndicateAnonymous
74,594
boolean (final Object o) { return super.equals(o) && o instanceof PsiTypeLookupItem && getBracketsCount() == ((PsiTypeLookupItem) o).getBracketsCount() && myAddArrayInitializer == ((PsiTypeLookupItem) o).myAddArrayInitializer; }
equals
74,595
boolean () { return myAddArrayInitializer; }
isAddArrayInitializer
74,596
void () { myAddArrayInitializer = true; }
setAddArrayInitializer
74,597
void (@NotNull InsertionContext context) { SmartPsiElementPointer<PsiElement> pointer = null; if (getObject() instanceof PsiElement psiElement) { pointer = SmartPointerManager.getInstance(context.getProject()).createSmartPsiElementPointer(psiElement); } myImportFixer.handleInsert(context, this); // restore PSI element ...
handleInsert
74,598
String (@NotNull PsiElement context, InsertionContext insertionContext) { if (insertionContext.getCompletionChar() == '<') { return ""; } assert context.isValid(); if (myDiamond) { return "<>"; } if (getObject() instanceof PsiClass psiClass) { PsiResolveHelper resolveHelper = JavaPsiFacade.getInstance(psiClass.getProje...
calcGenerics
74,599
int () { final int fromSuper = super.hashCode(); final int dim = getBracketsCount(); return fromSuper + dim * 31; }
hashCode