/FileExtraction/Java_unseen/mistupv_JavaSlicer/sdg-core/src/main/java/es/upv/mist/slicing/nodes/exceptionsensitive/NormalExitNode.java
package es.upv.mist.slicing.nodes.exceptionsensitive;

import com.github.javaparser.ast.body.CallableDeclaration;

/** A node that represents the exit of a declaration, serving the function of 'Exit' in the initial CFG. */
public class NormalExitNode extends ExitNode {
    public NormalExitNode(CallableDeclaration<?> astNode) {
        super("normal exit", astNode);
    }

    @Override
    public boolean matchesReturnNode(ReturnNode node) {
        return node instanceof NormalReturnNode;
    }
}
