- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 35 for annotationType (0.06 seconds)
-
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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
} } private CustomSize createBasicAnnotation() { return new CustomSize() { @Override public Class<? extends Annotation> annotationType() { return CustomSize.class; } @Override public String message() { return "Size validation failed"; }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) -
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); }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.6K bytes - Click Count (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' } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/AndroidIncompatible.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.testing; 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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 15:54:11 GMT 2025 - 1.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/AndroidIncompatible.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.io; 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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 15:54:11 GMT 2025 - 1.6K bytes - Click Count (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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 15:54:11 GMT 2025 - 1.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AndroidIncompatible.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.util.concurrent; 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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 15:54:11 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/validation/CronExpression.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ 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;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/AndroidIncompatible.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.cache; 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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 15:54:11 GMT 2025 - 1.6K bytes - Click Count (0)