2010
DOI: 10.1145/1942788.1868320
|View full text |Cite
|
Sign up to set email alerts
|

JEqualityGen

Abstract: Manually implementing equals (for object comparisons) and hashCode (for object hashing) methods in large software projects is tedious and error-prone. This is due to many special cases, such as field shadowing, comparison between different types, or cyclic object graphs. Here, we present JEqualityGen, a source code generator that automatically derives implementations of these methods.JEqualityGen proceeds in two states: it first uses source code reflection in MetaAspectJ to generate aspects that contain the me… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
4
1

Citation Types

0
6
0

Year Published

2014
2014
2021
2021

Publication Types

Select...
3
1

Relationship

0
4

Authors

Journals

citations
Cited by 4 publications
(6 citation statements)
references
References 10 publications
0
6
0
Order By: Relevance
“…There are also several papers focused on object equality. In [24], the equals() method generator for complex objects is discussed. Deep equality is described recursively.…”
Section: B Exploration Of Object Internal Structurementioning
confidence: 99%
“…There are also several papers focused on object equality. In [24], the equals() method generator for complex objects is discussed. Deep equality is described recursively.…”
Section: B Exploration Of Object Internal Structurementioning
confidence: 99%
“…A generator of the equals() methods for complex objects is described in [16]. In this work, the objects are compared on per-field basis.…”
Section: B Object Equality Implementationmentioning
confidence: 99%
“…Depth-1 (shallow equality) means that, for all corresponding fields of two objects, the referential equality holds. The deep equality then means that, for all corresponding fields of two objects, the deep equality holds [16].…”
Section: B Object Equality Implementationmentioning
confidence: 99%
See 2 more Smart Citations