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


java.lang.Object
   de.uka.ilkd.key.logic.ldt.ADT
      de.uka.ilkd.key.logic.ldt.LDT
         de.uka.ilkd.key.logic.ldt.AbstractIntegerLDT

All known Subclasses:   de.uka.ilkd.key.logic.ldt.LongLDT,  de.uka.ilkd.key.logic.ldt.IntLDT,  de.uka.ilkd.key.logic.ldt.CharLDT,  de.uka.ilkd.key.logic.ldt.ShortLDT,  de.uka.ilkd.key.logic.ldt.ByteLDT,  de.uka.ilkd.key.logic.ldt.IntegerLDT,  de.uka.ilkd.key.logic.ldt.IntegerDomainLDT,
AbstractIntegerLDT
abstract public class AbstractIntegerLDT extends LDT (Code)
This class inherits from LDT and implements all method that are necessary to handle integers, shorts and bytes. It loads the needed rule file and offers method to convert java number types to their logic counterpart


Field Summary
final public static  NameCHAR_ID_NAME
    
final public static  StringNEGATIVE_LITERAL_STRING
    
final public static  NameNUMBERS_NAME
    
final protected  FunctionaddJint
    
final protected  FunctionaddJlong
    
final protected  FunctionandJint
    
final protected  FunctionandJlong
    
final protected  FunctioncharID
    
final protected  FunctiondivJint
    
final protected  FunctiondivJlong
    
final protected  Functiondivide
    
final protected  FunctiongreaterOrEquals
    
final protected  FunctiongreaterThan
     the function symbols for the integer operations.
final protected  FunctioninByte
    
protected  FunctioninChar
    
protected  FunctioninInt
    
protected  FunctioninLong
    
protected  FunctioninShort
    
final protected  FunctionjDivide
    
final protected  FunctionjModulo
    
final protected  FunctionlessOrEquals
    
final protected  FunctionlessThan
    
final protected  Functionminus
    
final protected  FunctionmodJint
    
final protected  FunctionmodJlong
    
final protected  Functionmodulo
    
final protected  FunctionmulJint
    
final protected  FunctionmulJlong
    
final protected  Functionnegative
    
final protected  FunctionnegativeNumber
    
final protected  FunctionnumberSymbol
    
final protected  Functionnumbers
    
final protected  FunctionorJint
    
final protected  FunctionorJlong
    
final protected  Functionplus
    
final protected  Functionsharp
    
final protected  FunctionshiftleftJint
    
final protected  FunctionshiftleftJlong
    
final protected  FunctionshiftrightJint
    
final protected  FunctionshiftrightJlong
    
final protected  FunctionsubJint
    
final protected  FunctionsubJlong
    
final protected  Functiontimes
    
final protected  FunctionunaryMinusJint
    
final protected  FunctionunaryMinusJlong
    
final protected  FunctionunsignedshiftrightJint
    
final protected  FunctionunsignedshiftrightJlong
    
final protected  FunctionxorJint
    
final protected  FunctionxorJlong
    

Constructor Summary
protected  AbstractIntegerLDT(Name name, Namespace sorts, Namespace functions, Type javaType)
    

Method Summary
public  FunctiongetArithAddition()
    
public  FunctiongetArithDivision()
    
public  FunctiongetArithJavaIntAddition()
     returns the function symbol interpreted as the Java addition on int (or promotabel to int) operators, i.e.
public  FunctiongetArithModulo()
    
public  FunctiongetArithMultiplication()
    
public  FunctiongetArithSubstraction()
    
public  FunctiongetCharSymbol()
    
public  FunctiongetFunctionFor(de.uka.ilkd.key.java.expression.Operator op, Services serv, ExecutionContext ec)
    
public  FunctiongetGreaterOrEquals()
    
public  FunctiongetGreaterThan()
    
abstract public  FunctiongetInBoundsPredicate()
    
public  FunctiongetJDivision()
    
public  FunctiongetJModulo()
    
public  FunctiongetJavaAddInt()
    
public  FunctiongetJavaAddLong()
    
public  FunctiongetJavaBitwiseAndInt()
    
public  FunctiongetJavaBitwiseAndLong()
    
public  FunctiongetJavaBitwiseNegation()
    
