类 InitializedClassUtil

    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static boolean isInstanceOf​(java.lang.String type, @NotNull Clazz clazz)
      Returns true if the given type is instance of the given clazz (i.e. whether the class is the same type or an extension of the given type).
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • isInstanceOf

        public static boolean isInstanceOf​(java.lang.String type,
                                           @NotNull
                                           @NotNull Clazz clazz)
        Returns true if the given type is instance of the given clazz (i.e. whether the class is the same type or an extension of the given type).

        If the type is a reference array checks the inheritance of the referenced type (e.g. true for "[Ljava/lang/String;" and Clazz{java/lang/Object}, false for "[Ljava/lang/String;" and Clazz{java/lan/Boolean}).

        Requires that at least ClassReferenceInitializer and ClassSubHierarchyInitializer have been run on the ClassPools.