This commit is contained in:
r-ca committed 2024-01-07 19:22:57 +09:00
1 parent 95beda8cc2
commit c54967f016
3 files changed
+20 -1

No files matched your search

@@ -45,6 +45,9 @@ public class DocumentProcessorImpl implements DocumentProcessor{
@AssistedInject
public DocumentProcessorImpl(@Assisted DocumentDetail documentDetail) {
if (documentDetail == null) {
throw new IllegalArgumentException("documentDetail must not be null");
}
this.documentDetail = documentDetail;
}
@@ -1,4 +1,16 @@
package one.nem.lacerta.processor.module;
import dagger.assisted.Assisted;
import dagger.assisted.AssistedInject;
import one.nem.lacerta.model.document.DocumentDetail;
public class DocumentProcessorModule {
private final DocumentDetail documentDetail;
@AssistedInject
public DocumentProcessorModule(@Assisted DocumentDetail documentDetail) {
this.documentDetail = documentDetail;
}
}