FindBugs™ 1.3.4

edu.umd.cs.findbugs.props
Class WarningPropertyUtil

java.lang.Object
  extended by edu.umd.cs.findbugs.props.WarningPropertyUtil

public abstract class WarningPropertyUtil
extends java.lang.Object

Utility methods for creating general warning properties.

Author:
David Hovemeyer

Constructor Summary
WarningPropertyUtil()
           
 
Method Summary
static void addPropertiesForLocation(WarningPropertySet propertySet, ClassContext classContext, org.apache.bcel.classfile.Method method, int pc)
          Add all relevant general warning properties to the given property set for the given Location.
static void addPropertiesForLocation(WarningPropertySet propertySet, ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
          Add all relevant general warning properties to the given property set for the given Location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WarningPropertyUtil

public WarningPropertyUtil()
Method Detail

addPropertiesForLocation

public static void addPropertiesForLocation(WarningPropertySet propertySet,
                                            ClassContext classContext,
                                            org.apache.bcel.classfile.Method method,
                                            Location location)
Add all relevant general warning properties to the given property set for the given Location.

Parameters:
propertySet - the WarningPropertySet
classContext - the ClassContext
method - the Method
location - the Location

addPropertiesForLocation

public static void addPropertiesForLocation(WarningPropertySet propertySet,
                                            ClassContext classContext,
                                            org.apache.bcel.classfile.Method method,
                                            int pc)
Add all relevant general warning properties to the given property set for the given Location.

Parameters:
propertySet - the WarningPropertySet
classContext - the ClassContext
method - the Method
pc - the bytecode offset of an instruction to get properties for

FindBugs™ 1.3.4

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