public void show(TreePath treePath) {
int constantPoolIndex = constantPoolIndex(treePath);
try {
ConstantReference entry = (ConstantReference)services.getClassFile().getConstantPoolEntry(constantPoolIndex, ConstantReference.class);
classElementOpener.setCPInfo(entry);
constantPoolHyperlink(lblClass,
lblClassVerbose,
entry.getClassIndex());
constantPoolHyperlink(lblNameAndType,
lblNameAndTypeVerbose,
entry.getNameAndTypeIndex());
} catch (InvalidByteCodeException ex) {
lblClassVerbose.setText(MESSAGE_INVALID_CONSTANT_POOL_ENTRY);
}