Class Classes

org.elasticsearch.common.Classes

public class Classes extends
  • Method Summary

    Modifier and Type
    Method
    Description
    static
    <?> clazz)
    Determine the name of the package of the given class: e.g.
    static boolean
    <?> clazz)
     
    static boolean
    <?> clazz)
     

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Method Details

    • getPackageName

      public static  getPackageName(<?> 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(<?> clazz)
    • isConcrete

      public static boolean isConcrete(<?> clazz)