org.aspectj.org.eclipse.jdt.internal.compiler.IAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aspectjtools Show documentation
Show all versions of aspectjtools Show documentation
Tools from the AspectJ project
/*******************************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC)
* 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, available at http://www.eclipse.org/legal/cpl-v1.0.html
*
* Contributors:
* PARC - initial API and implementation
******************************************************************************/
package org.aspectj.org.eclipse.jdt.internal.compiler;
import org.aspectj.org.eclipse.jdt.internal.compiler.codegen.ConstantPool;
// AspectJ Extension
/**
* Represents an Attribute for a Java .class file.
*/
public interface IAttribute {
/**
* Returns the name of the attribute.
*/
char[] getNameChars();
/**
* @param nameIndex the index into this class's constant pool for this attribute's name.
* @param constantPool
*
* @return all of the bytes to represent this attribute in the .class file.
*/
byte[] getAllBytes(short nameIndex, ConstantPool constantPool);
}