Source Code Cross Referenced for Object.java in  » Testing » KeY » java » lang » 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 » Testing » KeY » java.lang 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package java.lang;
002:
003:        import gnu.classpath.Configuration;
004:
005:        public class Object {
006:
007:            /** A data group for the state of this object.  This is used to
008:             * allow side effects on unknown variables in methods such as
009:             * equals, clone, and toString. It also provides a convenient way
010:             * to talk about "the state" of an object in assignable
011:             * clauses.
012:             */
013:            //@ public non_null model org.jmlspecs.lang.JMLDataGroup objectState;
014:            //@ represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT;
015:            /** The Object that has a field pointing to this Object.
016:             * Used to specify (among other things) injectivity (see
017:             * the ESC/Java User's Manual).
018:             */
019:            /*@ ghost public Object owner;
020:              @                     in objectState;
021:              @*/
022:
023:            /** The number of times this object has been finalized.
024:             */
025:            //@ protected ghost int objectTimesFinalized;
026:            /*@ public normal_behavior
027:              @   assignable \nothing;
028:              @*/
029:            public/*@ pure @*/Object() {
030:            }
031:
032:            /*@ 
033:              @   public normal_behavior
034:              @     requires this == o;
035:              @     ensures \result;
036:              @ also
037:              @    requires o == null;
038:              @    diverges false;
039:              @    ensures !\result;
040:              @ also
041:              @    requires o != null;
042:              @    diverges false;
043:              @    ensures \result == o.equals(this);
044:              @*/
045:            /** @preconditions true
046:             * @postconditions result = (self=o)
047:             * @modifies
048:             */
049:            public/*@ pure @*/boolean equals(Object o) {
050:            }
051:
052:            /** The Class of this object.  Needed to specify that invoking
053:             * getClass() on an object always produces the same result: no
054:             * methods include this model field in their assignable clause,
055:             * so no methods can alter the outcome of invoking getClass() on
056:             * some object.  This property is important when using ESC/Java
057:             * on specs that use getClass(), just knowing that getClass() is
058:             * pure is not enough.
059:             */
060:            //@ public model non_null Class _getClass;
061:            //@ public represents _getClass <- \typeof(this);
062:            // The value produced by hashCode() but without any side-effects.
063:            /*@ public normal_behavior
064:              @ ensures (\forall Object o; equals(o) ==> \result == o.hashValue());
065:              @ public pure model int hashValue();
066:              @*/
067:
068:            /*@  public behavior
069:              @     assignable objectState; // for subclasses with benevolent side effects
070:              @     ensures \result == hashValue();
071:              @  also
072:              @   public normal_behavior
073:              @     requires \typeof(this) == \type(Object);
074:              @     assignable \nothing;
075:              @*/
076:            public int hashCode() {
077:            }
078:
079:            //@ public model String theString;
080:
081:            /*@   public normal_behavior
082:              @     assignable objectState;
083:              @     ensures \result != null;
084:              @     ensures \result == theString;
085:              @ also
086:              @   public normal_behavior
087:              @     requires \typeof(this) == \type(Object);
088:              @     assignable \nothing;
089:              @     ensures \result != null;
090:              @ implies_that
091:              @    assignable objectState;
092:              @    ensures \result != null;
093:              @*/
094:            public String toString() {
095:            }
096:
097:            /*@ protected behavior
098:              @   requires objectTimesFinalized == 0 ; // FIXME && \lockset.isEmpty();
099:              @   assignable objectTimesFinalized, objectState;
100:              @   ensures objectTimesFinalized == 1;
101:              @   signals (Throwable) objectTimesFinalized == 1;
102:              @*/
103:            protected void finalize() throws Throwable {
104:            }
105:
106:            protected Object clone() throws CloneNotSupportedException {
107:            }
108:
109:            /*@ public normal_behavior
110:              @   ensures \result == _getClass;
111:              @   ensures_redundantly \result != null;
112:              @*/
113:            public final native Class getClass();
114:
115:            public final void notify() throws IllegalMonitorStateException {
116:            }
117:
118:            public final void notifyAll() throws IllegalMonitorStateException {
119:            }
120:
121:            public final void wait() throws IllegalMonitorStateException,
122:                    InterruptedException {
123:            }
124:
125:            //@ requires ms >= 0;
126:            public final void wait(long ms)
127:                    throws IllegalMonitorStateException, InterruptedException {
128:            }
129:
130:            //@ requires ms >= 0 && 0 <= ns && ns < 1000000;
131:            public final void wait(long ms, int ns)
132:                    throws IllegalMonitorStateException, InterruptedException {
133:            }
134:
135:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.