Class SynthesizeSymTypeFromMCBasicTypes

    • Constructor Detail

      • SynthesizeSymTypeFromMCBasicTypes

        public SynthesizeSymTypeFromMCBasicTypes()
        Deprecated.
    • Method Detail

      • endVisit

        public void endVisit​(ASTMCPrimitiveType primitiveType)
        Deprecated.
        We use mainly endVisit, because the result is synthesized along the tree, when walking upwards
        Specified by:
        endVisit in interface MCBasicTypesVisitor2
      • createTypeVariable

        protected java.util.Optional<SymTypeVariable> createTypeVariable​(ASTMCQualifiedName qName)
        Deprecated.
        This method creates a sym-type expression for the first resolved type variable symbol matching the provided qualified name. It logs an error if multiple matching symbols are found. The resulting sym-type expression is encapsulated in an optional.
        Parameters:
        qName - the qualified name
        Returns:
        an optional of the created sym-type expression, empty if no match type variable symbol is found
      • createTypeObject

        protected java.util.Optional<SymTypeOfObject> createTypeObject​(ASTMCQualifiedName qName)
        Deprecated.
        This method creates a sym-type expression for the first resolved type symbol matching the provided qualified name. It logs an error if multiple matching symbols are found. The resulting sym-type expression is encapsulated in an optional.
        Parameters:
        qName - the qualified name
        Returns:
        an optional of the created sym-type expression, empty if no match type symbol is found
      • createObscure

        protected SymTypeObscure createObscure​(ASTMCQualifiedName qName)
        Deprecated.
        This method creates a sym-type obscure and logs an error that no symbol matching the provided qualified name can be found.
        Parameters:
        qName - the qualified name
        Returns:
        a sym-type obscure