when I view java source code referenced from Intellij IDEA,I find some variables named like var+Number.
For example, below code is from org.springframework.context
public interface MessageSource {
@Nullable
String getMessage(String var1, @Nullable Object[] var2, @Nullable String var3, Locale var4);
String getMessage(String var1, @Nullable Object[] var2, Locale var3) throws NoSuchMessageException;
String getMessage(MessageSourceResolvable var1, Locale var2) throws NoSuchMessageException;
}
Logger in org.slf4j
public interface Logger {
String ROOT_LOGGER_NAME = "ROOT";
String getName();
boolean isTraceEnabled();
void trace(String var1);
void trace(String var1, Object var2);
...
...
...
}
Can anybody tell me for what purpose?
Updated:
Thanks for your reply,according the responses, now I have known the reason. This is really IDE decompiled code. IDEA using fernflower decompile .class files. At the beginning, I am confused by variable names, I found some are readable names, some are formed like var{Number}, after checking fernflower source code, I realized that is the decompiling strategy.