java.lang.Object
com.parasoft.findings.jenkins.coverage.model.Node
com.parasoft.findings.jenkins.coverage.model.ClassNode
All Implemented Interfaces:
Serializable

public final class ClassNode extends Node
A Node for a specific class.
See Also:
  • Constructor Details

    • ClassNode

      public ClassNode(String name)
      Creates a new ClassNode with the given name.
      Parameters:
      name - the name of the class
  • Method Details

    • copy

      public ClassNode copy()
      Description copied from class: Node
      Creates a copy of this instance that has no children and no parent yet. Node properties from the parent class Node must not be copied. All other immutable properties need to be copied one by one.
      Specified by:
      copy in class Node
      Returns:
      the copied node
    • createMethodNode

      public MethodNode createMethodNode(String methodName, String signature)
      Create a new method node with the given method name and signature and add it to the list of children.
      Parameters:
      methodName - the method name
      signature - the signature of the method
      Returns:
      the created and linked package node