Package org.elasticsearch.common
Class Classes
java.lang.Object
org.elasticsearch.common.Classes
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetPackageName(Class<?> clazz)Determine the name of the package of the given class: e.g.static booleanisConcrete(Class<?> clazz)static booleanisInnerClass(Class<?> clazz)
-
Method Details
-
getPackageName
Determine the name of the package of the given class: e.g. "java.lang" for thejava.lang.Stringclass.- Parameters:
clazz- the class- Returns:
- the package name, or the empty String if the class is defined in the default package
-
isInnerClass
-
isConcrete
-