Package org.elasticsearch.common
Class Classes
org.elasticsearch.common.Classes
public class Classes
extends
-
Method Summary
Modifier and TypeMethodDescriptionstatic
<?> 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 thejava.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)
-