Class ASTConstructBodySignature

    • Constructor Detail

      • ASTConstructBodySignature

        public ASTConstructBodySignature​(Construct _construct)

        Constructor for ASTConstructBodySignature.

        Parameters:
        _construct - a Construct object.
      • ASTConstructBodySignature

        public ASTConstructBodySignature​(ch.uzh.ifi.seal.changedistiller.model.classifiers.EntityType fLabel,
                                         String fValue)

        Constructor for ASTConstructBodySignature.

        Parameters:
        fLabel - a EntityType object.
        fValue - a String object.
    • Method Detail

      • prepareCompilationFromFile

        public void prepareCompilationFromFile​(String _file)
        Returns the generated JavaCompilation from the file identified by the given filename.
        Parameters:
        _file - a String object.
      • prepareCompilationFromSource

        public void prepareCompilationFromSource​(String src)

        prepareCompilationFromSource.

        Parameters:
        src - a String object.
      • convertConstructBody

        public ch.uzh.ifi.seal.changedistiller.treedifferencing.Node convertConstructBody​(String methodName)

        convertConstructBody.

        Parameters:
        methodName - a String object.
        Returns:
        a Node object.
      • toASTSignature

        public Signature toASTSignature​(String json)
        Helper method for building a JSON element of a Node in the AST
        Parameters:
        json - a String object.
        Returns:
        a Signature object.
      • toJson

        public String toJson()
      • toRTEDString

        public String toRTEDString()

        toRTEDString.

        Returns:
        a String object.