2009
DOI: 10.1145/1462166.1462168
|View full text |Cite
|
Sign up to set email alerts
|

Expressive and modular predicate dispatch for Java

Abstract: Predicate dispatch is an object-oriented (OO) language mechanism for determining the method implementation to be invoked upon a message send. With predicate dispatch, each method implementation includes a predicate guard specifying the conditions under which the method should be invoked, and logical implication of predicates determines the method overriding relation. Predicate dispatch naturally unifies and generalizes several common forms of dynamic dispatch, including traditional OO dispatch, multimethod dis… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
9
0

Year Published

2011
2011
2015
2015

Publication Types

Select...
3
3
3

Relationship

0
9

Authors

Journals

citations
Cited by 18 publications
(9 citation statements)
references
References 46 publications
(47 reference statements)
0
9
0
Order By: Relevance
“…Furthermore, a set of methods with the same name typically needs a default implementation, which is called if none of the other methods is applicable, which is less safe than the checks in our approach, which do not need default implementations but can detect statically when no applicable function exists. Also, modular type checking of these approaches is quite hard [38,39]. On the other hand, these approaches are much more powerful with regard to expressing dynamic variability, which is not in the scope of this work.…”
Section: Related Workmentioning
confidence: 99%
“…Furthermore, a set of methods with the same name typically needs a default implementation, which is called if none of the other methods is applicable, which is less safe than the checks in our approach, which do not need default implementations but can detect statically when no applicable function exists. Also, modular type checking of these approaches is quite hard [38,39]. On the other hand, these approaches are much more powerful with regard to expressing dynamic variability, which is not in the scope of this work.…”
Section: Related Workmentioning
confidence: 99%
“…Predicate dispatching is modeled using one Specialization per predicate. A JPred when clause [MFRW09] then corresponds to the Specialization's predicate.…”
Section: Specializationmentioning
confidence: 99%
“…The programming languages community has proposed extending Java to enable the programmer to express patternmatching [15]- [17]. These extensions describe how program constructs are declared and how they can be extracted based on the specified patterns.…”
Section: B Pattern-matching Techniquesmentioning
confidence: 99%