com.github.paulosalonso.spel.builder.common.Group Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spel-builder Show documentation
Show all versions of spel-builder Show documentation
A facilitator for creating Spring expressions (SpEL).
The newest version!
package com.github.paulosalonso.spel.builder.common;
public abstract class Group extends Expression {
private Group() {}
public static Group group(Expression expression) {
return new Group() {
@Override
protected String getPrefix() {
return "(";
}
@Override
protected String getSuffix() {
return ")";
}
@Override
protected String getName() {
return expression.build();
}
};
}
}