edu.rit.classfile
Class NamedFieldReference

java.lang.Object
  extended by edu.rit.classfile.FieldReference
      extended by edu.rit.classfile.NamedFieldReference

public class NamedFieldReference
extends FieldReference

Class NamedFieldReference is used to create a field reference given the field's class, name, and type.


Constructor Summary
NamedFieldReference(ClassReference theClassReference, String theFieldName, TypeReference theFieldType)
          Construct a new named field reference object.
 
Method Summary
 
Methods inherited from class edu.rit.classfile.FieldReference
equals, getClassReference, getFieldDescriptor, getFieldName, getFieldType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedFieldReference

public NamedFieldReference(ClassReference theClassReference,
                           String theFieldName,
                           TypeReference theFieldType)
Construct a new named field reference object.

Parameters:
theClassReference - Class containing this field.
theFieldName - Field's name.
theFieldType - Field's type.
Throws:
NullPointerException - (unchecked exception) Thrown if any argument is null.
IllegalArgumentException - (unchecked exception) Thrown if theFieldName is zero length.


Copyright © 2001-2006 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.