public  FunctiongetJavaBitwiseOrInt()
    
public  FunctiongetJavaBitwiseOrLong()
    
public  FunctiongetJavaBitwiseXOrInt()
    
public  FunctiongetJavaBitwiseXOrLong()
    
public  FunctiongetJavaCastByte()
    
public  FunctiongetJavaCastChar()
    
public  FunctiongetJavaCastInt()
    
public  FunctiongetJavaCastLong()
    
public  FunctiongetJavaCastShort()
    
public  FunctiongetJavaDivInt()
    
public  FunctiongetJavaDivLong()
    
public  FunctiongetJavaMod()
    
public  FunctiongetJavaMulInt()
    
public  FunctiongetJavaMulLong()
    
public  FunctiongetJavaShiftLeftInt()
    
public  FunctiongetJavaShiftLeftLong()
    
public  FunctiongetJavaShiftRightInt()
    
public  FunctiongetJavaShiftRightLong()
    
public  FunctiongetJavaSubInt()
    
public  FunctiongetJavaSubLong()
    
public  FunctiongetJavaUnaryMinusInt()
    
public  FunctiongetJavaUnaryMinusLong()
    
public  FunctiongetJavaUnsignedShiftRightInt()
    
public  FunctiongetJavaUnsignedShiftRightLong()
    
public  FunctiongetLessOrEquals()
    
public  FunctiongetLessThan()
    
public  FunctiongetModuloLong()
    
public  FunctiongetNegativeNumberSign()
    
public  FunctiongetNegativeSign()
     returns the unary function symbol for representing the negative value e.g.
public  FunctiongetNumberLiteralFor(int number)
    
public  FunctiongetNumberSymbol()
    
public  FunctiongetNumberTerminator()
    
public  booleanhasLiteralFunction(Function f)
    
public  booleanisResponsible(Operator op, Term[] subs, Services services, ExecutionContext ec)
    
public  booleanisResponsible(Operator op, Term left, Term right, Services services, ExecutionContext ec)
    
public  booleanisResponsible(Operator op, Term sub, Services services, ExecutionContext ec)
    
public  TermtranslateLiteral(Literal lit)
    
public  ExpressiontranslateTerm(Term t, ExtList children)
    

Field Detail
CHAR_ID_NAME
final public static Name CHAR_ID_NAME(Code)



NEGATIVE_LITERAL_STRING
final public static String NEGATIVE_LITERAL_STRING(Code)
Public name constants



NUMBERS_NAME
final public static Name NUMBERS_NAME(Code)



addJint
final protected Function addJint(Code)



addJlong
final protected Function addJlong(Code)



andJint
final protected Function andJint(Code)



andJlong
final protected Function andJlong(Code)



charID
final protected Function charID(Code)



divJint
final protected Function divJint(Code)



divJlong
final protected Function divJlong(Code)



divide
final protected Function divide(Code)



greaterOrEquals
final protected Function greaterOrEquals(Code)



greaterThan
final protected Function greaterThan(Code)
the function symbols for the integer operations. Used as shortcuts.



inByte
final protected Function inByte(Code)
the predicate symbols for being within boundaries



inChar
protected Function inChar(Code)



inInt
protected Function inInt(Code)



inLong
protected Function inLong(Code)



inShort
protected Function inShort(Code)



jDivide
final protected Function jDivide(Code)



jModulo
final protected Function jModulo(Code)



lessOrEquals
final protected Function lessOrEquals(Code)



lessThan
final protected Function lessThan(Code)



minus
final protected Function minus(Code)



modJint
final protected Function modJint(Code)



modJlong
final protected Function modJlong(Code)



modulo
final protected Function modulo(Code)



mulJint
final protected Function mulJint(Code)



mulJlong
final protected Function mulJlong(Code)



negative
final protected Function negative(Code)



negativeNumber
final protected Function negativeNumber(Code)



numberSymbol
final protected Function numberSymbol(Code)



numbers
final protected Function numbers(Code)
the function symbols used to represent literals



orJint
final protected Function orJint(Code)



orJlong
final protected Function orJlong(Code)



plus
final protected Function plus(Code)



sharp
final protected Function sharp(Code)



shiftleftJint
final protected Function shiftleftJint(Code)



