edu.umd.cs.findbugs.ba.npe
Class MayReturnNullPropertyDatabase
java.lang.Object
edu.umd.cs.findbugs.ba.interproc.PropertyDatabase<MethodDescriptor,Property>
edu.umd.cs.findbugs.ba.interproc.MethodPropertyDatabase<java.lang.Boolean>
edu.umd.cs.findbugs.ba.npe.MayReturnNullPropertyDatabase
Deprecated.
@Deprecated
public class MayReturnNullPropertyDatabase
- extends MethodPropertyDatabase<java.lang.Boolean>
MethodPropertyDatabase for keeping track of which methods
may return null.
- Author:
- David Hovemeyer
Method Summary |
protected java.lang.Boolean |
decodeProperty(java.lang.String propStr)
Deprecated. Subclasses must define this to instantiate the actual property
value from its string encoding. |
protected java.lang.String |
encodeProperty(java.lang.Boolean property)
Deprecated. Subclasses must define this to encode a property
as a string for output to a file. |
static void |
main(java.lang.String[] args)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MayReturnNullPropertyDatabase
public MayReturnNullPropertyDatabase()
- Deprecated.
decodeProperty
protected java.lang.Boolean decodeProperty(java.lang.String propStr)
throws PropertyDatabaseFormatException
- Deprecated.
- Description copied from class:
PropertyDatabase
- Subclasses must define this to instantiate the actual property
value from its string encoding.
- Specified by:
decodeProperty
in class PropertyDatabase<MethodDescriptor,java.lang.Boolean>
- Parameters:
propStr
- String containing the encoded property
- Returns:
- the property
- Throws:
PropertyDatabaseFormatException
encodeProperty
protected java.lang.String encodeProperty(java.lang.Boolean property)
- Deprecated.
- Description copied from class:
PropertyDatabase
- Subclasses must define this to encode a property
as a string for output to a file.
- Specified by:
encodeProperty
in class PropertyDatabase<MethodDescriptor,java.lang.Boolean>
- Parameters:
property
- the property
- Returns:
- a String which encodes the property
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Deprecated.
- Throws:
java.lang.Exception
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.