Sun SPOT API
Green Release  


com.sun.squawk
Class ClassFileField

java.lang.Object
  extended by com.sun.squawk.ClassFileMember
      extended by 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.

Author:
Doug Simon

Field Summary
static ClassFileField[] NO_FIELDS
          A zero-length array of ClassFileFields.
 
Constructor Summary
ClassFileField(String name, int modifiers, Klass type)
          Creates a new ClassFileField instance.
 
Method Summary
 Klass getType()
          Gets the type of this field.
 
Methods inherited from class com.sun.squawk.ClassFileMember
getFullyQualifiedName, getModifiers, getName, isStatic
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_FIELDS

public static final ClassFileField[] NO_FIELDS
A zero-length array of ClassFileFields.

Constructor Detail

ClassFileField

public ClassFileField(String name,
                      int modifiers,
                      Klass type)
Creates a new ClassFileField instance.

Parameters:
name - the name of the field
modifiers - the modifiers of the field
type - the type of the field
Method Detail

getType

public Klass getType()
Gets the type of this field.

Returns:
the type of this field

Sun SPOT API
Green Release  


Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.