FindBugs™ 1.3.9

edu.umd.cs.findbugs
Class ResourceCreationPoint

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

public class ResourceCreationPoint
extends java.lang.Object

A resource creation point. This serves as an embodiment of the resource for use with ResourceValueAnalysis.

Author:
David Hovemeyer
See Also:
ResourceValueAnalysis, ResourceTrackingDetector

Constructor Summary
ResourceCreationPoint(Location location, java.lang.String resourceClass)
          Constructor.
 
Method Summary
 Location getLocation()
          Get the location where the resource is created.
 java.lang.String getResourceClass()
          Get the name of the resource's class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceCreationPoint

public ResourceCreationPoint(Location location,
                             java.lang.String resourceClass)
Constructor.

Parameters:
location - location where resource is created
resourceClass - the name of the resource's class
Method Detail

getLocation

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


getResourceClass

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


FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.