Package com.google.common.reflect
Class TypeResolver.WildcardCapturer
- java.lang.Object
-
- com.google.common.reflect.TypeResolver.WildcardCapturer
-
- Enclosing class:
- TypeResolver
private static class TypeResolver.WildcardCapturer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.atomic.AtomicIntegerid(package private) static TypeResolver.WildcardCapturerINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateWildcardCapturer()privateWildcardCapturer(java.util.concurrent.atomic.AtomicInteger id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.reflect.Typecapture(java.lang.reflect.Type type)(package private) java.lang.reflect.TypeVariable<?>captureAsTypeVariable(java.lang.reflect.Type[] upperBounds)private java.lang.reflect.TypecaptureNullable(java.lang.reflect.Type type)private TypeResolver.WildcardCapturerforTypeVariable(java.lang.reflect.TypeVariable<?> typeParam)private TypeResolver.WildcardCapturernotForTypeVariable()
-
-
-
Field Detail
-
INSTANCE
static final TypeResolver.WildcardCapturer INSTANCE
-
id
private final java.util.concurrent.atomic.AtomicInteger id
-
-
Method Detail
-
capture
final java.lang.reflect.Type capture(java.lang.reflect.Type type)
-
captureAsTypeVariable
java.lang.reflect.TypeVariable<?> captureAsTypeVariable(java.lang.reflect.Type[] upperBounds)
-
forTypeVariable
private TypeResolver.WildcardCapturer forTypeVariable(java.lang.reflect.TypeVariable<?> typeParam)
-
notForTypeVariable
private TypeResolver.WildcardCapturer notForTypeVariable()
-
captureNullable
private java.lang.reflect.Type captureNullable(java.lang.reflect.Type type)
-
-