The Spring Expression Language (SpEL) is a simple and powerful expression language
which helps to query and manipulate objects at runtime.
The following example shows accessing java types such as class, interface and enums using SpEL.
The T operator is used to get a reference to specified type.
ExpressionParser parser = new SpelExpressionParser();
Class clazz = parser.parseExpression("T(Integer)").getValue(Class.class);
System.out.println(clazz);