mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-27 21:01:15 +08:00
added getLength
This commit is contained in:
parent
2eed073bb0
commit
2b649d93d9
@ -147,6 +147,11 @@ public abstract class SerializerBase<S extends SerializerBase<S>> implements Vis
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
public S insert(int position, String str) {
|
||||
builder.insert(position, str);
|
||||
return self;
|
||||
}
|
||||
|
||||
public S append(String... str) {
|
||||
if (!dry) {
|
||||
@ -164,6 +169,10 @@ public abstract class SerializerBase<S extends SerializerBase<S>> implements Vis
|
||||
public Map<Object,String> getConstantToLabel() {
|
||||
return constantToLabel;
|
||||
}
|
||||
|
||||
public int getLength() {
|
||||
return builder.length();
|
||||
}
|
||||
|
||||
protected Template getTemplate(Operator<?> op) {
|
||||
return templates.getTemplate(op);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user