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


java.lang.Object
   de.uka.ilkd.key.rule.TacletApp
      de.uka.ilkd.key.rule.NoPosTacletApp

All known Subclasses:   de.uka.ilkd.key.rule.UninstantiatedNoPosTacletApp,
NoPosTacletApp
public class NoPosTacletApp extends TacletApp implements Contractable(Code)
A no position taclet application has no position information yet. This can have different reasons:
  • the taclet application belongs to a no find taclet, this means it is attached to a sequent and not to a formula or term.
  • the taclet application has not been matched against a term or formula, but may already contain instantiation information for some of its schemavariables. This is the case, if the taclet of this application object has been inserted by an addrule part of another taclet. For this reason the de.uka.ilkd.key.proof.TacletIndex manages no position taclet application objects instead of the taclets itself.



Constructor Summary
protected  NoPosTacletApp(Taclet taclet)
    

Method Summary
public  TacletAppaddInstantiation(SchemaVariable sv, Term term, boolean interesting)
    
public  TacletAppaddInstantiation(SchemaVariable sv, Object[] list, boolean interesting)
    
public  TacletAppaddInstantiation(SchemaVariable sv, ProgramElement pe, boolean interesting)
    
public  TacletAppaddInstantiation(SVInstantiations svi)
    
protected static  booleancheckVarCondNotFreeIn(Taclet taclet, SVInstantiations instantiations)
     checks if the variable conditions of type 'x not free in y' are hold by the found instantiations.
public  booleancomplete()
     returns true iff all necessary informations are collected, so that the Taclet can be applied.
protected  SetOfQuantifiableVariablecontextVars(SchemaVariable sv)
    
public static  NoPosTacletAppcreateFixedNoPosTacletApp(Taclet taclet, SVInstantiations instantiations, Constraint constraint)
     Create TacletApp with immutable "instantiations", i.e.
public static  NoPosTacletAppcreateNoPosTacletApp(Taclet taclet)
    
public static  NoPosTacletAppcreateNoPosTacletApp(Taclet taclet, SVInstantiations instantiations)
     creates a NoPosTacletApp for the given taclet with some known instantiations and CHECKS variable conditions as well as it resolves collisions The ifInstantiations parameter is not matched against the if sequence, but only stored.
public static  NoPosTacletAppcreateNoPosTacletApp(Taclet taclet, SVInstantiations instantiations, Constraint matchConstraint, SetOfMetavariable matchNewMetavariables)
    
public static  NoPosTacletAppcreateNoPosTacletApp(Taclet taclet, SVInstantiations instantiations, Constraint matchConstraint, SetOfMetavariable matchNewMetavariables, ListOfIfFormulaInstantiation ifInstantiations)
    
public static  NoPosTacletAppcreateNoPosTacletApp(Taclet taclet, MatchConditions matchCond)
    
public  booleanequalContractable(Contractable c)
    
public  booleanequals(Object o)
    
public  inthashCode()
    
public  NoPosTacletAppmatchFind(PosInOccurrence pos, Constraint termConstraint, Services services, Constraint userConstraint)
    
public  NoPosTacletAppmatchFind(PosInOccurrence pos, Constraint termConstraint, Services services, Constraint userConstraint, Term t)
    
public  PosInOccurrenceposInOccurrence()
    
protected  TacletAppsetAllInstantiations(MatchConditions mc, ListOfIfFormulaInstantiation ifInstantiations)
    
protected  TacletAppsetInstantiation(SVInstantiations svi)
    
protected  TacletAppsetMatchConditions(MatchConditions mc)
    
protected  MatchConditionssetupMatchConditions(PosInOccurrence pos, Services services, Constraint userConstraint)
    
public  booleansufficientlyComplete()
    


Constructor Detail
NoPosTacletApp
protected NoPosTacletApp(Taclet taclet)(Code)
creates a NoPosTacletApp for the given taclet and no instantiation information
Parameters:
  taclet - the Taclet




Method Detail
addInstantiation
public TacletApp addInstantiation(SchemaVariable sv, Term term, boolean interesting)(Code)
adds a new instantiation to this TacletApp
Parameters:
  sv - the SchemaVariable to be instantiated
Parameters:
  term - the Term the SchemaVariable is instantiated with the new TacletApp



addInstantiation
public TacletApp addInstantiation(SchemaVariable sv, Object[] list, boolean interesting)(Code)



addInstantiation
public TacletApp addInstantiation(SchemaVariable sv, ProgramElement pe, boolean interesting)(Code)
adds a new instantiation to this TacletApp
Parameters:
  sv - the SchemaVariable to be instantiated
Parameters:
  pe - the ProgramElement the SV is instantiated with the new TacletApp



addInstantiation
public TacletApp addInstantiation(SVInstantiations svi)(Code)
creates a new Taclet application containing all the instantiations given by the SVInstantiations and hold the old ones
Parameters:
  svi - the SVInstantiations whose entries are the neededinstantiations the new Taclet application



