- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for visitParameterizedType (0.2 sec)
-
android/guava/src/com/google/common/reflect/TypeVisitor.java
* example, this can be used to reject wildcards or type variables contained in a type as in: * * <pre>{@code * new TypeVisitor() { * protected void visitParameterizedType(ParameterizedType t) { * visit(t.getOwnerType()); * visit(t.getActualTypeArguments()); * } * protected void visitGenericArrayType(GenericArrayType t) { * visit(t.getGenericComponentType());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Apr 16 21:10:04 UTC 2021 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
new BaseTypeVisitor() { @Override void visitParameterizedType(ParameterizedType t) {} }.visit(type); } public <E extends Enum<E>> void testVisitRecursiveTypeBounds() { Type type = new TypeCapture<EnumSet<E>>() {}.capture(); assertVisited(type); new BaseTypeVisitor() { @Override void visitParameterizedType(ParameterizedType t) { visit(t.getActualTypeArguments());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
} for (int i = 0; i < fromLowerBounds.length; i++) { populateTypeMappings(mappings, fromLowerBounds[i], toLowerBounds[i]); } } @Override void visitParameterizedType(ParameterizedType fromParameterizedType) { if (to instanceof WildcardType) { return; // Okay to say Foo<A> is <?> }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
} for (int i = 0; i < fromLowerBounds.length; i++) { populateTypeMappings(mappings, fromLowerBounds[i], toLowerBounds[i]); } } @Override void visitParameterizedType(ParameterizedType fromParameterizedType) { if (to instanceof WildcardType) { return; // Okay to say Foo<A> is <?> }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0)