Skip to content

Commit 7b92282

Browse files
committed
Rename method
1 parent 1a36e34 commit 7b92282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/org/jetbrains/java/decompiler/main/ClassWriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ public boolean writeMethod(ClassNode node, StructMethod mt, int methodIndex, Tex
11621162
buffer.appendMethod(toValidJavaIdentifier(name), true, cl.qualifiedName, mt.getName(), md);
11631163

11641164
if (!methodWrapper.isCompactRecordConstructor) {
1165-
paramCount = getParamCount(mt, buffer, indent, methodWrapper, md, isEnum, init, thisVar, descriptor, paramCount, isInterface, flags, cl);
1165+
paramCount = writeMethodParameterHeader(mt, buffer, indent, methodWrapper, md, isEnum, init, thisVar, descriptor, paramCount, isInterface, flags, cl);
11661166
}
11671167

11681168
StructExceptionsAttribute attr = mt.getAttribute(StructGeneralAttribute.ATTRIBUTE_EXCEPTIONS);
@@ -1242,7 +1242,7 @@ public boolean writeMethod(ClassNode node, StructMethod mt, int methodIndex, Tex
12421242
return !hideMethod;
12431243
}
12441244

1245-
private static int getParamCount(StructMethod mt, TextBuffer buffer, int indent, MethodWrapper methodWrapper, MethodDescriptor md, boolean isEnum, boolean init, boolean thisVar, GenericMethodDescriptor descriptor, int paramCount, boolean isInterface, int flags, StructClass cl) {
1245+
private static int writeMethodParameterHeader(StructMethod mt, TextBuffer buffer, int indent, MethodWrapper methodWrapper, MethodDescriptor md, boolean isEnum, boolean init, boolean thisVar, GenericMethodDescriptor descriptor, int paramCount, boolean isInterface, int flags, StructClass cl) {
12461246
buffer.append('(');
12471247

12481248
List<VarVersionPair> mask = methodWrapper.synthParameters;

0 commit comments

Comments
 (0)