Class CatchMarkerNode

  • All Implemented Interfaces:
    org.plumelib.util.UniqueId

    public class CatchMarkerNode
    extends MarkerNode
    A CatchMarkerNode is a marker node for the beginning or end of a catch block.
    • Constructor Detail

      • CatchMarkerNode

        public CatchMarkerNode​(@Nullable com.sun.source.tree.Tree tree,
                               java.lang.String startOrEnd,
                               javax.lang.model.type.TypeMirror catchType,
                               javax.lang.model.util.Types types)
        Creates a new CatchMarkerNode.
        Parameters:
        tree - the tree
        startOrEnd - "start" or "end"
        catchType - the type of the exception parameter
        types - the type utilities
    • Method Detail

      • getCatchType

        public javax.lang.model.type.TypeMirror getCatchType()
        Returns the type of the exception parameter.
        Returns:
        the type of the exception parameter