-
public interface FieldInfoClass field information interface (see Class File Format specification)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intaccessFlags()Gets the field's access flags.java.util.List<Attribute>attributes()Gets the field's attributes.java.lang.Stringdescriptor()Gets the field's type descriptor.java.lang.Stringname()Gets the field's name.
-
-
-
Method Detail
-
accessFlags
int accessFlags()
Gets the field's access flags.- Returns:
- the field's access flags.
-
descriptor
java.lang.String descriptor() throws java.io.IOExceptionGets the field's type descriptor.- Returns:
- the field's type descriptor.
- Throws:
java.io.IOException- if the descriptor cannot be resolved.
-
name
java.lang.String name() throws java.io.IOExceptionGets the field's name.- Returns:
- the field's name.
- Throws:
java.io.IOException- if the name cannot be resolved.
-
attributes
java.util.List<Attribute> attributes()
Gets the field's attributes.- Returns:
- the field's attributes.
-
-