Class CFAbstractValue.ValueGlb

    • Constructor Detail

      • ValueGlb

        protected ValueGlb()
    • Method Detail

      • combineTwoAnnotations

        protected @Nullable javax.lang.model.element.AnnotationMirror combineTwoAnnotations​(javax.lang.model.element.AnnotationMirror a,
                                                                                            javax.lang.model.type.TypeMirror aTypeMirror,
                                                                                            javax.lang.model.element.AnnotationMirror b,
                                                                                            javax.lang.model.type.TypeMirror bTypeMirror,
                                                                                            javax.lang.model.element.AnnotationMirror top)
        Description copied from class: CFAbstractValue.AnnotationSetCombiner
        Returns the result of combining the two annotations. This method is called when an annotation exists in both sets for the hierarchy whose top is top.
        Specified by:
        combineTwoAnnotations in class CFAbstractValue.AnnotationSetCombiner
        Parameters:
        a - an annotation in the hierarchy
        aTypeMirror - the type that is annotated by a
        b - an annotation in the hierarchy
        bTypeMirror - the type that is annotated by b
        top - the top annotation in the hierarchy
        Returns:
        the result of combining the two annotations or null if no combination exists
      • combineAnnotationWithTypeVar

        protected @Nullable javax.lang.model.element.AnnotationMirror combineAnnotationWithTypeVar​(javax.lang.model.element.AnnotationMirror annotation,
                                                                                                   AnnotatedTypeMirror.AnnotatedTypeVariable typeVar,
                                                                                                   javax.lang.model.element.AnnotationMirror top,
                                                                                                   boolean canCombinedSetBeMissingAnnos)
        Description copied from class: CFAbstractValue.AnnotationSetCombiner
        Returns the result of combining annotation with typeVar.

        This is called when an annotation exists for the hierarchy in one set, but not the other.

        Specified by:
        combineAnnotationWithTypeVar in class CFAbstractValue.AnnotationSetCombiner
        Parameters:
        annotation - an annotation
        typeVar - a type variable that does not have a primary annotation in the hierarchy
        top - the top annotation of the hierarchy
        canCombinedSetBeMissingAnnos - whether or not
        Returns:
        the result of combining annotation with typeVar