checkVarCondNotFreeIn
protected static boolean checkVarCondNotFreeIn(Taclet taclet, SVInstantiations instantiations)(Code)
checks if the variable conditions of type 'x not free in y' are hold by the found instantiations. The variable conditions is used implicit in the prefix. (Used to calculate the prefix)
Parameters:
  taclet - the Taclet that is tried to be instantiated. A match for thefind (or/and if) has been found.
Parameters:
  instantiations - the SVInstantiations so that the find(if) matches true iff all variable conditions x not free in y are hold



complete
public boolean complete()(Code)
returns true iff all necessary informations are collected, so that the Taclet can be applied. true iff all necessary informations are collected, sothat the Taclet can be applied.



contextVars
protected SetOfQuantifiableVariable contextVars(SchemaVariable sv)(Code)



createFixedNoPosTacletApp
public static NoPosTacletApp createFixedNoPosTacletApp(Taclet taclet, SVInstantiations instantiations, Constraint constraint)(Code)
Create TacletApp with immutable "instantiations", i.e. this instantiations must not be modified later (e.g. by "addInstantiation"). However, this information is currently only used to decide about introduction of metavariables. Immutable instantiations are important for the "addrules" part of taclets.



createNoPosTacletApp
public static NoPosTacletApp createNoPosTacletApp(Taclet taclet)(Code)
creates a NoPosTacletApp for the given taclet and no instantiation information and CHECKS variable conditions as well as it resolves collisions
Parameters:
  taclet - the Taclet



createNoPosTacletApp
public static NoPosTacletApp createNoPosTacletApp(Taclet taclet, SVInstantiations instantiations)(Code)
creates a NoPosTacletApp for the given taclet with some known instantiations and CHECKS variable conditions as well as it resolves collisions The ifInstantiations parameter is not matched against the if sequence, but only stored. For matching use the method "setIfFormulaInstantiations".
Parameters:
  taclet - the Taclet
Parameters:
  instantiations - the SVInstantiations



createNoPosTacletApp
public static NoPosTacletApp createNoPosTacletApp(Taclet taclet, SVInstantiations instantiations, Constraint matchConstraint, SetOfMetavariable matchNewMetavariables)(Code)



createNoPosTacletApp
public static NoPosTacletApp createNoPosTacletApp(Taclet taclet, SVInstantiations instantiations, Constraint matchConstraint, SetOfMetavariable matchNewMetavariables, ListOfIfFormulaInstantiation ifInstantiations)(Code)



createNoPosTacletApp
public static NoPosTacletApp createNoPosTacletApp(Taclet taclet, MatchConditions matchCond)(Code)



equalContractable
public boolean equalContractable(Contractable c)(Code)



equals
public boolean equals(Object o)(Code)



hashCode
public int hashCode()(Code)



matchFind
public NoPosTacletApp matchFind(PosInOccurrence pos, Constraint termConstraint, Services services, Constraint userConstraint)(Code)
PRECONDITION: ifFormulaInstantiations () == null && ( pos == null || termConstraint.isSatisfiable () ) TacletApp with the resulting instantiations or null



matchFind
public NoPosTacletApp matchFind(PosInOccurrence pos, Constraint termConstraint, Services services, Constraint userConstraint, Term t)(Code)



posInOccurrence
public PosInOccurrence posInOccurrence()(Code)
returns the PositionInOccurrence (representing a ConstrainedFormula and a position in the corresponding formula) the PosInOccurrence



setAllInstantiations
protected TacletApp setAllInstantiations(MatchConditions mc, ListOfIfFormulaInstantiation ifInstantiations)(Code)
creates a new Taclet application containing all the instantiations, constraints, new metavariables and if formula instantiations given and forget the old ones



setInstantiation
protected TacletApp setInstantiation(SVInstantiations svi)(Code)
creates a new Taclet application containing all the instantiations given by the SVInstantiations and forget the ones in this TacletApp
Parameters:
  svi - the SVInstantiations whose entries are the neededinstantiations the new Taclet application



setMatchConditions
protected TacletApp setMatchConditions(MatchConditions mc)(Code)
creates a new Taclet application containing all the instantiations, constraints and new metavariables given by the mc object and forget the old ones



setupMatchConditions
protected MatchConditions setupMatchConditions(PosInOccurrence pos, Services services, Constraint userConstraint)(Code)



sufficientlyComplete
public boolean sufficientlyComplete()(Code)
true iff the taclet instantiation can be made completeusing metavariables



Fields inherited from de.uka.ilkd.key.rule.TacletApp
protected SetOfSchemaVariable fixedVars(Code)(Java Doc)
ListOfIfFormulaInstantiation ifInstantiations(Code)(Java Doc)
protected SVInstantiations instantiations(Code)(Java Doc)
protected Constraint matchConstraint(Code)(Java Doc)
protected SetOfMetavariable matchNewMetavariables(Code)(Java Doc)
protected boolean updateContextFixed(Code)(Java Doc)

