Class ASTSignature

    • Field Detail

      • sMethodBodyConverter

        protected static ch.uzh.ifi.seal.changedistiller.ast.java.JavaMethodBodyConverter sMethodBodyConverter
        Constant sMethodBodyConverter
      • sInjector

        protected static final com.google.inject.Injector sInjector
        Constant sInjector
      • fCompilation

        protected ch.uzh.ifi.seal.changedistiller.ast.java.JavaCompilation fCompilation
      • fRoot

        protected ch.uzh.ifi.seal.changedistiller.treedifferencing.Node fRoot
    • Constructor Detail

      • ASTSignature

        public ASTSignature​(ch.uzh.ifi.seal.changedistiller.model.classifiers.EntityType label,
                            String value)

        Constructor for ASTSignature.

        Parameters:
        label - a EntityType object.
        value - a String object.
    • Method Detail

      • getTreeString

        protected String getTreeString()
        Prints this Node and its children with value ['{' child [, child]* '}'].
        Returns:
        a String object.
      • getFirstLeaf

        public ch.uzh.ifi.seal.changedistiller.treedifferencing.Node getFirstLeaf()

        getFirstLeaf.

        Overrides:
        getFirstLeaf in class DefaultMutableTreeNode
        Returns:
        a Node object.
      • getFirstChild

        public ch.uzh.ifi.seal.changedistiller.treedifferencing.Node getFirstChild()

        getFirstChild.

        Overrides:
        getFirstChild in class DefaultMutableTreeNode
        Returns:
        a Node object.
      • getLastChild

        public ch.uzh.ifi.seal.changedistiller.treedifferencing.Node getLastChild()

        getLastChild.

        Overrides:
        getLastChild in class DefaultMutableTreeNode
        Returns:
        a Node object.
      • createRootNode

        public void createRootNode​(ch.uzh.ifi.seal.changedistiller.model.classifiers.EntityType label,
                                   String value)

        createRootNode.

        Parameters:
        label - a EntityType object.
        value - a String object.
      • getSourceCodeWithSnippets

        protected abstract String getSourceCodeWithSnippets​(String... snippets)

        getSourceCodeWithSnippets.

        Parameters:
        snippets - a String object.
        Returns:
        a String object.
      • getRoot

        public ch.uzh.ifi.seal.changedistiller.treedifferencing.Node getRoot()

        getRoot.

        Overrides:
        getRoot in class DefaultMutableTreeNode
        Returns:
        a Node object.
      • setRoot

        public void setRoot​(ch.uzh.ifi.seal.changedistiller.treedifferencing.Node n)

        setRoot.

        Parameters:
        n - a Node object.