Use static private instead of private static for method declarations

Closes gh-25452
This commit is contained in:
XenoAmess
2020-07-22 00:26:28 +08:00
committed by GitHub
parent 05ef630f4f
commit e71f702bb9
4 changed files with 5 additions and 5 deletions

View File

@@ -910,7 +910,7 @@ public class MethodParameter {
* Return the generic return type of the method, with support of suspending
* functions via Kotlin reflection.
*/
static private Type getGenericReturnType(Method method) {
private static Type getGenericReturnType(Method method) {
try {
KFunction<?> function = ReflectJvmMapping.getKotlinFunction(method);
if (function != null && function.isSuspend()) {
@@ -927,7 +927,7 @@ public class MethodParameter {
* Return the return type of the method, with support of suspending
* functions via Kotlin reflection.
*/
static private Class<?> getReturnType(Method method) {
private static Class<?> getReturnType(Method method) {
try {
KFunction<?> function = ReflectJvmMapping.getKotlinFunction(method);
if (function != null && function.isSuspend()) {