Methods inherited from de.uka.ilkd.key.rule.TacletApp
public TacletApp addCheckedInstantiation(SchemaVariable sv, Term term, Services services, boolean interesting)(Code)(Java Doc)
public TacletApp addCheckedInstantiation(SchemaVariable sv, ProgramElement pe, Services services, boolean interesting)(Code)(Java Doc)
abstract public TacletApp addInstantiation(SchemaVariable sv, Term term, boolean interesting)(Code)(Java Doc)
abstract public TacletApp addInstantiation(SchemaVariable sv, Object[] list, boolean interesting)(Code)(Java Doc)
abstract public TacletApp addInstantiation(SchemaVariable sv, ProgramElement pe, boolean interesting)(Code)(Java Doc)
public TacletApp addInstantiation(SchemaVariable sv, Name name)(Code)(Java Doc)
abstract public TacletApp addInstantiation(SVInstantiations svi)(Code)(Java Doc)
public boolean admissible(boolean interactive, ListOfRuleSet ruleSets)(Code)(Java Doc)
protected static SetOfQuantifiableVariable boundAtOccurrenceSet(TacletPrefix prefix, SVInstantiations instantiations)(Code)(Java Doc)
protected static SetOfQuantifiableVariable boundAtOccurrenceSet(TacletPrefix prefix, SVInstantiations instantiations, PosInOccurrence pos)(Code)(Java Doc)
protected SetOfSchemaVariable calculateNeededNonInstantiatedSV()(Code)(Java Doc)
protected SetOfSchemaVariable calculateNonInstantiatedSV()(Code)(Java Doc)
protected boolean canUseMVAPosteriori(SchemaVariable p_var, Term p_term)(Code)(Java Doc)
public boolean canUseMVAPriori(SchemaVariable p_var)(Code)(Java Doc)
public static boolean checkVarCondNotFreeIn(Taclet taclet, SVInstantiations instantiations, PosInOccurrence pos)(Code)(Java Doc)
protected static SetOfQuantifiableVariable collectBoundVarsAbove(PosInOccurrence pos)(Code)(Java Doc)
abstract public boolean complete()(Code)(Java Doc)
public Constraint constraint()(Code)(Java Doc)
abstract protected SetOfQuantifiableVariable contextVars(SchemaVariable sv)(Code)(Java Doc)
public TacletApp createSkolemConstant(String instantiation, SchemaVariable sv, boolean interesting, Services services)(Code)(Java Doc)
public TacletApp createSkolemConstant(String instantiation, SchemaVariable sv, Sort sort, boolean interesting)(Code)(Java Doc)
public TacletApp createSkolemFunctions(Namespace p_func_ns, Services services)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public ListOfGoal execute(Goal goal, Services services)(Code)(Java Doc)
public Namespace extendVarNamespaceForSV(Namespace var_ns, SchemaVariable sv)(Code)(Java Doc)
public ListOfTacletApp findIfFormulaInstantiations(Sequent p_seq, Services p_services, Constraint p_userConstraint)(Code)(Java Doc)
public Sort getRealSort(SchemaVariable p_sv, Services services)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public ListOfIfFormulaInstantiation ifFormulaInstantiations()(Code)(Java Doc)
public boolean ifInstsComplete()(Code)(Java Doc)
protected static boolean ifInstsCorrectSize(Taclet p_taclet, ListOfIfFormulaInstantiation p_list)(Code)(Java Doc)
public TacletApp instantiateWithMV(Goal p_goal)(Code)(Java Doc)
public SVInstantiations instantiations()(Code)(Java Doc)
public boolean instsSufficientlyComplete()(Code)(Java Doc)
public boolean isDependingOnModifiesSV(SchemaVariable sv)(Code)(Java Doc)
public MatchConditions matchConditions()(Code)(Java Doc)
public SetOfSchemaVariable neededUninstantiatedVars()(Code)(Java Doc)
public SetOfMetavariable newMetavariables()(Code)(Java Doc)
abstract public PosInOccurrence posInOccurrence()(Code)(Java Doc)
public TacletApp prepareUserInstantiation()(Code)(Java Doc)
protected static SVInstantiations replaceInstantiation(Taclet taclet, SVInstantiations insts, SchemaVariable varSV)(Code)(Java Doc)
protected static SVInstantiations resolveCollisionVarSV(Taclet taclet, SVInstantiations insts)(Code)(Java Doc)
public Rule rule()(Code)(Java Doc)
abstract protected TacletApp setAllInstantiations(MatchConditions mc, ListOfIfFormulaInstantiation ifInstantiations)(Code)(Java Doc)
public TacletApp setIfFormulaInstantiations(ListOfIfFormulaInstantiation p_list, Services p_services, Constraint p_userConstraint)(Code)(Java Doc)
abstract protected TacletApp setInstantiation(SVInstantiations svi)(Code)(Java Doc)
abstract protected TacletApp setMatchConditions(MatchConditions mc)(Code)(Java Doc)
public PosTacletApp setPosInOccurrence(PosInOccurrence pos)(Code)(Java Doc)
abstract public boolean sufficientlyComplete()(Code)(Java Doc)
public Taclet taclet()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public TacletApp tryToInstantiate(Goal goal, Services services)(Code)(Java Doc)
public SetOfSchemaVariable uninstantiatedVars()(Code)(Java Doc)
public SchemaVariable varSVNameConflict()(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.