edu.umd.cs.findbugs.gui

Class BugInstanceGroup

public class BugInstanceGroup extends Object

A BugInstanceGroup represents a node in the bug tree which groups related bug instances. For example, it might group all of the bug instances for the same class.

Author: David Hovemeyer

Constructor Summary
BugInstanceGroup(String groupType, String groupName)
Creates a new instance of BugInstanceGroup.
Method Summary
StringgetGroupType()
Get the group type.
intgetMemberCount()
Get the member count (number of bug instances in this group).
voidincrementMemberCount()
Increment the member count (number of bug instances in this group).

Constructor Detail

BugInstanceGroup

public BugInstanceGroup(String groupType, String groupName)
Creates a new instance of BugInstanceGroup.

Parameters: groupType string indicating why the bug instances in the group are related groupName name of the group (e.g., the class name if the group is all bug instances in the same class)

Method Detail

getGroupType

public String getGroupType()
Get the group type.

getMemberCount

public int getMemberCount()
Get the member count (number of bug instances in this group).

incrementMemberCount

public void incrementMemberCount()
Increment the member count (number of bug instances in this group).
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.