public void show(TreePath treePath) {
int constantPoolIndex = constantPoolIndex(treePath);
try {
ConstantNameAndTypeInfo entry = (ConstantNameAndTypeInfo)services.getClassFile().getConstantPoolEntry(constantPoolIndex, ConstantNameAndTypeInfo.class);
constantPoolHyperlink(lblName,
lblNameVerbose,
entry.getNameIndex());
constantPoolHyperlink(lblDescriptor,
lblDescriptorVerbose,
entry.getDescriptorIndex());
} catch (InvalidByteCodeException ex) {
lblNameVerbose.setText(MESSAGE_INVALID_CONSTANT_POOL_ENTRY);
}