final LogicalPath logicalPath = PhysicalTypeIdentifier
.getPath(javaTypeDetails.getDeclaredByMetadataId());
final String finderMetadataKey = FinderMetadata.createIdentifier(
formBackingType, logicalPath);
registerDependency(finderMetadataKey, metadataIdentificationString);
final FinderMetadata finderMetadata = (FinderMetadata) metadataService
.get(finderMetadataKey);
if (finderMetadata == null) {
return null;
}
final SortedSet<FinderMetadataDetails> finderMetadataDetails = new TreeSet<FinderMetadataDetails>();
for (final MethodMetadata method : finderMetadata
.getAllDynamicFinders()) {
final List<JavaSymbolName> parameterNames = method
.getParameterNames();
final List<JavaType> parameterTypes = AnnotatedJavaType
.convertFromAnnotatedJavaTypes(method.getParameterTypes());