public static @NotNull String findJavaIdentifierPrefix(@Nullable PsiElement position, int offsetInFile) {
    return findIdentifierPrefix(position, offsetInFile, CharPattern.javaIdentifierPartCharacter(), CharPattern.javaIdentifierStartCharacter());
  }
public static @NotNull String findJavaIdentifierPrefix(@Nullable PsiElement position, int offsetInFile)