mirror of
https://github.com/corda/corda.git
synced 2025-06-14 13:18:18 +00:00
Added Class.getGenericSuperclass() and improved Member subclasses. Fixed Makefile on OS X
This commit is contained in:
@ -17,7 +17,7 @@ import avian.Classes;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
|
||||
public class Field<T> extends AccessibleObject {
|
||||
public class Field<T> extends AccessibleObject implements Member {
|
||||
private static final int VoidField = 0;
|
||||
private static final int ByteField = 1;
|
||||
private static final int CharField = 2;
|
||||
@ -51,6 +51,10 @@ public class Field<T> extends AccessibleObject {
|
||||
public int getModifiers() {
|
||||
return vmField.flags;
|
||||
}
|
||||
|
||||
public boolean isSynthetic() {
|
||||
return (vmField.flags & ACC_SYNTHETIC) != 0;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return getName(vmField);
|
||||
|
Reference in New Issue
Block a user