Top Description Inners Fields Constructors Methods
org.aspectj.weaver

public abstract Class AjAttribute

extends Object
Class Inheritance
Known Direct Subclasses
org.aspectj.weaver.AjAttribute.AjSynthetic, org.aspectj.weaver.AjAttribute.TypeMunger, org.aspectj.weaver.AjAttribute.WeaverState, org.aspectj.weaver.AjAttribute.WeaverVersionInfo, org.aspectj.weaver.AjAttribute.SourceContextAttribute, org.aspectj.weaver.AjAttribute.MethodDeclarationLineNumberAttribute, org.aspectj.weaver.AjAttribute.PointcutDeclarationAttribute, org.aspectj.weaver.AjAttribute.DeclareAttribute, org.aspectj.weaver.AjAttribute.AdviceAttribute, org.aspectj.weaver.AjAttribute.Aspect, org.aspectj.weaver.AjAttribute.PrivilegedAttribute, org.aspectj.weaver.AjAttribute.EffectiveSignatureAttribute
Imports
java.io.ByteArrayInputStream, .ByteArrayOutputStream, .DataOutputStream, .EOFException, .IOException, org.aspectj.bridge.MessageUtil, .Version, org.aspectj.util.FileUtil, org.aspectj.weaver.patterns.Declare, .IScope, .PerClause, .Pointcut

These attributes are written to and read from .class files (see the JVM spec).

Each member or type can have a number of AjAttributes. Each such attribute is in 1-1 correspondence with an Unknown bcel attribute. Creating one of these does NOTHING to the underlying thing, so if you really want to add an attribute to a particular thing, well, you'd better actually do that.

Authors
Erik Hilsdale, Jim Hugunin

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
AjAttribute.AjSynthetic

Synthetic members should have NO advice put on them or on their contents.

public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public byte[]
getAllBytes(short nameIndex, ConstantPoolWriter dataCompressor)

Writes the full attribute, i.e. name_index, length, and contents

public byte[]
getBytes(ConstantPoolWriter compressor)

Just writes the contents

public char[]
public abstract String
public static AjAttribute
read(AjAttribute.WeaverVersionInfo v, String name, byte[] bytes, ISourceContext context, World w, ConstantPoolReader dataDecompressor)

protected abstract void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait