public static final String INCORRECT_NUMBER_OF_TYPE_ARGUMENTS = "incorrectNumberOfTypeArguments";
public static final String VIOLATES_TYPE_VARIABLE_BOUNDS = "violatesTypeVariableBounds";
public static final String NO_STATIC_INIT_JPS_FOR_PARAMETERIZED_TYPES = "noStaticInitJPsForParameterizedTypes";
+ public static final String NOT_A_GENERIC_TYPE="notAGenericType";
public static String format(String key) {
return bundle.getString(key);
return MessageFormat.format(bundle.getString(key),new Object[] {insert1, insert2, insert3});
}
+ public static String format(String key, Object insert1, Object insert2, Object insert3, Object insert4) {
+ return MessageFormat.format(bundle.getString(key),new Object[] {insert1, insert2, insert3, insert4});
+ }
+
}
# Generics
cantDecpMultipleParameterizations=Cannot declare parent {0} onto type {1} since it already has {2} in its hierarchy
noParameterizedTypePatternInHandler=a parameterized type pattern may not be used in a handler pointcut expression
-incorrectNumberOfTypeArguments=Wrong number of type arguments; Type {0} requires {1}
-violatesTypeVariableBounds=Type {0} does not meet the specification for type parameter {1} in generic type {2}
+incorrectNumberOfTypeArguments=Type pattern does not match because the wrong number of type parameters are specified: Type {0} requires {1} parameter(s)
+violatesTypeVariableBounds=Type {0} does not meet the specification for type parameter {1} ({2}) in generic type {3}
+notAGenericType=Type pattern does not match because {0} is not a generic type
noStaticInitJPsForParameterizedTypes=no static initialization join points for parameterized types, use generic or raw type instead
\ No newline at end of file