corda/classpath/java/lang/reflect/Method.java

24 lines
526 B
Java

package java.lang.reflect;
public class Method<T> extends AccessibleObject {
private byte vmFlags;
private byte parameterCount;
private short parameterFootprint;
private short flags;
private short offset;
private byte[] name;
private byte[] spec;
private Class<T> class_;
private Object code;
private Method() { }
public boolean isAccessible() {
return (vmFlags & Accessible) != 0;
}
public void setAccessible(boolean v) {
if (v) vmFlags |= Accessible; else vmFlags &= ~Accessible;
}
}