com.almondtools.xrayinterface.FieldProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xrayinterface Show documentation
Show all versions of xrayinterface Show documentation
An application to get controlled access to private members of Java classes
package com.almondtools.xrayinterface;
public class FieldProperty {
private FieldSetter setter;
private FieldGetter getter;
public FieldProperty() {
}
public void setSetter(FieldSetter setter) {
this.setter = setter;
}
public void setGetter(FieldGetter getter) {
this.getter = getter;
}
public FieldSetter set() {
return setter;
}
public FieldGetter get() {
return getter;
}
public boolean isReadable() {
return getter != null;
}
public boolean isWritable() {
return setter != null;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy