Avoid redefining getSpecificTargetClasses() in [Property|Index]Accessor

This commit is contained in:
Sam Brannen 2024-04-24 15:39:01 +03:00
parent 00da781c44
commit 461d7a82f6
2 changed files with 0 additions and 24 deletions

View File

@ -45,18 +45,6 @@ import org.springframework.lang.Nullable;
*/
public interface IndexAccessor extends TargetedAccessor {
/**
* Get the set of classes for which this index accessor should be called.
* <p>Returning {@code null} or an empty array indicates this is a generic
* index accessor that can be called in an attempt to access an index on any
* type.
* @return an array of classes that this index accessor is suitable for
* (or {@code null} or an empty array if a generic index accessor)
*/
@Override
@Nullable
Class<?>[] getSpecificTargetClasses();
/**
* Determine if this index accessor is able to read a specified index on a
* specified target object.

View File

@ -43,18 +43,6 @@ import org.springframework.lang.Nullable;
*/
public interface PropertyAccessor extends TargetedAccessor {
/**
* Get the set of classes for which this property accessor should be called.
* <p>Returning {@code null} or an empty array indicates this is a generic
* property accessor that can be called in an attempt to access a property on
* any type.
* @return an array of classes that this property accessor is suitable for
* (or {@code null} if a generic property accessor)
*/
@Override
@Nullable
Class<?>[] getSpecificTargetClasses();
/**
* Called to determine if this property accessor is able to read a specified
* property on a specified target object.