add getFields()

This commit is contained in:
Volker Berlin 2019-01-01 11:43:49 +01:00
parent 53e7f88d1c
commit 11b8dcb3be

View File

@ -161,6 +161,15 @@ public class ClassFile {
return null;
}
/**
* Get the fields of the class.
*
* @return the fields
*/
public FieldInfo[] getFields() {
return fields;
}
/**
* The access flags of the class.
* http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.1-200-E