Class MayReturnNullPropertyDatabase
java.lang.Object
edu.umd.cs.findbugs.ba.interproc.PropertyDatabase<MethodDescriptor, Boolean>
edu.umd.cs.findbugs.ba.interproc.MethodPropertyDatabase<Boolean>
edu.umd.cs.findbugs.ba.npe.MayReturnNullPropertyDatabase
Deprecated.
MethodPropertyDatabase for keeping track of which methods may return null.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BooleandecodeProperty(String propStr) Deprecated.Subclasses must define this to instantiate the actual property value from its string encoding.protected StringencodeProperty(Boolean property) Deprecated.Subclasses must define this to encode a property as a string for output to a file.static voidDeprecated.Methods inherited from class MethodPropertyDatabase
parseKey, writeKeyMethods inherited from class PropertyDatabase
entrySet, getKeys, getProperty, isEmpty, read, readFromFile, removeProperty, setProperty, write, writeToFile
-
Constructor Details
-
MayReturnNullPropertyDatabase
public MayReturnNullPropertyDatabase()Deprecated.
-
-
Method Details
-
decodeProperty
Deprecated.Description copied from class:PropertyDatabaseSubclasses must define this to instantiate the actual property value from its string encoding.- Specified by:
decodePropertyin classPropertyDatabase<MethodDescriptor, Boolean>- Parameters:
propStr- String containing the encoded property- Returns:
- the property
- Throws:
PropertyDatabaseFormatException
-
encodeProperty
Deprecated.Description copied from class:PropertyDatabaseSubclasses must define this to encode a property as a string for output to a file.- Specified by:
encodePropertyin classPropertyDatabase<MethodDescriptor, Boolean>- Parameters:
property- the property- Returns:
- a String which encodes the property
-
main
-