Why is this use @Javastatic ?
Why is this use @Javastatic?
there is nothing called @Javastatic. It is @JvmStatic.
Effect of Jvm static annotation is that it tells the compiler to generate an additional method. If you use this annotation, the compiler will generate both a static method in the enclosing class of the object and an instance method in the object itself.