private static String findConverterType_InELTag(
final IStandardBeanTypeProxyFactory factory,
final IBeanTypeProxy classTypeProxy, final IProject project)
{
final BeanProxyWrapper classTypeWrapper = new BeanProxyWrapper(project,
classTypeProxy);
final IBeanTypeProxy elExpressionType = factory
.getBeanTypeProxy("javax.el.ValueExpression"); //$NON-NLS-1$
if (elExpressionType == null)
{
return null;
}
try
{
classTypeWrapper.init();
callSuppressExceptions(classTypeWrapper, "doStartTag"); //$NON-NLS-1$
// no? look for a CONVERTER_ID
final IBeanProxy converterId = getFieldInParents(classTypeWrapper,
classTypeProxy, "CONVERTER_ID_EXPR"); //$NON-NLS-1$
if (converterId != null)
{
converterId.getTypeProxy().isKindOf(elExpressionType);
final BeanProxyWrapper elExprValue = new BeanProxyWrapper(project,
converterId.getTypeProxy());
final String value = elExprValue
.callStringMethod("getExpressionString"); //$NON-NLS-1$
System.out.println("Expression string:" + value); //$NON-NLS-1$
}
//