Class TaintingVisitor

    • Constructor Detail

      • TaintingVisitor

        public TaintingVisitor​(BaseTypeChecker checker)
        Creates a TaintingVisitor.
        Parameters:
        checker - the checker that uses this visitor
    • Method Detail

      • checkConstructorResult

        protected void checkConstructorResult​(AnnotatedTypeMirror.AnnotatedExecutableType constructorType,
                                              javax.lang.model.element.ExecutableElement constructorElement)
        Don't check that the constructor result is top. Checking that the super() or this() call is a subtype of the constructor result is sufficient.
        Overrides:
        checkConstructorResult in class BaseTypeVisitor<BaseAnnotatedTypeFactory>
        Parameters:
        constructorType - the AnnotatedExecutableType for the constructor
        constructorElement - the element that declares the constructor