- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for visitTypeVariable (0.08 seconds)
-
android/guava/src/com/google/common/reflect/TypeVisitor.java
* visit(t.getOwnerType()); * visit(t.getActualTypeArguments()); * } * protected void visitGenericArrayType(GenericArrayType t) { * visit(t.getGenericComponentType()); * } * protected void visitTypeVariable(TypeVariable<?> t) { * throw new IllegalArgumentException("Cannot contain type variable."); * } * protected void visitWildcardType(WildcardType t) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
}.visit(String.class); } public <T> void testVisitTypeVariable() { Type type = new TypeCapture<T>() {}.capture(); assertVisited(type); new BaseTypeVisitor() { @Override void visitTypeVariable(TypeVariable<?> t) {} }.visit(type); } public void testVisitWildcardType() { WildcardType type = Types.subtypeOf(String.class); assertVisited(type); new BaseTypeVisitor() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
}.visit(String.class); } public <T> void testVisitTypeVariable() { Type type = new TypeCapture<T>() {}.capture(); assertVisited(type); new BaseTypeVisitor() { @Override void visitTypeVariable(TypeVariable<?> t) {} }.visit(type); } public void testVisitWildcardType() { WildcardType type = Types.subtypeOf(String.class); assertVisited(type); new BaseTypeVisitor() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
Map<TypeVariableKey, Type> mappings, Type from, Type to) { if (from.equals(to)) { return; } new TypeVisitor() { @Override void visitTypeVariable(TypeVariable<?> typeVariable) { mappings.put(new TypeVariableKey(typeVariable), to); } @Override void visitWildcardType(WildcardType fromWildcardType) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Types.java
} static @Nullable Type getComponentType(Type type) { checkNotNull(type); AtomicReference<@Nullable Type> result = new AtomicReference<>(); new TypeVisitor() { @Override void visitTypeVariable(TypeVariable<?> t) { result.set(subtypeOfComponentType(t.getBounds())); } @Override void visitWildcardType(WildcardType t) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
* errors for callers like {@link TypeToInstanceMap}. */ @CanIgnoreReturnValue final TypeToken<T> rejectTypeVariables() { new TypeVisitor() { @Override void visitTypeVariable(TypeVariable<?> type) { throw new IllegalArgumentException( runtimeType + "contains a type variable and is not safe for the operation"); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.8K bytes - Click Count (0)