com.sun.squawk
Class ClassFileField
java.lang.Object
com.sun.squawk.ClassFileMember
com.sun.squawk.ClassFileField
- Direct Known Subclasses:
- ClassFileConstantField
public class ClassFileField
- extends ClassFileMember
An instance of ClassFileField
encapsulates all the
symbolic information of a field declaration in a class file.
This class is provided for a subsystem (such as the translator) that
loads a class definition from a class file.
NO_FIELDS
public static final ClassFileField[] NO_FIELDS
- A zero-length array of
ClassFileField
s.
ClassFileField
public ClassFileField(String name,
int modifiers,
Klass type)
- Creates a new
ClassFileField
instance.
- Parameters:
name
- the name of the fieldmodifiers
- the modifiers of the fieldtype
- the type of the field
getType
public final Klass getType()
- Gets the type of this field.
- Returns:
- the type of this field
"For updated information see the Java FRC site"