/** * INTERNAL: Verify that getter returnType is an appropriate collection type for the indirection * policy. If it is incorrect, add an exception to the integrity checker. In this case, the type * MUST be a Vector (or, in the case of jdk1.2, Collection or Map). */ public void validateGetMethodReturnTypeForCollection(Class returnType, IntegrityChecker checker) throws DescriptorException { super.validateGetMethodReturnTypeForCollection(returnType, checker); if (!this.collectionTypeIsValid(returnType)) { checker.handleError(DescriptorException.getMethodReturnTypeNotValid(getCollectionMapping())); } }