mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
MethodPattern: NonNls annotations
GitOrigin-RevId: 227d1f0837dcc0b2af0a3ed5fb6fb96acbe2c786
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b720fb0c9a
commit
002caf8f57
@@ -40,7 +40,6 @@ public final class GuessManagerImpl extends GuessManager {
|
||||
initMethodPatterns();
|
||||
}
|
||||
|
||||
@SuppressWarnings("HardCodedStringLiteral")
|
||||
private void initMethodPatterns() {
|
||||
// Collection
|
||||
myMethodPatternMap.addPattern(new MethodPattern("add", 1, 0));
|
||||
|
||||
@@ -16,12 +16,14 @@
|
||||
*/
|
||||
package com.intellij.codeInsight.guess.impl;
|
||||
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
|
||||
class MethodPattern{
|
||||
public final String methodName;
|
||||
public final @NonNls String methodName;
|
||||
public final int parameterCount;
|
||||
public final int parameterIndex; // -1 for return type
|
||||
|
||||
MethodPattern(String methodName, int parameterCount, int parameterIndex) {
|
||||
MethodPattern(@NonNls String methodName, int parameterCount, int parameterIndex) {
|
||||
this.methodName = methodName;
|
||||
this.parameterCount = parameterCount;
|
||||
this.parameterIndex = parameterIndex;
|
||||
|
||||
Reference in New Issue
Block a user