com.sun.squawk
Class ClassFileConstantField
java.lang.Object
   com.sun.squawk.ClassFileMember
com.sun.squawk.ClassFileMember
       com.sun.squawk.ClassFileField
com.sun.squawk.ClassFileField
           com.sun.squawk.ClassFileConstantField
com.sun.squawk.ClassFileConstantField
- public final class ClassFileConstantField 
- extends ClassFileField
An instance of ClassFileConstantField encapsulates all the
 symbolic information of a field declaration in a class file that has a
 ConstantValue attribute.
 This class is provided for a subsystem (such as the translator) that
 loads a class definition from a class file.
 
 
| Constructor Summary | 
| ClassFileConstantField(String name,
                       int modifiers,
                       Klass type,
                       long constantValue)Creates a new
 ClassFileConstantFieldinstance for a field with a
 primitive ConstantValue attribute. | 
| ClassFileConstantField(String name,
                       int modifiers,
                       Klass type,
                       String constantValue)Creates a new
 ClassFileConstantFieldinstance for a field with a
 String ConstantValue attribute. | 
 
 
 
 
 
ClassFileConstantField
public ClassFileConstantField(String name,
                              int modifiers,
                              Klass type,
                              long constantValue)
- Creates a new ClassFileConstantFieldinstance for a field with a
 primitive ConstantValue attribute.
 
- Parameters:
- name- the name of the field
- modifiers- the modifiers of the field
- type- the type of the field
- constantValue- the primitive constant value (as a long)
 
ClassFileConstantField
public ClassFileConstantField(String name,
                              int modifiers,
                              Klass type,
                              String constantValue)
- Creates a new ClassFileConstantFieldinstance for a field with a
 String ConstantValue attribute.
 
- Parameters:
- name- the name of the field
- modifiers- the modifiers of the field
- type- the type of the field
- constantValue- the string constant value
 
"For updated information see the Java FRC site"