- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 232 for asAnnotation (0.06 seconds)
-
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
"Feature enum %s should contain an annotation named 'Require'.", featureEnumClass)); } @SuppressWarnings("unchecked") private static Class<? extends Annotation> asAnnotation(Class<?> clazz) { if (clazz.isAnnotation()) { return (Class<? extends Annotation>) clazz; } else { throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz)); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
"Feature enum %s should contain an annotation named 'Require'.", featureEnumClass)); } @SuppressWarnings("unchecked") private static Class<? extends Annotation> asAnnotation(Class<?> clazz) { if (clazz.isAnnotation()) { return (Class<? extends Annotation>) clazz; } else { throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz)); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
assertEquals(0, annotation.groups().length); assertEquals(0, annotation.payload().length); } // Test annotation target elements @Test public void test_annotationTargetElements() { CronExpression.class.isAnnotation(); assertTrue(CronExpression.class.isAnnotation()); // Check that annotation can be applied to METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
package org.codelibs.fess.validation; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.PARAMETER; import java.lang.annotation.Annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
package org.codelibs.fess.validation; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.PARAMETER; import java.lang.annotation.Annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.3K bytes - Click Count (0) -
tests/test_response_model_as_return_annotation.py
@app.get("/no_response_model-annotation-return_same_model") def no_response_model_annotation_return_same_model() -> User: return User(name="John", surname="Doe") @app.get("/no_response_model-annotation-return_exact_dict") def no_response_model_annotation_return_exact_dict() -> User: return {"name": "John", "surname": "Doe"} @app.get("/no_response_model-annotation-return_invalid_dict")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 50.3K bytes - Click Count (0) -
fastapi/_compat/shared.py
or is_dataclass(annotation) ) def field_annotation_is_complex(annotation: type[Any] | None) -> bool: origin = get_origin(annotation) if origin is Union or origin is UnionType: return any(field_annotation_is_complex(arg) for arg in get_args(annotation)) if origin is Annotated: return field_annotation_is_complex(get_args(annotation)[0]) return (
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
final CustomSize annotation = createBasicAnnotation(); validator.initialize(annotation); // Test null context - should return true for null value regardless of context assertTrue(validator.isValid(null, null)); } @Test public void test_initialize_withValidParameters() { final CustomSize annotation = createBasicAnnotation();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0) -
.idea/misc.xml
<option name="myDefaultNullable" value="javax.annotation.Nullable" /> <option name="myDefaultNotNull" value="javax.annotation.Nonnull" /> <option name="myOrdered" value="true" /> <option name="myNullables"> <value> <list size="18"> <item index="0" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Feb 16 19:01:50 GMT 2026 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
*/ package org.codelibs.fess.annotation; import static org.junit.jupiter.api.Assertions.assertNotSame; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.reflect.Method; import java.util.Arrays;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0)