- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for visitTypeVariable (0.32 sec)
-
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() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.7K bytes - Viewed (0) -
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) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Apr 16 21:10:04 GMT 2021 - 3.7K bytes - Viewed (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() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.7K bytes - Viewed (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) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 24.2K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
TypeSignatureVisitor(asmLevel, boundOf(wildcard)).also { expectTypeArgument = true typeArguments.add(it) } override fun visitTypeVariable(internalName: String) { visitBinaryName(binaryNameOfInternalName(internalName)) } private fun visitBinaryName(binaryName: String) { if (expectTypeArgument) {
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Tue Feb 06 19:56:10 GMT 2024 - 20.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
@CheckForNull static 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) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (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"); } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 53.6K bytes - Viewed (0)