1 25 26 package org.netbeans.modules.classfile; 27 28 29 34 public final class CPClassInfo extends CPName { 35 CPClassInfo(ConstantPool pool,int index) { 36 super(pool, index); 37 } 38 39 public ClassName getClassName() { 40 String name = super.getName(); 41 return ClassName.getClassName(name); 42 } 43 44 public final int getTag() { 45 return ConstantPool.CONSTANT_Class; 46 } 47 48 public String toString() { 49 return getClassName().toString(); 50 } 51 } 52 | Popular Tags |