diff --git a/src/de/inetsoftware/classparser/ClassFile.java b/src/de/inetsoftware/classparser/ClassFile.java index 367e441..4be443e 100644 --- a/src/de/inetsoftware/classparser/ClassFile.java +++ b/src/de/inetsoftware/classparser/ClassFile.java @@ -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