summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java')
-rw-r--r--src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java b/src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java
index ceb8277..61952b6 100644
--- a/src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java
+++ b/src/main/java/ftbsc/lll/proxies/impl/FieldProxy.java
@@ -87,6 +87,15 @@ public class FieldProxy extends AbstractProxy {
}
/**
+ * @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}
*/