mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
24 lines
526 B
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;
|
|
}
|
|
}
|