Class PrivilegedAccessMunger

java.lang.Object
org.aspectj.weaver.ResolvedTypeMunger
org.aspectj.weaver.PrivilegedAccessMunger
Direct Known Subclasses:
ExposeTypeMunger

public class PrivilegedAccessMunger extends ResolvedTypeMunger
A privileged access munger is for handling privileged access to a member. It determines the names of the getter/setter that will be used to access a private field in some type, or the special method that provides access to a private method. There are two syntax styles for field access, the older style was in use up to AspectJ 1.6.9 and involves long named getters and setters which include the requesting aspect and the target type. The short style syntax is use from AspectJ 1.6.9 onwards is simply 'ajc$get$<fieldname>' and 'ajc$set$<fieldname>' - as the requesting aspect isn't included in the name they can be shared across aspects.