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.AtomicInteger
id
(package private) static TypeResolver.WildcardCapturer
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
WildcardCapturer()
private
WildcardCapturer(java.util.concurrent.atomic.AtomicInteger id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.reflect.Type
capture(java.lang.reflect.Type type)
(package private) java.lang.reflect.TypeVariable<?>
captureAsTypeVariable(java.lang.reflect.Type[] upperBounds)
private java.lang.reflect.Type
captureNullable(java.lang.reflect.Type type)
private TypeResolver.WildcardCapturer
forTypeVariable(java.lang.reflect.TypeVariable<?> typeParam)
private TypeResolver.WildcardCapturer
notForTypeVariable()
-
-
-
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
@CheckForNull private java.lang.reflect.Type captureNullable(@CheckForNull java.lang.reflect.Type type)
-
-