File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 393
393
394
394
metaclass (:: Type{JavaObject{T}} ) where {T} = metaclass (T)
395
395
metaclass (:: JavaObject{T} ) where {T} = metaclass (T)
396
+ metaclass (:: Type{T} ) where T <: AbstractVector = metaclass ( Symbol ( JavaCall. signature (T) ) )
396
397
397
398
javaclassname (class:: Symbol ) = replace (string (class), " ." => " /" )
398
399
javaclassname (class:: AbstractString ) = replace (class, " ." => " /" )
400
+ javaclassname (:: Type{T} ) where T <: AbstractVector = JavaCall. signature (T)
399
401
400
402
function geterror (allow= false )
401
403
isexception = JNI. ExceptionCheck ()
@@ -464,3 +466,5 @@ function signature(arg::Type)
464
466
end
465
467
466
468
signature (arg:: Type{JavaObject{T}} ) where {T} = string (" L" , javaclassname (T), " ;" )
469
+ signature (arg:: Type{JavaObject{T}} ) where {T <: AbstractVector } = JavaCall. javaclassname (T)
470
+
You can’t perform that action at this time.
0 commit comments