- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for annotationType (0.09 sec)
-
android/guava/src/com/google/common/reflect/Parameter.java
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return getAnnotation(annotationType) != null; } @Override public <A extends Annotation> @Nullable A getAnnotation(Class<A> annotationType) { checkNotNull(annotationType); for (Annotation annotation : annotations) { if (annotationType.isInstance(annotation)) { return annotationType.cast(annotation); } } return null;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 4.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java
protected boolean isTypeAnnotation(Class<? extends Annotation> annotationType) { return "org.apache.maven.api.di.Typed".equals(annotationType.getName()) || "org.eclipse.sisu.Typed".equals(annotationType.getName()) || "javax.enterprise.inject.Typed".equals(annotationType.getName()) || "jakarta.enterprise.inject.Typed".equals(annotationType.getName()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/AnnotationUtil.java
assertArgumentNotNull("annotation", annotation); final Map<String, Object> map = newHashMap(); final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(annotation.annotationType()); for (final String name : beanDesc.getMethodNames()) { final Object v = getProperty(beanDesc, annotation, name); if (v != null) { map.put(name, v); }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java
} @Override public List<String> getAnnotationTypeNames() { return annotationNames; } public void addAnnotationTypeName(String annotationType) { annotationNames.add(annotationType); } @Override public boolean isDeprecated() { return annotationNames.contains(Deprecated.class.getName()); } @OverrideRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy
return (isIncubating(interf) && !isIncubating(c)) || isInternal(interf) } private boolean isIncubating(CtClass c) { return c.annotations.any { it.annotationType().name == 'org.gradle.api.Incubating' } }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
*/ private static TesterRequirements buildTesterRequirements(Annotation testerAnnotation) throws ConflictingRequirementsException { Class<? extends Annotation> annotationClass = testerAnnotation.annotationType(); Feature<?>[] presentFeatures; Feature<?>[] absentFeatures; try { presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
} private static boolean containsNullable(Annotation[] annotations) { for (Annotation annotation : annotations) { if (NULLABLE_ANNOTATION_SIMPLE_NAMES.contains(annotation.annotationType().getSimpleName())) { return true; } } return false; } private boolean isIgnored(Member member) { return member.isSynthetic()
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
} private static boolean containsNullable(Annotation[] annotations) { for (Annotation annotation : annotations) { if (NULLABLE_ANNOTATION_SIMPLE_NAMES.contains(annotation.annotationType().getSimpleName())) { return true; } } return false; } private boolean isIgnored(Member member) { return member.isSynthetic()
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
private fun List<AnnotationNode>?.hasNullableAnnotation() = has<org.jspecify.annotations.Nullable>() private inline fun <reified AnnotationType : Any> List<AnnotationNode>?.has() = has(Type.getDescriptor(AnnotationType::class.java)) private fun List<AnnotationNode>?.has(annotationTypeDescriptor: String) = this?.any { it.desc == annotationTypeDescriptor } ?: false
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Mar 12 15:56:18 UTC 2025 - 20.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/AndroidIncompatible.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.primitives; 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.TYPE;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 15:54:11 UTC 2025 - 1.6K bytes - Viewed (0)