mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-24 00:14:48 +01:00
chore: added (restored?) setType with Class object to FieldProxy
This commit is contained in:
parent
b8cd398fd5
commit
f2303ce943
1 changed files with 9 additions and 0 deletions
|
@ -86,6 +86,15 @@ public class FieldProxy extends AbstractProxy {
|
|||
return this.setParent(parentFQN, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param clazz the {@link Class} corresponding to the element
|
||||
* @return the current state of the builder
|
||||
*/
|
||||
public Builder setType(Class<?> clazz) {
|
||||
super.setType(Type.getType(clazz));
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds a {@link FieldProxy} of the given kind.
|
||||
* @return the built {@link FieldProxy}
|
||||
|
|
Loading…
Reference in a new issue