mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-22 08:07:42 +00:00
Merge remote-tracking branch 'origin/iris4' into iris4
This commit is contained in:
commit
f9d108dbb7
9 files changed
+245
-67
No files matched your search
@@ -54,6 +54,18 @@ public class WrappedField<C, T> {
|
||||
}
|
||||
}
|
||||
|
||||
public void set(T value) throws IllegalAccessException {
|
||||
set(null, value);
|
||||
}
|
||||
|
||||
public void set(C instance, T value) throws IllegalAccessException {
|
||||
if (field == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
field.set(instance, value);
|
||||
}
|
||||
|
||||
public boolean hasFailed() {
|
||||
return field == null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user