Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for AddAnnotation (0.17 sec)

  1. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/ApiMemberSelector.java

        }
    
        @Override
        public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
            AnnotationMember ann = new AnnotationMember(desc, visible);
            classMember.addAnnotation(ann);
            return new SortingAnnotationVisitor(ann, super.visitAnnotation(desc, visible));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

            TypeSpec.Builder generatedClass = TypeSpec.classBuilder(className)
                .addAnnotation(GENERATED_ANNOTATION.asClassName())
                .superclass(CALL_INTERCEPTOR_CLASS)
                .addSuperinterface(SIGNATURE_AWARE_CALL_INTERCEPTOR_CLASS)
                .addSuperinterface(FILTERABLE_CALL_INTERCEPTOR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/AnnotatableMember.java

            super(access, name);
            this.signature = signature;
        }
    
        public SortedSet<AnnotationMember> getAnnotations() {
            return ImmutableSortedSet.copyOf(annotations);
        }
    
        public void addAnnotation(AnnotationMember annotationMember) {
            annotations.add(annotationMember);
        }
    
        public String getSignature() {
            return signature;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/imagepolicy/v1alpha1/generated.proto

      // +optional
      optional string reason = 2;
    
      // AuditAnnotations will be added to the attributes object of the
      // admission controller request using 'AddAnnotation'.  The keys should
      // be prefix-less (i.e., the admission controller will add an
      // appropriate prefix).
      // +optional
      map<string, string> auditAnnotations = 3;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/dispatcher.go

    						key := fmt.Sprintf("%sround_0_index_%d", ValidatingAuditAnnotationFailedOpenKeyPrefix, idx)
    						value := hookName
    						if err := versionedAttr.Attributes.AddAnnotation(key, value); err != nil {
    							klog.Warningf("Failed to set admission audit annotation %s to %s for validating webhook %s: %v", key, value, hookName, err)
    						}
    						return
    					}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 20:24:12 UTC 2023
    - 13K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/imagepolicy/v1alpha1/generated.proto

      // +optional
      optional string reason = 2;
    
      // AuditAnnotations will be added to the attributes object of the
      // admission controller request using 'AddAnnotation'.  The keys should
      // be prefix-less (i.e., the admission controller will add an
      // appropriate prefix).
      // +optional
      map<string, string> auditAnnotations = 3;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go

    	}
    	value := string(valueJSON)
    	if err := attributes.AddAnnotation(key, value); err != nil {
    		klog.Warningf("Failed to set admission audit annotation %s to %s for ValidatingAdmissionPolicy %s and ValidatingAdmissionPolicyBinding %s: %v", key, value, binding.Spec.PolicyName, binding.Name, err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java

            Boolean isRulesBlock = method.getCode().getNodeMetaData(AST_NODE_METADATA_KEY);
            if (isRulesBlock != null) {
                AnnotationNode markerAnnotation = new AnnotationNode(ANNOTATION_CLASS_NODE);
                node.addAnnotation(markerAnnotation);
            }
        }
    
        @Override
        public void visitBlockStatement(BlockStatement block) {
            block.setNodeMetaData(AST_NODE_METADATA_KEY, true);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/imagepolicy/v1alpha1/types.go

    	// +optional
    	Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"`
    	// AuditAnnotations will be added to the attributes object of the
    	// admission controller request using 'AddAnnotation'.  The keys should
    	// be prefix-less (i.e., the admission controller will add an
    	// appropriate prefix).
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java

            // Suppress some error prone warnings that are not important and would complicate the logic for code generation.
    
            return builder ->
                builder.addMethod(constructor)
                    .addAnnotation(GENERATED_ANNOTATION.asClassName())
                    .addModifiers(Modifier.PUBLIC)
                    // generic stuff not related to the content:
                    .addSuperinterface(ClassName.get(JvmBytecodeCallInterceptor.class))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:50:01 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top