Package com.demonwav.hypo.core
Class DefaultClassDataDecorator
java.lang.Object
com.demonwav.hypo.core.DefaultClassDataDecorator
- All Implemented Interfaces:
ClassDataDecorator
The default implementation of
ClassDataDecorator. The only thing this does is set the provider for the
ClassData object based on the provider passed to this class in the constructor.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultClassDataDecorator(@NotNull ClassDataProvider provider)Create a new instance of this class which will pass the given provider on to eachClassDataobject'sClassData.setProvider(ClassDataProvider)method. -
Method Summary
-
Constructor Details
-
DefaultClassDataDecorator
Create a new instance of this class which will pass the given provider on to eachClassDataobject'sClassData.setProvider(ClassDataProvider)method.- Parameters:
provider- The provider to pass on to eachClassDataobject.
-
-
Method Details
-
decorate
- Specified by:
decoratein interfaceClassDataDecorator
-