Java Doc for AttributeOp.java in  » Testing » KeY » de » uka » ilkd » key » logic » op » 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 » de.uka.ilkd.key.logic.op 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.uka.ilkd.key.logic.op.Op
      de.uka.ilkd.key.logic.op.AccessOp
         de.uka.ilkd.key.logic.op.AttributeOp

All known Subclasses:   de.uka.ilkd.key.logic.op.ShadowAttributeOp,
AttributeOp
public class AttributeOp extends AccessOp (Code)
this class is used to represent the reference operator '.' of Java, e.g.>> int[] a = new int[]{1,2,3}; int i = a.length; <<< where the '.' in a.length points to field called length ATTENTION: At this moment only variables are adressed to this may change in future



Constructor Summary
protected  AttributeOp(IProgramVariable attribute)
    

Method Summary
public  intarity()
     The arity of an attribute operator is 1 and the corresponding subterm denotes the object whose attribute is accessed.
public  IProgramVariableattribute()
    
public  ExpressionconvertToProgram(Term t, de.uka.ilkd.key.util.ExtList l)
    
public  booleanequals(Object o)
    
public static  AttributeOpgetAttributeOp(IProgramVariable attribute)
    
public  KeYJavaTypegetContainerType()
    
public  KeYJavaTypegetKeYJavaType(Term t)
    
public  inthashCode()
    
public  booleanisShadowed()
    
public  MatchConditionsmatch(SVSubstitute subst, MatchConditions mc, Services services)
     Tries to match the given operator op with this one.
public  booleanmayBeAliasedBy(Location loc)
    
public  TermreferencePrefix(Term t)
    
public  Sortsort()
    
public  Sortsort(Term[] term)
     determines the sort of the Term if it would be created using this Operator as top level operator and the given terms as sub terms.
public  StringtoString()
    
public  booleanvalidTopLevel(Term term)
     checks whether the top level structure of the given Term is syntactically valid, given the assumption that the top level operator of the term is the same as this Operator.


Constructor Detail
AttributeOp
protected AttributeOp(IProgramVariable attribute)(Code)
creates a new access operator for the given attribute
Parameters:
  attribute - the ProgramVariable representing a field




Method Detail
arity
public int arity()(Code)
The arity of an attribute operator is 1 and the corresponding subterm denotes the object whose attribute is accessed. arity of the Operator as int



attribute
public IProgramVariable attribute()(Code)
returns the attribute of the operator the attribute of the operator



convertToProgram
public Expression convertToProgram(Term t, de.uka.ilkd.key.util.ExtList l)(Code)
converts the logical attribute access operator to its Java dependance



equals
public boolean equals(Object o)(Code)



getAttributeOp
public static AttributeOp getAttributeOp(IProgramVariable attribute)(Code)
returns and if neccessary creates the access operator of the given attribute the attribute operator for the given attribute



getContainerType
public KeYJavaType getContainerType()(Code)
returns the KeYJavaType the attribute is declared in



getKeYJavaType
public KeYJavaType getKeYJavaType(Term t)(Code)
returns the KeYJavaType of this access operator the KeYJavaType of this access operator



hashCode
public int hashCode()(Code)



isShadowed
public boolean isShadowed()(Code)
true if the operator is a shadowed



match
public MatchConditions match(SVSubstitute subst, MatchConditions mc, Services services)(Code)
Tries to match the given operator op with this one.



mayBeAliasedBy
public boolean mayBeAliasedBy(Location loc)(Code)



referencePrefix
public Term referencePrefix(Term t)(Code)
the top level operator of t must be this returns the reference prefix of this attribute of the given term



sort
public Sort sort()(Code)
the sort of the attribute



sort
public Sort sort(Term[] term)(Code)
determines the sort of the Term if it would be created using this Operator as top level operator and the given terms as sub terms. The assumption that the constructed term would be allowed is not checked.
Parameters:
  term - an array of Term containing the subterms of a (potential)term with this operator as top level operator sort of the term with this operator as top level operator of thegiven substerms



toString
public String toString()(Code)
toString



validTopLevel
public boolean validTopLevel(Term term)(Code)
checks whether the top level structure of the given Term is syntactically valid, given the assumption that the top level operator of the term is the same as this Operator. The assumption that the top level operator and the term are equal is NOT checked. true iff the top level structure ofthe @link Term is valid.



Methods inherited from de.uka.ilkd.key.logic.op.AccessOp
public boolean isRigid(Term term)(Code)(Java Doc)
abstract public boolean isShadowed()(Code)(Java Doc)

Fields inherited from de.uka.ilkd.key.logic.op.Op
final public static Quantifier ALL(Code)(Java Doc)
final public static Junctor AND(Code)(Java Doc)
final public static Modality BOX(Code)(Java Doc)
final public static Modality BOXSUSP(Code)(Java Doc)
final public static Modality BOXTRA(Code)(Java Doc)
final public static Modality BOXTRC(Code)(Java Doc)
final public static Junctor COMPUTE_SPEC_OP(Code)(Java Doc)
final public static Modality DIA(Code)(Java Doc)
final public static Modality DIASUSP(Code)(Java Doc)
final public static Modality DIATRA(Code)(Java Doc)
final public static Modality DIATRC(Code)(Java Doc)
final public static Equality EQUALS(Code)(Java Doc)
final public static Equality EQV(Code)(Java Doc)
final public static Quantifier EX(Code)(Java Doc)
final public static Junctor FALSE(Code)(Java Doc)
final public static IfExThenElse IF_EX_THEN_ELSE(Code)(Java Doc)
final public static IfThenElse IF_THEN_ELSE(Code)(Java Doc)
final public static Junctor IMP(Code)(Java Doc)
final public static Junctor NOT(Code)(Java Doc)
final public static Function NULL(Code)(Java Doc)
final public static Junctor OR(Code)(Java Doc)
final public static SubstOp SUBST(Code)(Java Doc)
final public static Modality TOUT(Code)(Java Doc)
final public static Modality TOUTSUSP(Code)(Java Doc)
final public static Modality TOUTTRA(Code)(Java Doc)
final public static Modality TOUTTRC(Code)(Java Doc)
final public static Junctor TRUE(Code)(Java Doc)
final protected Name name(Code)(Java Doc)

Methods inherited from de.uka.ilkd.key.logic.op.Op
protected boolean equalsForResolve(Operator op)(Code)(Java Doc)
public static Modality getModality(String str)(Code)(Java Doc)
public boolean isRigid(Term term)(Code)(Java Doc)
public MatchConditions match(SVSubstitute subst, MatchConditions mc, Services services)(Code)(Java Doc)
public Name name()(Code)(Java Doc)
protected Object readResolve() throws ObjectStreamException(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify() throws IllegalMonitorStateException(Code)(Java Doc)
final public void notifyAll() throws IllegalMonitorStateException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait() throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms) throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms, int ns) throws IllegalMonitorStateException, 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.