edu.rit.classfile
Class ArrayOrClassReference

java.lang.Object
  extended by edu.rit.classfile.TypeReference
      extended by edu.rit.classfile.ArrayOrClassReference
Direct Known Subclasses:
ArrayReference, ClassReference

public abstract class ArrayOrClassReference
extends TypeReference

Class ArrayOrClassReference is the abstract superclass used to refer to an array type or a class type. In the JVM, a reference value is used to represent an object that is an instance of an array type or a class type.


Method Summary
 String getClassInternalName()
          Returns the referenced array's or class's internal name.
 
Methods inherited from class edu.rit.classfile.TypeReference
equals, getTypeDescriptor, getWordCount, hashCode, read, toString, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getClassInternalName

public String getClassInternalName()
Returns the referenced array's or class's internal name. The internal name of a class uses slashes, for example: "com/foo/Bar". The internal name of an array is the same as the array's type descriptor, for example: [[I.



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