shiftleftJlong
final protected Function shiftleftJlong(Code)



shiftrightJint
final protected Function shiftrightJint(Code)



shiftrightJlong
final protected Function shiftrightJlong(Code)



subJint
final protected Function subJint(Code)



subJlong
final protected Function subJlong(Code)



times
final protected Function times(Code)



unaryMinusJint
final protected Function unaryMinusJint(Code)



unaryMinusJlong
final protected Function unaryMinusJlong(Code)



unsignedshiftrightJint
final protected Function unsignedshiftrightJint(Code)



unsignedshiftrightJlong
final protected Function unsignedshiftrightJlong(Code)



xorJint
final protected Function xorJint(Code)



xorJlong
final protected Function xorJlong(Code)




Constructor Detail
AbstractIntegerLDT
protected AbstractIntegerLDT(Name name, Namespace sorts, Namespace functions, Type javaType)(Code)




Method Detail
getArithAddition
public Function getArithAddition()(Code)
returns the function symbol used to represent addition of arithmetical integers the function symbol for integer addition



getArithDivision
public Function getArithDivision()(Code)
returns the function symbol used to represent division of the arithmetical integers the function symbol used to represent integer division



getArithJavaIntAddition
public Function getArithJavaIntAddition()(Code)
returns the function symbol interpreted as the Java addition on int (or promotabel to int) operators, i.e. this addition performs a modulo operation wrt. to the range of type int. This function is independent of the chosen integer semantics. In case you want to represent the Java addition on operands promotable to int which shall be interpreted by the chosen integer semantics use AbstractIntegerLDT.getJavaAddInt instead mathematical interpreted function realising the Java addition on operands of or promotableto type int



getArithModulo
public Function getArithModulo()(Code)
returns the function symbol used to represent the modulo operation of the arithmetical integers the function symbol used to represent the integer modulo operation



getArithMultiplication
public Function getArithMultiplication()(Code)
returns the function symbol used to represent multiplication on the arithmetical integers the function symbol used to represent integer multiplication



getArithSubstraction
public Function getArithSubstraction()(Code)
returns the function symbol used to represent substraction of arithmetical integers the function symbol for integer substraction



getCharSymbol
public Function getCharSymbol()(Code)



getFunctionFor
public Function getFunctionFor(de.uka.ilkd.key.java.expression.Operator op, Services serv, ExecutionContext ec)(Code)
returns the function symbol for the given operation null if no function is found for the given operator the function symbol for the given operation



getGreaterOrEquals
public Function getGreaterOrEquals()(Code)
returns the boolean function symbol to compare two integer values val1, val2 if val1 is greater or equals val2 the boolean function symbol to compare two integer values



getGreaterThan
public Function getGreaterThan()(Code)
returns the boolean function symbol to compare two integer values val1, val2 if val1 is greater than val2 the boolean function symbol to compare two integer values



getInBoundsPredicate
abstract public Function getInBoundsPredicate()(Code)



getJDivision
public Function getJDivision()(Code)
returns the function symbol used to represent java-like division of the arithmetical integers the function symbol used to represent integer division



getJModulo
public Function getJModulo()(Code)
returns the function symbol used to represent the java-like modulo operation of the arithmetical integers the function symbol used to represent the integer modulo operation



getJavaAddInt
public Function getJavaAddInt()(Code)
the function representing the Java operator when one of the operators is an or can be promoted to an int function representing the generic Java operator function



getJavaAddLong
public Function getJavaAddLong()(Code)
the function representing the Java operator when one of the operators is of type long function representing the generic Java operator function



getJavaBitwiseAndInt
public Function getJavaBitwiseAndInt()(Code)
the function representing the Java operator when one of the operators is an or can be promoted to int function representing the generic Java operator function



getJavaBitwiseAndLong
public Function getJavaBitwiseAndLong()(Code)
the function representing the Java operator when one of the operators is of type long function representing the generic Java operator function



getJavaBitwiseNegation
public Function getJavaBitwiseNegation()(Code)
the function representing the Java operator ~ function representing the generic Java operator function



getJavaBitwiseOrInt
public Function getJavaBitwiseOrInt()(Code)
the function representing the Java operator | when one of the operands is an or can be promoted to int function representing the generic Java operator function



