| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | Returns: true if both type objects refer to the same class.the reference object with which to compare. type)Overrides java. |
| public String | |
| public int | Returns: a hash code value for the object.Overrides java. |
| public boolean | referencesClass()
If "this" doesn't reference a class, it references an interface or a non-existant entity. |
| public boolean | referencesInterface()
If "this" doesn't reference an interface, it references a class or a non-existant entity. |
| public boolean | |
| private static String |
| classname | back to summary |
|---|---|
| private String classname | |
| ObjectType | back to summary |
|---|---|
public ObjectType(String class_name)
| |
| ObjectType | back to summary |
|---|---|
| public ObjectType(String classname, String signature) | |
| accessibleTo | back to summary |
|---|---|
| public boolean accessibleTo(ObjectType accessor) Java Virtual Machine Specification edition 2, 5.4.4 Access Control | |
| equals | back to summary |
|---|---|
| public boolean equals(Object type) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getClassName | back to summary |
|---|---|
public String getClassName()
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| referencesClass | back to summary |
|---|---|
| public boolean referencesClass() If "this" doesn't reference a class, it references an interface or a non-existant entity. | |
| referencesInterface | back to summary |
|---|---|
| public boolean referencesInterface() If "this" doesn't reference an interface, it references a class or a non-existant entity. | |
| subclassOf | back to summary |
|---|---|
| public boolean subclassOf(ObjectType superclass) | |
| toSignature | back to summary |
|---|---|
| private static String toSignature(String classname) | |