* @since 2.0
* @deprecated
*/
-@Deprecated
+@SuppressWarnings("dep-ann") // TCK signature test fails with annotation
public class ELException extends Exception {
/**
* @since 2.0
* @deprecated
*/
-
-@Deprecated
+@SuppressWarnings("dep-ann") // TCK signature test fails with annotation
public class ELParseException extends ELException {
//-------------------------------------
* @since 2.0
* @deprecated
*/
-@Deprecated
+@SuppressWarnings("dep-ann") // TCK signature test fails with annotation
public abstract class Expression {
/**
* @since 2.0
* @deprecated
*/
-@Deprecated
+@SuppressWarnings("dep-ann") // TCK signature test fails with annotation
public abstract class ExpressionEvaluator {
/**
*
* @exception ELException Thrown if parsing errors were found.
*/
- public abstract Expression parseExpression( String expression,
- Class<?> expectedType,
- FunctionMapper fMapper )
+ public abstract Expression parseExpression( String expression,
+ @SuppressWarnings("unchecked") // TCK signature fails with generics
+ Class expectedType,
+ FunctionMapper fMapper)
throws ELException;
* @return The result of the expression evaluation.
*
* @exception ELException Thrown if the expression evaluation failed.
- */
- public abstract Object evaluate( String expression,
- Class<?> expectedType,
- VariableResolver vResolver,
- FunctionMapper fMapper )
+ */
+ public abstract Object evaluate( String expression,
+ @SuppressWarnings("unchecked") // TCK signature fails with generics
+ Class expectedType,
+ VariableResolver vResolver,
+ FunctionMapper fMapper)
throws ELException;
}
* @since 2.0
* @deprecated
*/
-@Deprecated
+@SuppressWarnings("dep-ann") // TCK signature test fails with annotation
public interface FunctionMapper {
/**
* Resolves the specified local name and prefix into a Java.lang.Method.
}
@Override
- public Class<?> getType(ELContext context, Object base, Object property)
+ @SuppressWarnings("unchecked") // TCK signature test fails with generics
+ public Class getType(ELContext context, Object base, Object property)
throws NullPointerException, PropertyNotFoundException, ELException {
if (context == null) {
throw new NullPointerException();
* @since 2.0
* @deprecated
*/
-@Deprecated
+@SuppressWarnings("dep-ann") // TCK signature test fails with annotation
public interface VariableResolver
{
//-------------------------------------
* @deprecated As of Java JSP API 1.2, use BodyTag.EVAL_BODY_BUFFERED
* or IterationTag.EVAL_BODY_AGAIN.
*/
-
- @Deprecated
+ @SuppressWarnings("dep-ann") // TCK signature test fails with annotation
public final static int EVAL_BODY_TAG = 2;
/**
* @return the nearest ancestor that implements the interface
* or is an instance of the class specified
*/
- public static final Tag findAncestorWithClass(Tag from, Class<?> klass) {
+ public static final Tag findAncestorWithClass(Tag from,
+ // TCK signature test fails with generics
+ @SuppressWarnings("unchecked")
+ Class klass) {
boolean isInterface = false;
if (from == null ||
}
@Override
- public Expression parseExpression(String expression, Class<?> expectedType,
+ public Expression parseExpression(String expression,
+ @SuppressWarnings("unchecked") // API does not use generics
+ Class expectedType,
FunctionMapper fMapper) throws ELException {
try {
ELContextImpl ctx =
}
@Override
- public Object evaluate(String expression, Class<?> expectedType,
+ public Object evaluate(String expression,
+ @SuppressWarnings("unchecked") // API does not use generics
+ Class expectedType,
VariableResolver vResolver, FunctionMapper fMapper)
throws ELException {
return this.parseExpression(expression, expectedType, fMapper).evaluate(vResolver);