- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 117 for setAnnotation (0.23 sec)
-
platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/ComponentBinariesModelRuleExtractorTest.groovy
ComponentBinariesModelRuleExtractor ruleHandler = new ComponentBinariesModelRuleExtractor() @Override Class<? extends Annotation> getAnnotation() { return ComponentBinaries } Class<?> ruleClass = Rules def "applies ComponentModelBasePlugin and creates componentBinary rule #descr"() { def registry = Mock(ModelRegistry)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
return; } final Method executeMethod = resource.getExecuteMethod(); final Secured secured = executeMethod.getAnnotation(Secured.class); if (secured != null && user.hasRoles(secured.value())) { return; } throw new UserRoleLoginException(RootAction.class);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
/** * Returns the {@link Field} in which {@code enumValue} is defined. For example, to get the {@code * Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}. * * @since 12.0 */ @GwtIncompatible // reflection public static Field getField(Enum<?> enumValue) { Class<?> clazz = enumValue.getDeclaringClass(); try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 26 11:56:44 UTC 2023 - 5K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/BinaryTasksModelRuleExtractorTest.groovy
class BinaryTasksModelRuleExtractorTest extends AbstractAnnotationModelRuleExtractorTest { BinaryTasksModelRuleExtractor ruleHandler = new BinaryTasksModelRuleExtractor() @Override Class<? extends Annotation> getAnnotation() { return BinaryTasks } Class<?> ruleClass = Rules.class def "decent error message for #descr"() { def ruleMethod = ruleDefinitionForMethod(methodName)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 5.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/util.go
return err } objAnnotations := objMeta.GetAnnotations() if objAnnotations == nil { objAnnotations = map[string]string{} } objAnnotations[metav1.InitialEventsAnnotationKey] = "true" objMeta.SetAnnotations(objAnnotations) return nil } // HasInitialEventsEndBookmarkAnnotation checks the presence of the // special annotation which marks that the initial events have been sent.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:05:06 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransform.java
TypeToken<?> serviceTypeToken = TypeToken.of(serviceType); for (InjectionPoint injectionPoint : injectionPoints) { if (annotatedWith == injectionPoint.getAnnotation() && serviceTypeToken.isSupertypeOf(injectionPoint.getInjectedType())) { return injectionPoint.getValueToInject(); } } return null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:26:19 UTC 2024 - 34.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassExecutor.java
while (outermostClass.getEnclosingClass() != null) { outermostClass = outermostClass.getEnclosingClass(); } RunWith runWith = outermostClass.getAnnotation(RunWith.class); return runWith != null && Enclosed.class.equals(runWith.value()); } private void verifyJUnitCategorySupport() { boolean failed = false; try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceScopeValidator.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:17 UTC 2024 - 7.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/caching_object.go
o.lock.RLock() defer o.lock.RUnlock() return o.object.GetAnnotations() } func (o *cachingObject) SetAnnotations(annotations map[string]string) { o.conditionalSet( func() bool { return reflect.DeepEqual(o.object.GetAnnotations(), annotations) }, func() { o.object.SetAnnotations(annotations) }, ) } func (o *cachingObject) GetFinalizers() []string { o.lock.RLock() defer o.lock.RUnlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 18:03:48 UTC 2023 - 12.6K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/BinaryTypeModelRuleExtractorTest.groovy
ComponentTypeModelRuleExtractor ruleHandler = new ComponentTypeModelRuleExtractor(new DefaultModelSchemaStore(DefaultModelSchemaExtractor.withDefaultStrategies())) @Override Class<? extends Annotation> getAnnotation() { return ComponentType } Class<?> ruleClass = Rules def "applies BinaryBasePlugin and creates binary type rule"() { def mockRegistry = Mock(ModelRegistry) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 9.6K bytes - Viewed (0)