Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sisu-users] @Nullable working example

I am using Sisu 0.0.0.M5 (part of Maven 3.2.1) and I am having
difficulty getting @org.eclipse.sisu.Nullable to do anything. It didn't
work neither for injected constructor parameter nor for injected field.

@com.google.inject.Inject(optional = true) worked for injected field as
suggested in [1], which I hope means the rest of my code is setup
correctly and the problem is with how I use @Nullable.

Are there known problems with @Nullable in Sisu 0.0.0.M5? Can somebody
point me at a working example that shows how to use it properly, ideally
when used from plexus shim?

[1] https://code.google.com/p/google-guice/wiki/FrequentlyAskedQuestions

--
Regards,
Igor


Back to the top