Class ResourceCreationPoint

java.lang.Object
edu.umd.cs.findbugs.ResourceCreationPoint
Direct Known Subclasses:
Stream

public class ResourceCreationPoint extends Object
A resource creation point. This serves as an embodiment of the resource for use with ResourceValueAnalysis.
Author:
David Hovemeyer
See Also:
  • Constructor Details

    • ResourceCreationPoint

      public ResourceCreationPoint(Location location, String resourceClass)
      Constructor.
      Parameters:
      location - location where resource is created
      resourceClass - the name of the resource's class
  • Method Details

    • getLocation

      public Location getLocation()
      Get the location where the resource is created.
    • getResourceClass

      public String getResourceClass()
      Get the name of the resource's class.