@@ -29,8 +29,6 @@ public interface PersistentPropertyPath<P extends PersistentProperty<P>> extends
29
29
30
30
/**
31
31
* Returns the dot based path notation using {@link PersistentProperty#getName()}.
32
- *
33
- * @return
34
32
*/
35
33
@ Nullable
36
34
String toDotPath ();
@@ -40,7 +38,6 @@ public interface PersistentPropertyPath<P extends PersistentProperty<P>> extends
40
38
* {@link PersistentProperty}s to path segments.
41
39
*
42
40
* @param converter must not be {@literal null}.
43
- * @return
44
41
*/
45
42
@ Nullable
46
43
String toDotPath (Converter <? super P , String > converter );
@@ -49,7 +46,6 @@ public interface PersistentPropertyPath<P extends PersistentProperty<P>> extends
49
46
* Returns a {@link String} path with the given delimiter based on the {@link PersistentProperty#getName()}.
50
47
*
51
48
* @param delimiter must not be {@literal null}.
52
- * @return
53
49
*/
54
50
@ Nullable
55
51
String toPath (String delimiter );
@@ -60,7 +56,6 @@ public interface PersistentPropertyPath<P extends PersistentProperty<P>> extends
60
56
*
61
57
* @param delimiter must not be {@literal null}.
62
58
* @param converter must not be {@literal null}.
63
- * @return
64
59
*/
65
60
@ Nullable
66
61
String toPath (String delimiter , Converter <? super P , String > converter );
@@ -70,7 +65,6 @@ public interface PersistentPropertyPath<P extends PersistentProperty<P>> extends
70
65
* {@link PersistentProperty} for {@code bar}. For a simple {@code foo} it returns {@link PersistentProperty} for
71
66
* {@code foo}.
72
67
*
73
- * @return
74
68
*/
75
69
@ Nullable
76
70
P getLeafProperty ();
@@ -90,44 +84,36 @@ default P getRequiredLeafProperty() {
90
84
* Returns the first property in the {@link PersistentPropertyPath}. So for {@code foo.bar} it will return the
91
85
* {@link PersistentProperty} for {@code foo}. For a simple {@code foo} it returns {@link PersistentProperty} for
92
86
* {@code foo}.
93
- *
94
- * @return
95
87
*/
96
88
@ Nullable
97
89
P getBaseProperty ();
98
90
99
91
/**
100
92
* Returns whether the given {@link PersistentPropertyPath} is a base path of the current one. This means that the
101
- * current {@link PersistentPropertyPath} is basically an extension of the given one .
93
+ * given {@link PersistentPropertyPath} is basically an extension of this {@link PersistentPropertyPath} .
102
94
*
103
95
* @param path must not be {@literal null}.
104
- * @return
105
96
*/
106
97
boolean isBasePathOf (PersistentPropertyPath <P > path );
107
98
108
99
/**
109
100
* Returns the sub-path of the current one as if it was based on the given base path. So for a current path
110
101
* {@code foo.bar} and a given base {@code foo} it would return {@code bar}. If the given path is not a base of the
111
- * the current one the current {@link PersistentPropertyPath} will be returned as is.
102
+ * current one the current {@link PersistentPropertyPath} will be returned as is.
112
103
*
113
104
* @param base must not be {@literal null}.
114
- * @return
115
105
*/
116
106
PersistentPropertyPath <P > getExtensionForBaseOf (PersistentPropertyPath <P > base );
117
107
118
108
/**
119
109
* Returns the parent path of the current {@link PersistentPropertyPath}, i.e. the path without the leaf property.
120
110
* This happens up to the base property. So for a direct property reference calling this method will result in
121
111
* returning the property.
122
- *
123
- * @return
124
112
*/
125
113
PersistentPropertyPath <P > getParentPath ();
126
114
127
115
/**
128
116
* Returns the length of the {@link PersistentPropertyPath}.
129
- *
130
- * @return
131
117
*/
132
118
int getLength ();
133
119
}
0 commit comments