Class AjAttribute.AdviceAttribute
java.lang.Object
org.aspectj.weaver.AjAttribute
org.aspectj.weaver.AjAttribute.AdviceAttribute
- Enclosing class:
AjAttribute
- Author:
- Erik Hilsdale, Jim Hugunin
-
Nested Class Summary
Nested classes/interfaces inherited from class AjAttribute
AjAttribute.AdviceAttribute, AjAttribute.AjSynthetic, AjAttribute.Aspect, AjAttribute.DeclareAttribute, AjAttribute.EffectiveSignatureAttribute, AjAttribute.MethodDeclarationLineNumberAttribute, AjAttribute.PointcutDeclarationAttribute, AjAttribute.PrivilegedAttribute, AjAttribute.SourceContextAttribute, AjAttribute.TypeMunger, AjAttribute.WeaverState, AjAttribute.WeaverVersionInfoModifier and TypeClassDescriptionstatic classstatic classSynthetic members should have NO advice put on them or on their contents.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsFields inherited from class AjAttribute
AttributePrefix -
Constructor Summary
ConstructorsConstructorDescriptionAdviceAttribute(AdviceKind kind, Pointcut pointcut, int extraArgumentFlags, int start, int end, ISourceContext sourceContext) AdviceAttribute(AdviceKind kind, Pointcut pointcut, int extraArgumentFlags, int start, int end, ISourceContext sourceContext, boolean proceedInInners, ResolvedMember[] proceedCallSignatures, boolean[] formalsUnchangedToProceed, UnresolvedType[] declaredExceptions) -
Method Summary
Modifier and TypeMethodDescriptionintgetEnd()intboolean[]getKind()intgetStart()booleanstatic AjAttribute.AdviceAttributeread(VersionedDataInputStream s, ISourceContext context) reify(Member signature, World world, ResolvedType concreteAspect) toString()voidMethods inherited from class AjAttribute
getAllBytes, getBytes, getNameChars, readModifier and TypeMethodDescriptionbyte[]getAllBytes(short nameIndex, ConstantPoolWriter dataCompressor) Writes the full attribute, i.e.byte[]getBytes(ConstantPoolWriter compressor) Just writes the contentschar[]static AjAttributeread(AjAttribute.WeaverVersionInfo v, String name, byte[] bytes, ISourceContext context, World w, ConstantPoolReader dataDecompressor)
-
Field Details
-
AttributeName
- See Also:
-
-
Constructor Details
-
AdviceAttribute
public AdviceAttribute(AdviceKind kind, Pointcut pointcut, int extraArgumentFlags, int start, int end, ISourceContext sourceContext) - Parameters:
start- must be greater than the start of any advice declared before this one in an aspect, otherwise, it can be any value.
-
AdviceAttribute
public AdviceAttribute(AdviceKind kind, Pointcut pointcut, int extraArgumentFlags, int start, int end, ISourceContext sourceContext, boolean proceedInInners, ResolvedMember[] proceedCallSignatures, boolean[] formalsUnchangedToProceed, UnresolvedType[] declaredExceptions)
-
-
Method Details
-
getNameString
- Specified by:
getNameStringin classAjAttribute
-
read
public static AjAttribute.AdviceAttribute read(VersionedDataInputStream s, ISourceContext context) throws IOException - Throws:
IOException
-
write
- Specified by:
writein classAjAttribute- Throws:
IOException
-
reify
-
toString
-
getExtraParameterFlags
public int getExtraParameterFlags() -
getKind
-
getPointcut
-
getDeclaredExceptions
-
getFormalsUnchangedToProceed
public boolean[] getFormalsUnchangedToProceed() -
getProceedCallSignatures
-
isProceedInInners
public boolean isProceedInInners() -
getEnd
public int getEnd() -
getSourceContext
-
getStart
public int getStart()
-