getJavaBitwiseOrLong
public Function getJavaBitwiseOrLong()(Code)
the function representing the Java operator | when one of the operands is of type long function representing the generic Java operator function



getJavaBitwiseXOrInt
public Function getJavaBitwiseXOrInt()(Code)
the function representing the Java operator ^ when one of the operands is an or can be promoted to int function representing the generic Java operator function



getJavaBitwiseXOrLong
public Function getJavaBitwiseXOrLong()(Code)
the function representing the Java operator ^ when one of the operands is exact of type long function representing the generic Java operator function



getJavaCastByte
public Function getJavaCastByte()(Code)
the function representing the Java operator (byte) function representing the generic Java operator function



getJavaCastChar
public Function getJavaCastChar()(Code)
the function representing the Java operator (char) function representing the generic Java operator function



getJavaCastInt
public Function getJavaCastInt()(Code)
the function representing the Java operator (int) function representing the generic Java operator function



getJavaCastLong
public Function getJavaCastLong()(Code)
the function representing the Java operator (long) function representing the generic Java operator function



getJavaCastShort
public Function getJavaCastShort()(Code)
the function representing the Java operator (short) function representing the generic Java operator function



getJavaDivInt
public Function getJavaDivInt()(Code)
the function representing the Java operator / when one of the operands is an or a subtype of int function representing the generic Java operator function



getJavaDivLong
public Function getJavaDivLong()(Code)
the function representing the Java operator / when one of the operands is exact of type long function representing the generic Java operator function



getJavaMod
public Function getJavaMod()(Code)
the function representing the Java operator % when one of the operands is an or a subtype of int function representing the generic Java operator function



getJavaMulInt
public Function getJavaMulInt()(Code)
the function representing the Java operator * when one of the operands is an or a subtype of int function representing the generic Java operator function



getJavaMulLong
public Function getJavaMulLong()(Code)
the function representing the Java operator * when one of the operands is exact of type long function representing the generic Java operator function



getJavaShiftLeftInt
public Function getJavaShiftLeftInt()(Code)
the function representing the Java operator << when one of the operands is an or a subtype of int function representing the generic Java operator function



getJavaShiftLeftLong
public Function getJavaShiftLeftLong()(Code)
the function representing the Java operator << when one of the operands is exact of type long function representing the generic Java operator function



getJavaShiftRightInt
public Function getJavaShiftRightInt()(Code)
the function representing the Java operator >> when one of the operands is an or a subtype of int function representing the generic Java operator function



getJavaShiftRightLong
public Function getJavaShiftRightLong()(Code)
the function representing the Java operator >> when one of the operands is exact of type long function representing the generic Java operator function



getJavaSubInt
public Function getJavaSubInt()(Code)
the function representing the Java operator - when one of the operands is an or a subtype of int function representing the generic Java operator function



getJavaSubLong
public Function getJavaSubLong()(Code)
the function representing the Java operator - when one of the operands is exact of type long function representing the generic Java operator function



getJavaUnaryMinusInt
public Function getJavaUnaryMinusInt()(Code)
the function representing the Java operator -expr when one of the operands is an or a subtype of int function representing the generic Java operator function



getJavaUnaryMinusLong
public Function getJavaUnaryMinusLong()(Code)
the function representing the Java operator -exprLong when one of the operands is exact of type long function representing the generic Java operator function



getJavaUnsignedShiftRightInt
public Function getJavaUnsignedShiftRightInt()(Code)
the function representing the Java operator >>> when one of the operands is an or a subtype of int function representing the generic Java operator function



getJavaUnsignedShiftRightLong
public Function getJavaUnsignedShiftRightLong()(Code)
the function representing the Java operator >>> when one of the operands is exact of type long function representing the generic Java operator function



getLessOrEquals
public Function getLessOrEquals()(Code)
returns the boolean function symbol to compare two integer values val1, val2 if val1 is lesser or equal than val2 the boolean function symbol to compare two integer values



getLessThan
public Function getLessThan()(Code)
returns the boolean function symbol to compare two integer values val1, val2 if val1 is lesser than val2 the boolean function symbol to compare two integer values



getModuloLong
public Function getModuloLong()(Code)
returns a function mapping an arithmetic integer to its Java long representation



