IDE-1561 liferay maven project with custom jsps validation

Do we need to override this method here?  can we not use the one defined in the other class?