|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.ResourceCreationPoint
public class ResourceCreationPoint
A resource creation point. This serves as an embodiment of the resource for use with ResourceValueAnalysis.
ResourceValueAnalysis
,
ResourceTrackingDetector
Field Summary | |
---|---|
private Location |
location
Location in the method where the resource is created. |
private java.lang.String |
resourceClass
The type of the resource. |
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 |
Field Detail |
---|
private final Location location
private final java.lang.String resourceClass
Constructor Detail |
---|
public ResourceCreationPoint(Location location, java.lang.String resourceClass)
location
- location where resource is createdresourceClass
- the name of the resource's classMethod Detail |
---|
public Location getLocation()
public java.lang.String getResourceClass()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |