00001 package de.fub.bytecode.generic;
00002
00003
00004
00005
00006
00007
00008
00009 public final class ObjectType extends ReferenceType {
00010 private String class_name;
00011
00012
00013
00014
00015 public ObjectType(String class_name) {
00016 super(T_REFERENCE, "L" + class_name.replace('.', '/') + ";");
00017 this.class_name = class_name;
00018 }
00019 public boolean equals(Object type) {
00020 return (type instanceof ObjectType)?
00021 ((ObjectType)type).class_name.equals(class_name) : false;
00022 }
00023
00024
00025
00026 public String getClassName() { return class_name; }
00027 }