Java Doc for IsNullValue.java in  » Code-Analyzer » findbugs » edu » umd » cs » findbugs » ba » npe » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Code Analyzer » findbugs » edu.umd.cs.findbugs.ba.npe 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   edu.umd.cs.findbugs.ba.npe.IsNullValue

IsNullValue
public class IsNullValue implements IsNullValueAnalysisFeatures,Debug(Code)
A class to abstractly represent values in stack slots, indicating whether thoses values can be null, non-null, null on some incoming path, or unknown.
author:
   David Hovemeyer
See Also:   IsNullValueFrame
See Also:   IsNullValueAnalysis




Method Summary
public static  IsNullValuecheckedNonNullValue()
     Get the instance representing a value known to be non-null because it was compared against null value, or because we saw the object creation.
public static  IsNullValuecheckedNullValue()
     Get the instance representing a value known to be null because it was compared against null value, or because we saw that it was assigned the null constant.
public  IsNullValuedowngradeOnControlSplit()
     Control split: move given value down in the lattice if it is a conditionally-null value.
public  booleanequals(Object o)
    
public  LocationgetLocationOfKaBoom()
    
public  inthashCode()
    
public  booleanisChecked()
    
public  booleanisDefinitelyNotNull()
    
public  booleanisDefinitelyNull()
    
public  booleanisException()
    
public  booleanisFieldValue()
    
public  booleanisNullOnComplicatedPath()
    
public  booleanisNullOnSomePath()
    
public  booleanisParamValue()
    
public  booleanisReturnValue()
    
public  IsNullValuemarkInformationAsComingFromFieldValue(XField field)
     Convert to a value known because it was returned from a method in a method property database.
public  IsNullValuemarkInformationAsComingFromReturnValueOfMethod(XMethod methodInvoked)
     Convert to a value known because it was returned from a method in a method property database.
public static  IsNullValuemerge(IsNullValue a, IsNullValue b)
     Merge two values.
public  booleanmightBeNull()
     Return true if this value is either definitely null, or might be null on a simple path.
public static  IsNullValuenoKaboomNonNullValue(Location ins)
     Get the instance representing a value known to be non-null because a NPE would have occurred if it were null.
public static  IsNullValuenonNullValue()
     Get the instance representing values that are definitely not null.
public static  IsNullValuenonReportingNotNullValue()
     Get non-reporting non-null value.
public static  IsNullValuenullOnComplexPathValue()
     Get null on complex path value. This is like null on simple path value, but there are at least two branches between the explicit null value and the current location.
public static  IsNullValuenullOnComplexPathValue3()
     Like "null on complex path" except that there are at least three branches between the explicit null value and the current location.
public static  IsNullValuenullOnSimplePathValue()
     Get the instance representing values that are definitely null on some simple (no branches) incoming path.
public static  IsNullValuenullValue()
     Get the instance representing values that are definitely null.
public static  IsNullValueparameterMarkedAsMightBeNull(XMethodParameter mp)
    
public static  IsNullValuepathSensitiveNonNullValue()
     Get non-null value resulting from comparison to explicit null.
public static  IsNullValuepathSensitiveNullValue()
     Get null value resulting from comparison to explicit null.
public  IsNullValuetoExceptionValue()
     Convert to an exception path value.
public  StringtoString()
    
public  booleanwouldHaveBeenAKaboom()
    



Method Detail
checkedNonNullValue
public static IsNullValue checkedNonNullValue()(Code)
Get the instance representing a value known to be non-null because it was compared against null value, or because we saw the object creation.



checkedNullValue
public static IsNullValue checkedNullValue()(Code)
Get the instance representing a value known to be null because it was compared against null value, or because we saw that it was assigned the null constant.



downgradeOnControlSplit
public IsNullValue downgradeOnControlSplit()(Code)
Control split: move given value down in the lattice if it is a conditionally-null value. another value (equal or further down in the lattice)



equals
public boolean equals(Object o)(Code)



getLocationOfKaBoom
public Location getLocationOfKaBoom()(Code)



hashCode
public int hashCode()(Code)



isChecked
public boolean isChecked()(Code)
Is this value known because of an explicit null check?



isDefinitelyNotNull
public boolean isDefinitelyNotNull()(Code)
Is this value definitely not null?



isDefinitelyNull
public boolean isDefinitelyNull()(Code)
Is this value definitely null?



isException
public boolean isException()(Code)
Was this value propagated on an exception path?



isFieldValue
public boolean isFieldValue()(Code)



isNullOnComplicatedPath
public boolean isNullOnComplicatedPath()(Code)
Is this value null on a complicated path?



isNullOnSomePath
public boolean isNullOnSomePath()(Code)
Is this value null on some path?



isParamValue
public boolean isParamValue()(Code)
Was this value marked as a possibly null parameter?



isReturnValue
public boolean isReturnValue()(Code)
Was this value marked as a possibly null return value?



markInformationAsComingFromFieldValue
public IsNullValue markInformationAsComingFromFieldValue(XField field)(Code)
Convert to a value known because it was returned from a method in a method property database.
Parameters:
  methodInvoked - TODO



markInformationAsComingFromReturnValueOfMethod
public IsNullValue markInformationAsComingFromReturnValueOfMethod(XMethod methodInvoked)(Code)
Convert to a value known because it was returned from a method in a method property database.
Parameters:
  methodInvoked - TODO



merge
public static IsNullValue merge(IsNullValue a, IsNullValue b)(Code)
Merge two values.



mightBeNull
public boolean mightBeNull()(Code)
Return true if this value is either definitely null, or might be null on a simple path. true if this value is either definitely null,or might be null on a simple path, false otherwise



noKaboomNonNullValue
public static IsNullValue noKaboomNonNullValue(Location ins)(Code)
Get the instance representing a value known to be non-null because a NPE would have occurred if it were null.



nonNullValue
public static IsNullValue nonNullValue()(Code)
Get the instance representing values that are definitely not null.



nonReportingNotNullValue
public static IsNullValue nonReportingNotNullValue()(Code)
Get non-reporting non-null value. This is what we use for unknown values.



nullOnComplexPathValue
public static IsNullValue nullOnComplexPathValue()(Code)
Get null on complex path value. This is like null on simple path value, but there are at least two branches between the explicit null value and the current location. If the conditions are correlated, then the path on which the value is null may be infeasible.



nullOnComplexPathValue3
public static IsNullValue nullOnComplexPathValue3()(Code)
Like "null on complex path" except that there are at least three branches between the explicit null value and the current location.



nullOnSimplePathValue
public static IsNullValue nullOnSimplePathValue()(Code)
Get the instance representing values that are definitely null on some simple (no branches) incoming path.



nullValue
public static IsNullValue nullValue()(Code)
Get the instance representing values that are definitely null.



parameterMarkedAsMightBeNull
public static IsNullValue parameterMarkedAsMightBeNull(XMethodParameter mp)(Code)
Get instance representing a parameter marked as MightBeNull



pathSensitiveNonNullValue
public static IsNullValue pathSensitiveNonNullValue()(Code)
Get non-null value resulting from comparison to explicit null.



pathSensitiveNullValue
public static IsNullValue pathSensitiveNullValue()(Code)
Get null value resulting from comparison to explicit null.



toExceptionValue
public IsNullValue toExceptionValue()(Code)
Convert to an exception path value.



toString
public String toString()(Code)



wouldHaveBeenAKaboom
public boolean wouldHaveBeenAKaboom()(Code)
Is this value known to be non null because a NPE would have occurred otherwise?



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.