- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 117 for setAnnotation (0.2 sec)
-
maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java
} }, toDependencies(method.getDeclaringClass(), method)); Priority priority = method.getAnnotation(Priority.class); if (priority != null) { binding = binding.prioritize(priority.value()); } return binding; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Feb 09 17:13:31 UTC 2024 - 16K bytes - Viewed (0) -
pkg/kube/inject/template.go
"includeInboundPorts": includeInboundPorts, "kubevirtInterfaces": kubevirtInterfaces, "excludeInterfaces": excludeInterfaces, "applicationPorts": applicationPorts, "annotation": getAnnotation, "valueOrDefault": valueOrDefault, "toJSON": toJSON, "fromJSON": fromJSON, "structToJSON": structToJSON, "protoToJSON": protoToJSON,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 02:12:03 UTC 2023 - 9.9K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/software/internal/DefaultSoftwareTypeRegistry.java
} @Override public void visitNested(TypeMetadata typeMetadata, String qualifiedName, PropertyMetadata propertyMetadata, TypeToken<?> value) { propertyMetadata.getAnnotation(SoftwareType.class).ifPresent(softwareType -> { Class<? extends Plugin<Project>> existingPluginClass = registeredTypes.put(softwareType.name(), pluginClass);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:31 UTC 2024 - 6.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/exception/DefaultExceptionAnalyser.java
} else if (current instanceof GradleScriptException || current instanceof TaskExecutionException) { result = current; } else if (contextMatch == null && current.getClass().getAnnotation(Contextual.class) != null) { contextMatch = current; } } if (locationAware != null) { return locationAware; } else if (result != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 13:10:04 UTC 2024 - 6.2K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java
Object qualifier = key.getQualifier(); Class<?> type = key.getRawType(); Set<Class<?>> types = getBoundTypes(type.getAnnotation(Typed.class), type); for (Type t : Types.getAllSuperTypes(type)) { if (types == null || types.contains(Types.getRawType(t))) { bind(Key.ofType(t, qualifier), binding);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/DefaultListenerManager.java
} } return broadcaster; } } private <T> void assertCanBroadcast(Class<T> listenerClass) { EventScope scope = listenerClass.getAnnotation(EventScope.class); if (scope == null) { throw new IllegalArgumentException(String.format("Listener type %s is not annotated with @EventScope.", listenerClass.getName())); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 10:09:43 UTC 2024 - 18.3K bytes - Viewed (0) -
android/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/language/base/internal/registry/LanguageTypeModelRuleExtractorTest.groovy
Class<?> ruleClass = Rules ComponentTypeModelRuleExtractor ruleHandler = new ComponentTypeModelRuleExtractor(schemaStore) @Override Class<? extends Annotation> getAnnotation() { return ComponentType } def "decent error message for rule declaration problem - #descr"() { def ruleMethod = ruleDefinitionForMethod(methodName)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Subscriber.java
* Checks whether {@code method} is thread-safe, as indicated by the presence of the {@link * AllowConcurrentEvents} annotation. */ private static boolean isDeclaredThreadSafe(Method method) { return method.getAnnotation(AllowConcurrentEvents.class) != null; } /** * Subscriber that synchronizes invocations of a method to ensure that only one thread may enter * the method at a time. */ @VisibleForTesting
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/Subscriber.java
* Checks whether {@code method} is thread-safe, as indicated by the presence of the {@link * AllowConcurrentEvents} annotation. */ private static boolean isDeclaredThreadSafe(Method method) { return method.getAnnotation(AllowConcurrentEvents.class) != null; } /** * Subscriber that synchronizes invocations of a method to ensure that only one thread may enter * the method at a time. */ @VisibleForTesting
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 4.7K bytes - Viewed (0)