Package com.google.inject.assistedinject
Class FactoryProvider2.SuperMethodSupport
- java.lang.Object
-
- com.google.inject.assistedinject.FactoryProvider2.SuperMethodSupport
-
- Enclosing class:
- FactoryProvider2<F>
private static class FactoryProvider2.SuperMethodSupport extends java.lang.Object
Holder for the appropriate kind of method lookup to use. Due to bugs in Java releases, we have to evaluate what approach to take at runtime. We do this by emulating the buggy scenarios: can a lookup access private details that it should be able to see? If not, we fail down to using full private access. Unfortunately, private access doesn't work in the JDK17+.... but it shouldn't be necessary there either, because the buggy lookup checks should be fixed.
-
-
Field Summary
Fields Modifier and Type Field Description private static FactoryProvider2.SuperMethodLookup
METHOD_LOOKUP
-
Constructor Summary
Constructors Modifier Constructor Description private
SuperMethodSupport()
-
-
-
Field Detail
-
METHOD_LOOKUP
private static final FactoryProvider2.SuperMethodLookup METHOD_LOOKUP
-
-