public class Field extends ProgramElement
Modifier and Type | Field and Description |
---|---|
static short |
ACC_ENUM |
static short |
ACC_FINAL |
static short |
ACC_PRIVATE |
static short |
ACC_PROTECTED |
static short |
ACC_PUBLIC |
static short |
ACC_STATIC |
static short |
ACC_SYNTHETIC |
static short |
ACC_TRANSIENT |
static short |
ACC_VOLATILE |
access_flags, attributes, config, constantPool
Constructor and Description |
---|
Field(ConstantPool cp,
short access_flags,
String name,
String descriptor,
LinkedList<Attribute> attributes) |
Modifier and Type | Method and Description |
---|---|
String |
getDescriptor()
Get the descriptor of this Field from the constant pool
|
String |
getName()
Get the name of this Field
|
String |
toString() |
getAccessFlags, getAttribute, getAttributes, getConstantPool, readAttributes, writeAttributes
public static final short ACC_PUBLIC
public static final short ACC_PRIVATE
public static final short ACC_PROTECTED
public static final short ACC_STATIC
public static final short ACC_FINAL
public static final short ACC_VOLATILE
public static final short ACC_TRANSIENT
public static final short ACC_SYNTHETIC
public static final short ACC_ENUM
public Field(ConstantPool cp, short access_flags, String name, String descriptor, LinkedList<Attribute> attributes)
Copyright © 2017. All rights reserved.