Package org.elasticsearch.common
Class Classes
java.lang.Object
org.elasticsearch.common.Classes
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getPackageName
(Class<?> clazz) Determine the name of the package of the given class: e.g.static boolean
isConcrete
(Class<?> clazz) static boolean
isInnerClass
(Class<?> clazz)
-
Method Details
-
getPackageName
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
-
isConcrete
-