mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
22 lines
455 B
Java
22 lines
455 B
Java
package java.lang.reflect;
|
|
|
|
public class Field<T> extends AccessibleObject {
|
|
private byte vmFlags;
|
|
private byte code;
|
|
private short flags;
|
|
private short offset;
|
|
private byte[] name;
|
|
private byte[] spec;
|
|
private Class<T> class_;
|
|
|
|
private Field() { }
|
|
|
|
public boolean isAccessible() {
|
|
return (vmFlags & Accessible) != 0;
|
|
}
|
|
|
|
public void setAccessible(boolean v) {
|
|
if (v) vmFlags |= Accessible; else vmFlags &= ~Accessible;
|
|
}
|
|
}
|