Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
41,200 | NlsInfo (@NotNull UAnnotation annotation) { return fromAnnotationInfo(annotation.getQualifiedName(), () -> annotation.findAttributeValue("capitalization")); } | fromAnnotation |
41,201 | NlsInfo (String qualifiedName, Supplier<? extends UExpression> capitalization) { if (qualifiedName == null) return NlsUnspecified.UNKNOWN; if (qualifiedName.equals(AnnotationUtil.NON_NLS) || qualifiedName.equals(AnnotationUtil.PROPERTY_KEY)) { return NonLocalized.INSTANCE; } if (qualifiedName.equals(NLS_SAFE) || qualif... | fromAnnotationInfo |
41,202 | NlsInfo (@NotNull PsiMember member) { // From class PsiClass containingClass = member.getContainingClass(); while (containingClass != null) { NlsInfo classInfo = fromAnnotationOwner(containingClass.getModifierList()); if (classInfo != NlsUnspecified.UNKNOWN) { return classInfo; } containingClass = containingClass.getCo... | fromContainer |
41,203 | Capitalization () { return myCapitalization; } | getCapitalization |
41,204 | String (PsiElement context) { if (myAnnotationName != null && JavaPsiFacade.getInstance(context.getProject()).findClass(myAnnotationName, context.getResolveScope()) != null) { return myAnnotationName; } return AnnotationUtil.NLS; } | suggestAnnotation |
41,205 | Localized (@NotNull String prefix, @NotNull String suffix) { if (prefix.equals(myPrefix) && suffix.equals(mySuffix)) { return this; } return new Localized(myCapitalization, prefix, suffix, myAnnotationName); } | withPrefixAndSuffix |
41,206 | Localized (@Nullable String qualifiedName) { if (Objects.equals(qualifiedName, myAnnotationName)) { return this; } return new Localized(myCapitalization, myPrefix, mySuffix, qualifiedName); } | withAnnotation |
41,207 | RestrictionInfoKind () { return RestrictionInfoKind.KNOWN; } | getKind |
41,208 | RestrictionInfoKind () { return RestrictionInfoKind.KNOWN; } | getKind |
41,209 | RestrictionInfoKind () { return RestrictionInfoKind.KNOWN; } | getKind |
41,210 | RestrictionInfoKind () { return this == UNKNOWN ? RestrictionInfoKind.UNKNOWN : RestrictionInfoKind.UNSPECIFIED; } | getKind |
41,211 | PsiElementVisitor (@NotNull final ProblemsHolder holder, boolean isOnTheFly) { return new PsiElementVisitor() { @SuppressWarnings("unchecked") private static final Class<? extends UExpression>[] uExpressionClasses = new Class[] {UInjectionHost.class, UCallExpression.class, UReferenceExpression.class}; @Override public ... | buildVisitor |
41,212 | void (@NotNull PsiElement element) { super.visitElement(element); UExpression uElement = UastContextKt.toUElementOfExpectedTypes(element, uExpressionClasses); if (uElement == null) return; Value titleValue = getTitleValue(uElement, null); if (titleValue == null) return; List<UExpression> usages = I18nInspection.findInd... | visitElement |
41,213 | Value (@Nullable UExpression arg, @Nullable Set<? super UExpression> processed) { if (arg instanceof UInjectionHost) { return Value.of((UInjectionHost)arg); } if (arg instanceof UCallExpression call) { UExpression returnValue = StringFlowUtil.getReturnValue(call); if (arg.equals(returnValue)) { return null; } if (retur... | getTitleValue |
41,214 | Property (UCallExpression arg) { List<UExpression> args = arg.getValueArguments(); if (!args.isEmpty()) { return JavaI18nUtil.resolveProperty(args.get(0)); } return null; } | getPropertyArgument |
41,215 | String () { return JavaI18nBundle.message("quickfix.text.title.capitalization", myTitleValue); } | getName |
41,216 | void (@NotNull Project project, @NotNull PsiElement problemElement, @NotNull ModPsiUpdater updater) { PsiLiteralExpression literal = updater.getWritable(getTargetLiteral(problemElement)); if (literal != null) { Value value = Value.of(literal); if (value == null) return; final PsiElementFactory factory = JavaPsiFacade.g... | applyFix |
41,217 | String () { return JavaI18nBundle.message("quickfix.family.title.capitalization.fix"); } | getFamilyName |
41,218 | Value (@Nullable Property property, boolean useFormat) { if (property == null) return null; String value = property.getUnescapedValue(); if (value == null) return null; if (useFormat) { try { MessagePattern pattern = new MessagePattern(MessagePattern.ApostropheMode.DOUBLE_REQUIRED); pattern.parse(value); return new Pro... | of |
41,219 | Value (@NotNull UInjectionHost literal) { String value = literal.evaluateToString(); return value == null ? null : new TextValue(value); } | of |
41,220 | Value (@NotNull PsiLiteralExpression literal) { Object value = literal.getValue(); return value instanceof String ? new TextValue((String)value) : null; } | of |
41,221 | Value (NlsInfo info) { if (info instanceof NlsInfo.Localized) { Nls.Capitalization capitalization = ((NlsInfo.Localized)info).getCapitalization(); if (capitalization != Nls.Capitalization.NotSpecified) { return new DeclaredValue(capitalization); } } return null; } | of |
41,222 | String () { return myText;} | toString |
41,223 | boolean (@NotNull Nls.Capitalization capitalization) { return NlsCapitalizationUtil.isCapitalizationSatisfied(StringUtil.stripHtml(myText, true), capitalization); } | isSatisfied |
41,224 | boolean (@NotNull Nls.Capitalization capitalization) { return capitalization == Nls.Capitalization.NotSpecified || capitalization == myDeclared; } | isSatisfied |
41,225 | boolean () { return false; } | canFix |
41,226 | String () { return getCapitalizationName(myDeclared);} | toString |
41,227 | String () { return myPresentation; } | toString |
41,228 | int (int index) { MessagePattern.Part part = myPattern.getPart(index); if (part.getType() != MessagePattern.Part.Type.ARG_START) return 0; int limitPart = myPattern.getLimitPartIndex(index); int msgCount = 0; int nesting = -1; for (int i = index + 1; i < limitPart; i++) { part = myPattern.getPart(i); if (part.getType()... | getMessagesForPart |
41,229 | boolean (@NotNull Nls.Capitalization capitalization) { if (capitalization == Nls.Capitalization.NotSpecified) return true; int parts = myPattern.countParts(); int maxMsgCount = IntStreamEx.range(parts).map(this::getMessagesForPart).append(1).max().orElse(1); String string = myPattern.getPatternString(); // The idea is ... | isSatisfied |
41,230 | boolean () { return IntStream.range(0, myPattern.countParts()).anyMatch(idx -> { MessagePattern.ArgType type = myPattern.getPart(idx).getArgType(); return type == MessagePattern.ArgType.NONE || type == MessagePattern.ArgType.SIMPLE; }); } | canFix |
41,231 | UExpression (PsiFile file, Editor editor) { return I18nizeAction.getEnclosingStringLiteral(file, editor); } | getEnclosingLiteral |
41,232 | JavaI18nizeQuickFixDialog<UExpression> (final Project project, final Editor editor, final PsiFile psiFile) { JspFile jspFile = (JspFile)psiFile; TextRange selectedRange = JavaI18nUtil.getSelectedRange(editor, psiFile); if (selectedRange == null) return null; String text = editor.getDocument().getText(selectedRange); re... | createDialog |
41,233 | String () { return JavaTemplateUtil.TEMPLATE_I18NIZED_JSP_EXPRESSION; } | getTemplateName |
41,234 | Couple<String> (Project project, PsiElement psiElement, I18nizeQuickFixModel model) { final Couple<String> result = super.doAction(project, psiElement, model); if (result != null && psiElement instanceof PsiLiteralExpression) { final String key = result.first; final StringBuilder buffer = new StringBuilder(); buffer.ap... | doAction |
41,235 | Couple<String> (@NotNull final Project project, @NotNull PsiFile file, @NotNull PsiElement psiElement, @Nullable final String suggestedKey, @Nullable String suggestedValue, @Nullable final List<PropertiesFile> propertiesFiles) { final PsiLiteralExpression literalExpression = psiElement instanceof PsiLiteralExpression ?... | invokeAction |
41,236 | String () { return "UnresolvedPropertyKey"; } | getShortName |
41,237 | void (InspectionManager manager, boolean isOnTheFly, List<? super ProblemDescriptor> result, PsiElement element) { if (element != null){ final ProblemDescriptor[] descriptors = checkElement(element, manager, isOnTheFly); if (descriptors != null) { Collections.addAll(result, descriptors); } } } | appendProblems |
41,238 | void (@NotNull PsiAnonymousClass aClass) { final PsiExpressionList argList = aClass.getArgumentList(); if (argList != null) { argList.accept(this); } } | visitAnonymousClass |
41,239 | void (@NotNull PsiClass aClass) { } | visitClass |
41,240 | void (@NotNull PsiField field) { } | visitField |
41,241 | void (@NotNull PsiClassInitializer initializer) { } | visitClassInitializer |
41,242 | void (@NotNull PsiReferenceExpression expression) { super.visitReferenceExpression(expression); if (isComputedPropertyExpression(expression)) { return; } final PsiElement resolvedExpression = expression.resolve(); if (resolvedExpression instanceof PsiField field) { if (!field.hasModifierProperty(PsiModifier.FINAL)) { r... | visitReferenceExpression |
41,243 | void (@NotNull PsiLocalVariable variable, PsiReferenceExpression expression) { PsiCodeBlock block = PsiTreeUtil.getParentOfType(variable, PsiCodeBlock.class); if (block == null) return; final PsiElement[] defs = DefUseUtil.getDefs(block, variable, expression); for (PsiElement def : defs) { if(def instanceof PsiLocalVar... | checkLocalVariable |
41,244 | String (PsiExpression expression) { if (expression instanceof PsiLiteralExpression) { final Object value = ((PsiLiteralExpression)expression).getValue(); if (value instanceof String) { return (String)value; } } return null; } | computeStringValue |
41,245 | void (PsiExpression expression, String key, PsiExpression highlightedExpression) { if (key == null) return; Ref<String> resourceBundleName = new Ref<>(); if (!JavaI18nUtil.isValidPropertyReference(myManager.getProject(), expression, key, resourceBundleName)) { String bundleName = resourceBundleName.get(); if (bundleNam... | visitPropertyKeyAnnotationParameter |
41,246 | void (@NotNull PsiLiteralExpression expression) { if (isComputedPropertyExpression(expression)) return; visitPropertyKeyAnnotationParameter(expression, computeStringValue(expression), expression); } | visitLiteralExpression |
41,247 | void (@NotNull String bundleName, @NotNull String key, @NotNull PsiExpression expression, @NotNull InspectionManager manager, @NotNull Map<PsiElement, ProblemDescriptor> problems, boolean onTheFly) { final String description = JavaI18nBundle.message("inspection.unresolved.property.key.reference.message", key); final Li... | appendPropertyKeyNotFoundProblem |
41,248 | List<PropertiesFile> (@NotNull Project project, @NotNull List<? extends PropertiesFile> propertiesFiles) { final ProjectFileIndex fileIndex = ProjectRootManager.getInstance(project).getFileIndex(); final List<PropertiesFile> result = new ArrayList<>(propertiesFiles.size()); for (final PropertiesFile file : propertiesFi... | filterNotInLibrary |
41,249 | boolean (int i, PsiMethodCallExpression methodCall) { return methodCall != null && methodCall.getArgumentList().getExpressionTypes().length > i && methodCall.getArgumentList().getExpressionTypes()[i] instanceof PsiArrayType; } | hasArrayTypeAt |
41,250 | boolean (PsiExpression expression) { PsiElement parent = expression.getParent(); while (parent instanceof PsiParenthesizedExpression || parent instanceof PsiConditionalExpression && (expression == ((PsiConditionalExpression)parent).getThenExpression() || expression == ((PsiConditionalExpression)parent).getElseExpressio... | isComputedPropertyExpression |
41,251 | UPolyadicExpression (PsiFile file, Editor editor) { final PsiElement elementAt = file.findElementAt(editor.getCaretModel().getOffset()); return getEnclosingLiteralConcatenation(elementAt); } | getEnclosingLiteral |
41,252 | JavaI18nizeQuickFixDialog<UPolyadicExpression> (Project project, Editor editor, PsiFile psiFile) { UPolyadicExpression concatenation = getEnclosingLiteral(psiFile, editor); return concatenation == null ? null : createDialog(project, psiFile, concatenation); } | createDialog |
41,253 | String () { return JavaI18nBundle.message("quickfix.i18n.concatentation"); } | getFamilyName |
41,254 | JavaI18nizeQuickFixDialog<UPolyadicExpression> (final Project project, final PsiFile context, @NotNull UPolyadicExpression concatenation) { final List<UExpression> args = new ArrayList<>(); String formatString = JavaI18nUtil .buildUnescapedFormatString(Objects.requireNonNull(UStringConcatenationsFacade.createFromTopCon... | createDialog |
41,255 | String () { return myResourceBundleManager.getConcatenationTemplateName(); } | getTemplateName |
41,256 | String (final I18nizedTextGenerator textGenerator, final @NotNull String propertyKey, final PropertiesFile propertiesFile, final PsiElement context) { return textGenerator.getI18nizedConcatenationText( propertyKey, JavaI18nUtil.composeParametersText(args), propertiesFile, concatenation.getSourcePsi() ); } | generateText |
41,257 | UExpression[] () { return args.toArray(new UExpression[0]); } | getParameters |
41,258 | void (final Map<String, String> attributes) { attributes.put(PARAMETERS_OPTION_KEY, JavaI18nUtil.composeParametersText(args)); } | addAdditionalAttributes |
41,259 | IntentionPreviewInfo (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { UPolyadicExpression concatenation = getEnclosingLiteralConcatenation(descriptor.getPsiElement()); if (concatenation == null) { return IntentionPreviewInfo.EMPTY; } final List<UExpression> args = new ArrayList<>(); @NlsSafe String s... | generatePreview |
41,260 | UPolyadicExpression (final PsiElement psiElement) { return getEnclosingLiteralConcatenation(UastContextKt.getUastParentOfType(psiElement, UPolyadicExpression.class)); } | getEnclosingLiteralConcatenation |
41,261 | String () { return InspectionsBundle.message("group.names.internationalization.issues"); } | getGroupDisplayName |
41,262 | String () { return "HardCodedStringLiteral"; } | getShortName |
41,263 | boolean (boolean ignoreForEnumConstants) { boolean old = this.ignoreForEnumConstants; this.ignoreForEnumConstants = ignoreForEnumConstants; return old; } | setIgnoreForEnumConstants |
41,264 | boolean (boolean reportUnannotatedReferences) { boolean old = this.reportUnannotatedReferences; this.reportUnannotatedReferences = reportUnannotatedReferences; return old; } | setReportUnannotatedReferences |
41,265 | boolean (boolean ignoreForAllButNls) { boolean old = this.ignoreForAllButNls; this.ignoreForAllButNls = ignoreForAllButNls; return old; } | setIgnoreForAllButNls |
41,266 | OptPane () { return pane( tabs( tab(JavaI18nBundle.message("inspection.i18n.option.tab.general"), checkbox("ignoreForAllButNls", JavaI18nBundle.message("inspection.i18n.option.ignore.nls")) .description(JavaI18nBundle.message("inspection.i18n.option.ignore.nls.description")), checkbox("reportUnannotatedReferences", Jav... | getOptionsPane |
41,267 | String () { return "MyObject: value = " + value; } | toString |
41,268 | HtmlChunk (@NlsSafe String exampleText) { return HtmlChunk.fragment( HtmlChunk.text(JavaI18nBundle.message("tooltip.example")), HtmlChunk.br(), HtmlChunk.tag("pre").addText(exampleText) ); } | exampleDescription |
41,269 | OptionController () { return super.getOptionController() .onValue("ignoreForSpecifiedExceptionConstructors", () -> StringUtil.split(ignoreForSpecifiedExceptionConstructors, ","), res -> ignoreForSpecifiedExceptionConstructors = StringUtil.join((List<?>)res, ",")) .onValueSet("nonNlsCommentPattern", pattern -> setNonNls... | getOptionController |
41,270 | PsiElementVisitor (@NotNull ProblemsHolder holder, boolean isOnTheFly) { final PsiDirectory directory = holder.getFile().getContainingDirectory(); if (directory != null && isPackageNonNls(JavaDirectoryService.getInstance().getPackage(directory))) { return PsiElementVisitor.EMPTY_VISITOR; } return UastHintedVisitorAdapt... | buildVisitor |
41,271 | String () { return "nls"; } | getAlternativeID |
41,272 | LocalQuickFix () { return new IntroduceConstantFix(); } | createIntroduceConstantFix |
41,273 | ULocalVariable (UExpression passThrough) { UElement uastParent = passThrough.getUastParent(); ULocalVariable uVar = null; if (uastParent instanceof ULocalVariable) { uVar = (ULocalVariable)uastParent; } else if (uastParent instanceof UBinaryExpression && (((UBinaryExpression)uastParent).getOperator() == UastBinaryOpera... | getVariableToSearch |
41,274 | boolean (@NotNull UCallExpression ref) { PsiElement sourcePsi = ref.getSourcePsi(); if (sourcePsi == null) return true; PsiMethod target = ref.resolve(); if (target == null) return true; if (IGNORED_METHODS.methodMatches(target)) return true; if (!target.hasModifierProperty(PsiModifier.STATIC)) { PsiClass containingCla... | visitCallExpression |
41,275 | boolean (@NotNull UQualifiedReferenceExpression ref) { return visitReference(ref); } | visitQualifiedReferenceExpression |
41,276 | boolean (@NotNull USimpleNameReferenceExpression ref) { return visitReference(ref); } | visitSimpleNameReferenceExpression |
41,277 | boolean (@NotNull UReferenceExpression ref) { PsiElement sourcePsi = ref.getSourcePsi(); if (sourcePsi == null) return true; PsiVariable target = ObjectUtils.tryCast(ref.resolve(), PsiVariable.class); if (target == null || target instanceof PsiLocalVariable) return true; processReferenceToNonLocalized(sourcePsi, ref, t... | visitReference |
41,278 | void (@NotNull PsiElement sourcePsi, @NotNull UExpression ref, PsiModifierListOwner target) { PsiType type = ref.getExpressionType(); if (!TypeUtils.isJavaLangString(type) && !TypeUtils.typeEquals(CommonClassNames.JAVA_LANG_CHAR_SEQUENCE, type)) return; if (target instanceof PsiMethod && (StringFlowUtil.isStringProcess... | processReferenceToNonLocalized |
41,279 | String () { return JavaI18nBundle.message("intention.family.name.mark.as.nlssafe"); } | getFamilyName |
41,280 | boolean (@NotNull UElement node) { if (node instanceof UInjectionHost) { PsiElement psi = node.getSourcePsi(); if (psi != null) { visitLiteralExpression(psi, (UInjectionHost)node); } } return super.visitElement(node); } | visitElement |
41,281 | void (@NotNull PsiElement sourcePsi, @NotNull UInjectionHost expression) { String stringValue = getStringValueOfKnownPart(expression); if (StringUtil.isEmptyOrSpaces(stringValue)) { return; } Set<PsiModifierListOwner> nonNlsTargets = new HashSet<>(); NlsInfo info = getExpectedNlsInfo(myHolder.getProject(), expression, ... | visitLiteralExpression |
41,282 | boolean (@NotNull UInjectionHost expression) { if (expression.getUastParent() instanceof USwitchClauseExpression parent) { return ContainerUtil.exists(parent.getCaseValues(), value -> expression.equals(UastLiteralUtils.wrapULiteral(value))); } return false; } | isSwitchCase |
41,283 | boolean (final PsiExpression expression) { PsiField parentField = expression.getParent() instanceof PsiField ? (PsiField)expression.getParent() : null; return parentField != null && expression == parentField.getInitializer() && parentField.hasModifierProperty(PsiModifier.FINAL) && parentField.hasModifierProperty(PsiMod... | isNotConstantFieldInitializer |
41,284 | String (@NotNull UInjectionHost expression) { UStringConcatenationsFacade concatenationsFacade = UStringConcatenationsFacade.createFromUExpression(expression); if (concatenationsFacade != null) { return concatenationsFacade.asPartiallyKnownString().getConcatenationOfKnown(); } else { return expression.evaluateToString(... | getStringValueOfKnownPart |
41,285 | List<UExpression> (UExpression expression, boolean allowStringModifications) { UExpression passThrough = StringFlowUtil.goUp(expression, allowStringModifications, NlsInfo.factory()); ULocalVariable uVar = getVariableToSearch(passThrough); if (uVar != null && NlsInfo.fromUVariable(uVar).getNlsStatus() == ThreeState.UNSU... | findIndirectUsages |
41,286 | NlsInfo (@NotNull Project project, @NotNull UExpression expression, @Nullable String value, @NotNull Set<? super PsiModifierListOwner> nonNlsTargets, boolean onTheFly, boolean ignoreForAllButNls) { if (ignoreForNonAlpha && value != null && !StringUtil.containsAlphaCharacters(value)) { return NlsInfo.nonLocalized(); } i... | getExpectedNlsInfo |
41,287 | boolean (@NotNull Project project, @NotNull UExpression expression) { Pattern pattern = myCachedCommentPattern; if (pattern != null) { PsiElement sourcePsi = expression.getSourcePsi(); if (sourcePsi == null) return false; PsiFile file = sourcePsi.getContainingFile(); Document document = PsiDocumentManager.getInstance(p... | isSuppressedByComment |
41,288 | boolean (@NotNull Project project, @Nullable String value, @NotNull Set<? super PsiModifierListOwner> nonNlsTargets, @NotNull UExpression usage) { if (isInNonNlsCallChain(usage, nonNlsTargets)) { return true; } if (isSafeStringMethod(usage, nonNlsTargets)) { return true; } if (isPassedToNonNls(usage, nonNlsTargets)) { ... | shouldIgnoreUsage |
41,289 | boolean (UExpression expression) { return expression.getUastParent() instanceof UEnumConstant; } | isArgOfEnumConstant |
41,290 | void (String pattern) { nonNlsCommentPattern = pattern; myCachedCommentPattern = null; if (!pattern.trim().isEmpty()) { try { myCachedCommentPattern = Pattern.compile(pattern); } catch (PatternSyntaxException ignored) { } } } | setNonNlsCommentPattern |
41,291 | void (String pattern) { nonNlsLiteralPattern = pattern; myCachedLiteralPattern = null; if (!pattern.trim().isEmpty()) { try { myCachedLiteralPattern = Pattern.compile(pattern); } catch (PatternSyntaxException ignored) { } } } | setNonNlsLiteralPattern |
41,292 | boolean (@NotNull Project project, String value) { if (StringUtil.startsWithChar(value, '#')) { value = value.substring(1); // A favor for JetBrains team to catch common Logger usage practice. } return JavaPsiFacade.getInstance(project).findClass(value, GlobalSearchScope.allScope(project)) != null || ClassUtil.findPsiC... | isClassRef |
41,293 | boolean (final PsiPackage psiPackage) { if (psiPackage == null || psiPackage.getName() == null) { return false; } final PsiModifierList pkgModifierList = psiPackage.getAnnotationList(); return pkgModifierList != null && pkgModifierList.hasAnnotation(AnnotationUtil.NON_NLS) || isPackageNonNls(psiPackage.getParentPackage... | isPackageNonNls |
41,294 | boolean (@NotNull UExpression expression, final Set<? super PsiModifierListOwner> nonNlsTargets) { NlsInfo info = NlsInfo.forExpression(JavaI18nUtil.getTopLevelExpression(expression, false)); if (info.getNlsStatus() == ThreeState.NO) return true; if (info instanceof NlsInfo.NlsUnspecified) { PsiModifierListOwner candid... | isPassedToNonNls |
41,295 | boolean (@NotNull PsiModifierListOwner parent) { return NlsInfo.forModifierListOwner(parent).getNlsStatus() == ThreeState.NO; } | annotatedAsNonNls |
41,296 | boolean (UExpression expression, final Set<? super PsiModifierListOwner> nonNlsTargets) { UElement parent = UastUtils.skipParenthesizedExprUp(expression.getUastParent()); if (parent instanceof UBinaryExpression binOp) { if (STRING_COMPARISON_OPS.contains(binOp.getOperator())) { UResolvable left = ObjectUtils.tryCast(Ua... | isSafeStringMethod |
41,297 | boolean (@NotNull UExpression expression, final Set<? super PsiModifierListOwner> nonNlsTargets) { UExpression parent = UastUtils.skipParenthesizedExprDown(JavaI18nUtil.getTopLevelExpression(expression, true)); if (parent instanceof UResolvable && isNonNlsCall((UResolvable)parent, nonNlsTargets)) { return true; } if (U... | isInNonNlsCallChain |
41,298 | boolean (UResolvable qualifier, Set<? super PsiModifierListOwner> nonNlsTargets) { final PsiElement resolved = qualifier.resolve(); if (resolved instanceof PsiModifierListOwner modifierListOwner) { if (annotatedAsNonNls(modifierListOwner)) { return true; } nonNlsTargets.add(modifierListOwner); } ULocalVariable uVar = U... | isNonNlsCall |
41,299 | boolean (final UExpression expression) { final UMethod method = UastUtils.getParentOfType(expression, UMethod.class); if (method == null) return false; final PsiType returnType = method.getReturnType(); return TO_STRING.equals(method.getName()) && method.getUastParameters().isEmpty() && returnType != null && "java.lang... | isToString |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.