File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
junit-platform-commons/src/main/java/org/junit/platform/commons/util Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ private static Class<?>[] copyWithoutFirst(Class<?>[] values) {
125125 return result ;
126126 }
127127
128+ @ API (status = INTERNAL , since = "6.1" )
128129 public static boolean isKotlinType (Class <?> clazz ) {
129130 return kotlinMetadata != null //
130131 && clazz .getDeclaredAnnotation (kotlinMetadata ) != null ;
@@ -162,12 +163,14 @@ public static Class<?>[] getKotlinSuspendingFunctionParameterTypes(Method method
162163 return KotlinFunctionUtils .invokeKotlinSuspendingFunction (method , target , args );
163164 }
164165
166+ @ API (status = INTERNAL , since = "6.1" )
165167 public static boolean isInstanceOfInlineType (@ Nullable Object value ) {
166- return jvmInline != null //
167- && value != null //
168+ return jvmInline != null
169+ && value != null
168170 && value .getClass ().getDeclaredAnnotation (jvmInline ) != null ;
169171 }
170172
173+ @ API (status = INTERNAL , since = "6.1" )
171174 public static @ Nullable Object invokeKotlinFunction (Method method , @ Nullable Object target ,
172175 @ Nullable Object ... args ) {
173176 requireKotlinReflect (method );
You can’t perform that action at this time.
0 commit comments