| Constructor and Description |
|---|
FieldInfo(Java.Modifiers modifiers,
short nameIndex,
short descriptorIndex,
List<ClassFile.AttributeInfo> attributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(ClassFile.AttributeInfo attribute)
Adds the given
attribute to this field. |
Java.Annotation[] |
getAnnotations() |
ClassFile.AttributeInfo[] |
getAttributes() |
String |
getDescriptor(ClassFile classFile) |
short |
getModifierFlags() |
String |
getName(ClassFile classFile) |
void |
store(DataOutputStream dos)
Writes this object to a
DataOutputStream, in the format described inJVMS7 4.5. |
public FieldInfo(Java.Modifiers modifiers, short nameIndex, short descriptorIndex, List<ClassFile.AttributeInfo> attributes)
public short getModifierFlags()
Modpublic Java.Annotation[] getAnnotations()
public String getDescriptor(ClassFile classFile)
public ClassFile.AttributeInfo[] getAttributes()
public void addAttribute(ClassFile.AttributeInfo attribute)
attribute to this field.public void store(DataOutputStream dos) throws IOException
DataOutputStream, in the format described inJVMS7 4.5.IOExceptionCopyright © 2001–2025. All rights reserved.