Class Classes

java.lang.Object
org.elasticsearch.common.Classes

public class Classes extends Object
  • Method Details

    • getPackageName

      public static String getPackageName(Class<?> clazz)
      Determine the name of the package of the given class: e.g. "java.lang" for the java.lang.String class.
      Parameters:
      clazz - the class
      Returns:
      the package name, or the empty String if the class is defined in the default package
    • isInnerClass

      public static boolean isInnerClass(Class<?> clazz)
    • isConcrete

      public static boolean isConcrete(Class<?> clazz)