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 String
getCanonicalName
(Class<?> aClass) Get the canonical class name of the providedClass
with special handling of Google AutoValue classes.
-
Method Details
-
getCanonicalName
Get the canonical class name of the providedClass
with special handling of Google AutoValue classes.- Parameters:
aClass
- a class- Returns:
- the canonical class name of
aClass
or its super class in case of an auto-generated class by Google AutoValue - See Also:
-
Class.getCanonicalName()
AutoValue
-