File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
src/main/java/de/danielbechler/diff/identity Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 26
26
* Applies rules to subclasses / interface implementations.
27
27
*/
28
28
public interface IdentityConfigurer {
29
+ /**
30
+ * @param nodePath of the collection to attach to.
31
+ */
29
32
Of ofNode (NodePath nodePath );
30
33
31
- Of ofType (Class <?> type );
34
+ /**
35
+ * @param collectionElementType of the elements within the collection to attach to.
36
+ */
37
+ Of ofType (Class <?> collectionElementType );
32
38
39
+ /**
40
+ * @param type of the host class of the collection to attach to.
41
+ * @param propertyNames property name of the collection in the host class
42
+ */
33
43
Of ofTypeAndProperty (Class <?> type , String ... propertyNames );
34
44
35
45
ObjectDifferBuilder and ();
Original file line number Diff line number Diff line change @@ -111,8 +111,8 @@ public Of ofNode(final NodePath nodePath) {
111
111
return new OfNodePath (nodePath );
112
112
}
113
113
114
- public Of ofType (final Class <?> type ) {
115
- return new OfType (type );
114
+ public Of ofType (final Class <?> collectionElementType ) {
115
+ return new OfType (collectionElementType );
116
116
}
117
117
118
118
public Of ofTypeAndProperty (final Class <?> type ,
You can’t perform that action at this time.
0 commit comments