/* * Copyright (c) 2008 Declarative Engineering LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Declarative Engineering LLC * verson 1 which accompanies this distribution, and is available at * http://declarativeengineering.com/legal/DE_Developer_License_v1.txt */ package com.foundation.view.builder; import com.common.util.IList; import com.foundation.util.xml.IElement; public interface IClassMetadataLoader { /** * Locates the metadata for the method in either the defining type of one of the classes or interfaces it inherits from, and retrieves the result type. * @param definingType The class to start the search from. This class's super classes and interfaces will be recursively searched until a signature match is found. * @param methodName The name of the method. * @param methodSignature The signature of the method. This must be in class file format or it may be null if the method has no parameters. * @param feedbackStack The optional stack of feedback Message instances to use when generating errors and warnings. * @param debugElement The optional document element used to identify exactly where in the VML source the error occured. * @return The result class name. This will be in java source format (eg: java.lang.Object[] or int[][]). The result will never be null. */ public String getMethodReturnType(String definingType, String methodName, String methodSignature, IList feedbackStack, IElement debugElement) throws ClassNotFoundException; }//IClassMetadataLoader//