Package com.google.inject.util
Class Enhanced
java.lang.Object
com.google.inject.util.Enhanced
Utilities for checking if classes are enhanced and/or getting the original un-enhanced class.
- Since:
- 6.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isEnhanced
(Class<?> clazz) Returns true if this is a class that Guice enhanced with AOP functionality.unenhancedClass
(Class<T> clazz) If the input class is a class thatisEnhanced(java.lang.Class<?>)
is true for, returns the un-enhanced version of the class.
-
Method Details
-
isEnhanced
Returns true if this is a class that Guice enhanced with AOP functionality. -
unenhancedClass
If the input class is a class thatisEnhanced(java.lang.Class<?>)
is true for, returns the un-enhanced version of the class. Otherwise returns an empty optional.
-