- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for AnnotationValue (0.25 sec)
-
platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/AnnotationValue.java
public abstract class AnnotationValue<V> extends Member implements Comparable<AnnotationValue<?>> { private final V value; public AnnotationValue(String name, V value) { super(name); this.value = value; } public V getValue() { return value; } @Override public int compareTo(AnnotationValue<?> o) { return super.compare(o).result();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 1K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/ApiMemberWriter.java
AnnotationVisitor arrayVisitor = annotationVisitor.visitArray(name); AnnotationValue<?>[] values = ((ArrayAnnotationValue) value).getValue(); for (AnnotationValue<?> annotationValue : values) { writeAnnotationValue(arrayVisitor, annotationValue); } arrayVisitor.visitEnd(); } else if (value instanceof AnnotationAnnotationValue) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 5.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/apiapproval/apiapproval_controller_test.go
} } } tests := []struct { name string group string annotationValue string validateCondition func(t *testing.T, condition *apiextensionsv1.CustomResourceDefinitionCondition) }{ { name: "for other group", group: "other.io", annotationValue: "", validateCondition: noConditionFn, }, { name: "missing annotation",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 03 16:49:27 UTC 2019 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/AbstractModelCreationRuleExtractor.java
String annotationValue = ruleDefinition.getAnnotation(Model.class).value(); String modelName = (annotationValue == null || annotationValue.isEmpty()) ? ruleDefinition.getMethodName() : annotationValue; try { ModelPath.validatePath(modelName); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/ArrayAnnotationValue.java
* limitations under the License. */ package org.gradle.internal.normalization.java.impl; public class ArrayAnnotationValue extends AnnotationValue<AnnotationValue<?>[]> { public ArrayAnnotationValue(String name, AnnotationValue<?>[] value) { super(name, value); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 865 bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/AnnotationMember.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/AnnotationUtils.java
} public static Optional<? extends AnnotationValue> findAnnotationValue(AnnotationMirror annotation, String key) { return annotation.getElementValues().entrySet().stream().filter(it -> it.getKey().getSimpleName().toString().equals(key)).map(Map.Entry::getValue).findFirst(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 08:22:43 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AddGeneratedClassNameFlagFromClassLevelAnnotation.java
AnnotationValue generatedClassName = AnnotationUtils.findAnnotationValue(annotationMirror, "generatedClassName") .orElseThrow(() -> new IllegalStateException("Annotation " + generatedClassNameProvidingAnnotation + " does not have a generatedClassName attribute"));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 13:39:36 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/SortingAnnotationVisitor.java
import org.objectweb.asm.Opcodes; import java.util.LinkedList; import java.util.List; public class SortingAnnotationVisitor extends AnnotationVisitor { private final List<AnnotationValue<?>> annotationValues = new LinkedList<>(); private final AnnotationMember annotation; private SortingAnnotationVisitor parentVisitor; private String annotationValueName; private String arrayValueName;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate.go
PluginName = "truncate" // annotationKey defines the name of the annotation used to indicate truncation. annotationKey = "audit.k8s.io/truncated" // annotationValue defines the value of the annotation used to indicate truncation. annotationValue = "true" ) // Config represents truncating backend configuration. type Config struct { // MaxEventSize defines max allowed size of the event. If the event is larger,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 29 00:03:53 UTC 2022 - 4.7K bytes - Viewed (0)