Package org.graylog2.shared.utilities
Class AutoValueUtils
java.lang.Object
org.graylog2.shared.utilities.AutoValueUtils
Utility methods related to Google AutoValue
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetCanonicalName(Class<?> aClass) Get the canonical class name of the providedClasswith special handling of Google AutoValue classes.
-
Method Details
-
getCanonicalName
Get the canonical class name of the providedClasswith special handling of Google AutoValue classes.- Parameters:
aClass- a class- Returns:
- the canonical class name of
aClassor its super class in case of an auto-generated class by Google AutoValue - See Also:
-
Class.getCanonicalName()AutoValue
-