getNegativeNumberSign
public Function getNegativeNumberSign()(Code)
returns the unary function symbol for representing a negative number literal the function symbol used to represent negative number literals



getNegativeSign
public Function getNegativeSign()(Code)
returns the unary function symbol for representing the negative value e.g. -(var) the function symbol used to represent the negative sign



getNumberLiteralFor
public Function getNumberLiteralFor(int number)(Code)



getNumberSymbol
public Function getNumberSymbol()(Code)



getNumberTerminator
public Function getNumberTerminator()(Code)



hasLiteralFunction
public boolean hasLiteralFunction(Function f)(Code)



isResponsible
public boolean isResponsible(Operator op, Term[] subs, Services services, ExecutionContext ec)(Code)
returns true if the LDT offers an operation for the given java operator and the logic subterms
Parameters:
  op - the de.uka.ilkd.key.java.expression.Operator totranslate
Parameters:
  subs - the logic subterms of the java operator true if the LDT offers an operation for the given javaoperator and the subterms



isResponsible
public boolean isResponsible(Operator op, Term left, Term right, Services services, ExecutionContext ec)(Code)
returns true if the LDT offers an operation for the given binary java operator and the logic subterms
Parameters:
  op - the de.uka.ilkd.key.java.expression.Operator totranslate
Parameters:
  left - the left subterm of the java operator
Parameters:
  right - the right subterm of the java operator true if the LDT offers an operation for the given javaoperator and the subterms



isResponsible
public boolean isResponsible(Operator op, Term sub, Services services, ExecutionContext ec)(Code)
returns true if the LDT offers an operation for the given unary java operator and the logic subterms
Parameters:
  op - the de.uka.ilkd.key.java.expression.Operator totranslate
Parameters:
  sub - the logic subterms of the java operator true if the LDT offers an operation for the given javaoperator and the subterm



translateLiteral
public Term translateLiteral(Literal lit)(Code)
translates a given integer literal to its logic counterpart
Parameters:
  lit - the Literal to be translated (has to be anIntLiteral of an LongLiteral



translateTerm
public Expression translateTerm(Term t, ExtList children)(Code)



Fields inherited from de.uka.ilkd.key.logic.ldt.LDT
protected HashMap keyJavaType(Code)(Java Doc)
final protected Sort sort(Code)(Java Doc)
final protected Type type(Code)(Java Doc)

Methods inherited from de.uka.ilkd.key.logic.ldt.LDT
public Function addFunction(Function f)(Code)(Java Doc)
public Function addFunction(Namespace funcNS, String funcName)(Code)(Java Doc)
public boolean containsFunction(Function op)(Code)(Java Doc)
public Namespace functions()(Code)(Java Doc)
public String getFile()(Code)(Java Doc)
abstract public Function getFunctionFor(de.uka.ilkd.key.java.expression.Operator op, Services serv, ExecutionContext ec)(Code)(Java Doc)
public KeYJavaType getKeYJavaType(Type t)(Code)(Java Doc)
abstract public boolean hasLiteralFunction(Function f)(Code)(Java Doc)
abstract public boolean isResponsible(de.uka.ilkd.key.java.expression.Operator op, Term[] subs, Services services, ExecutionContext ec)(Code)(Java Doc)
abstract public boolean isResponsible(de.uka.ilkd.key.java.expression.Operator op, Term left, Term right, Services services, ExecutionContext ec)(Code)(Java Doc)
abstract public boolean isResponsible(de.uka.ilkd.key.java.expression.Operator op, Term sub, Services services, ExecutionContext ec)(Code)(Java Doc)
public Type javaType()(Code)(Java Doc)
public SetOfTaclet rules()(Code)(Java Doc)
public Sort targetSort()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
abstract public Term translateLiteral(Literal lit)(Code)(Java Doc)
abstract public Expression translateTerm(Term t, ExtList children)(Code)(Java Doc)

Methods inherited from de.uka.ilkd.key.logic.ldt.ADT
public void addAxiom(Axiom a)(Code)(Java Doc)
public void addSort(GenSort gs)(Code)(Java Doc)
public void addSort(Sort s)(Code)(Java Doc)
public Vector getAxioms()(Code)(Java Doc)
public Vector getSorts()(Code)(Java Doc)
public Name name()(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.