Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AnnotationValue (0.44 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValue.kt

    public class KaAnnotationApplicationValue @KaAnalysisApiInternals constructor(
        annotationValue: KaAnnotation,
        token: KaLifetimeToken
    ) : KaAnnotationValue(token) {
        public val annotationValue: KaAnnotation = annotationValue
            get() = withValidityAssertion { field }
    
        override val sourcePsi: KtElement?
            get() = withValidityAssertion { annotationValue.psi }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/validation/ValidationProblemPropertyAnnotationHandler.java

                    .documentedAt(Documentation.userManual("id", "section"))
                    .severity(annotationValue(propertyMetadata))
                    .details("this is a test")
            );
        }
    
        private Severity annotationValue(PropertyMetadata propertyMetadata) {
            return propertyMetadata.getAnnotationForCategory(AnnotationCategory.TYPE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. pkg/controller/ttl/ttl_controller.go

    	if node.Annotations == nil {
    		return 0, false
    	}
    	annotationValue, ok := node.Annotations[annotationKey]
    	if !ok {
    		return 0, false
    	}
    	intValue, err := strconv.Atoi(annotationValue)
    	if err != nil {
    		logger := klog.FromContext(ctx)
    		logger.Info("Could not convert the value with annotation key for the node", "annotationValue",
    			annotationValue, "annotationKey", annotationKey, "node", klog.KObj(node))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/KtInitializerValue.kt

     * Initializer of property of annotation, which can not be which cannot be represented as Kotlin const value,
     *   but can be represented as [KaAnnotationValue]
     */
    public class KaConstantValueForAnnotation(
        public val annotationValue: KaAnnotationValue,
        override val initializerPsi: KtExpression?
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValueRenderer.kt

            append(value.callableId?.asSingleFqName()?.asString())
        }
    
        private fun StringBuilder.renderAnnotationConstantValue(application: KaAnnotationApplicationValue) {
            renderAnnotationApplication(application.annotationValue)
        }
    
        private fun StringBuilder.renderAnnotationApplication(value: KaAnnotation) {
            append(value.classId)
            if (value.arguments.isNotEmpty()) {
                append("(")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top