1
1
/*
2
- * Copyright 2002-2017 the original author or authors.
2
+ * Copyright 2002-2019 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
20
20
21
21
/**
22
22
* A property accessor is able to read from (and possibly write to) an object's properties.
23
- * This interface places no restrictions, and so implementors are free to access properties
23
+ *
24
+ * <p>This interface places no restrictions, and so implementors are free to access properties
24
25
* directly as fields or through getters or in any other way they see as appropriate.
25
26
*
26
27
* <p>A resolver can optionally specify an array of target classes for which it should be
27
28
* called. However, if it returns {@code null} from {@link #getSpecificTargetClasses()},
28
29
* it will be called for all property references and given a chance to determine if it
29
30
* can read or write them.
30
31
*
31
- * <p>Property resolvers are considered to be ordered and each will be called in turn.
32
- * The only rule that affects the call order is that any naming the target class directly
33
- * in {@link #getSpecificTargetClasses()} will be called first, before the general resolvers.
32
+ * <p>Property resolvers are considered to be ordered, and each will be called in turn.
33
+ * The only rule that affects the call order is that any resolver naming the target
34
+ * class directly in {@link #getSpecificTargetClasses()} will be called first, before
35
+ * the general resolvers.
34
36
*
35
37
* @author Andy Clement
36
38
* @since 3.0
@@ -39,7 +41,7 @@ public interface PropertyAccessor {
39
41
40
42
/**
41
43
* Return an array of classes for which this resolver should be called.
42
- * <p>> Returning {@code null} indicates this is a general resolver that
44
+ * <p>Returning {@code null} indicates this is a general resolver that
43
45
* can be called in an attempt to resolve a property on any type.
44
46
* @return an array of classes that this resolver is suitable for
45
47
* (or {@code null} if a general resolver)
0 commit comments