blob: b7fd630f85f045492d920ed1b008fe181fd5b572 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.core;
/**
* Handle representing a binary field that is parameterized.
* The uniqueKey contains the genericSignature of the parameterized field.
*/
public class ParameterizedBinaryField extends BinaryField {
public String uniqueKey;
/*
* See class comments.
*/
public ParameterizedBinaryField(JavaElement parent, String name, String uniqueKey) {
super(parent, name);
this.uniqueKey = uniqueKey;
}
/**
* @private Debugging purposes
*/
protected void toStringInfo(int tab, StringBuffer buffer, Object info) {
super.toStringInfo(tab, buffer, info);
buffer.append(" key="); //$NON-NLS-1$
buffer.append(uniqueKey);
}
}