blob: cf8d2d9b068815d9dc569c225c6d64dd1a653ea4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 2006 Oracle Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Oracle Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.jsf.validation.internal.el;
import java.util.List;
import org.eclipse.jst.jsf.common.internal.types.SignatureBasedType;
/**
* Exposes certain parts of the ASTSemanticValidator without exposing the whole class
* Primarily this was done for JUnit testing
*
* @author cbateman
*
*/
public interface IExpressionSemanticValidator {
/**
* Performs the semantic validatino
*/
public abstract void validate();
/**
* @return the list of generated message (may be empty if validate has not been called).
*/
public abstract List getMessages();
/**
* @return the value type of fully resolved expression
* or null if not resolved (or could not be resolved)
*/
public abstract SignatureBasedType getExpressionType();
}