org.apache.bcel.generic
public final class ObjectType extends ReferenceType
Version: $Id: ObjectType.java 152690 2001-10-29 19:59:54Z jvanzyl $
Constructor Summary | |
---|---|
ObjectType(String class_name) |
Method Summary | |
---|---|
boolean | accessibleTo(ObjectType accessor)
Java Virtual Machine Specification edition 2, ' 5.4.4 Access Control |
boolean | equals(Object type) |
String | getClassName() |
int | hashCode() |
boolean | referencesClass()
If "this" doesn't reference a class, it references an interface
or a non-existant entity. |
boolean | referencesInterface()
If "this" doesn't reference an interface, it references a class
or a non-existant entity. |
boolean | subclassOf(ObjectType superclass) |
Parameters: class_name fully qualified class name, e.g. java.lang.String
Returns: true if both type objects refer to the same class.
Returns: name of referenced class
Returns: a hash code value for the object.