public final class Factory
extends java.lang.Object
Constructor and Description |
---|
Factory(java.lang.String filename,
java.lang.Class lexicalClass) |
Modifier and Type | Method and Description |
---|---|
AdviceSignature |
makeAdviceSig(int modifiers,
java.lang.String name,
java.lang.Class declaringType,
java.lang.Class[] parameterTypes,
java.lang.String[] parameterNames,
java.lang.Class[] exceptionTypes,
java.lang.Class returnType) |
AdviceSignature |
makeAdviceSig(java.lang.String stringRep) |
AdviceSignature |
makeAdviceSig(java.lang.String modifiers,
java.lang.String name,
java.lang.String declaringType,
java.lang.String paramTypes,
java.lang.String paramNames,
java.lang.String exceptionTypes,
java.lang.String returnType) |
CatchClauseSignature |
makeCatchClauseSig(java.lang.Class declaringType,
java.lang.Class parameterType,
java.lang.String parameterName) |
CatchClauseSignature |
makeCatchClauseSig(java.lang.String stringRep) |
CatchClauseSignature |
makeCatchClauseSig(java.lang.String declaringType,
java.lang.String parameterType,
java.lang.String parameterName) |
ConstructorSignature |
makeConstructorSig(int modifiers,
java.lang.Class declaringType,
java.lang.Class[] parameterTypes,
java.lang.String[] parameterNames,
java.lang.Class[] exceptionTypes) |
ConstructorSignature |
makeConstructorSig(java.lang.String stringRep) |
ConstructorSignature |
makeConstructorSig(java.lang.String modifiers,
java.lang.String declaringType,
java.lang.String paramTypes,
java.lang.String paramNames,
java.lang.String exceptionTypes) |
static JoinPoint.StaticPart |
makeEncSJP(java.lang.reflect.Member member) |
JoinPoint.EnclosingStaticPart |
makeESJP(java.lang.String kind,
Signature sig,
int l) |
JoinPoint.EnclosingStaticPart |
makeESJP(java.lang.String kind,
Signature sig,
int l,
int c) |
JoinPoint.EnclosingStaticPart |
makeESJP(java.lang.String kind,
Signature sig,
SourceLocation loc) |
FieldSignature |
makeFieldSig(int modifiers,
java.lang.String name,
java.lang.Class declaringType,
java.lang.Class fieldType) |
FieldSignature |
makeFieldSig(java.lang.String stringRep) |
FieldSignature |
makeFieldSig(java.lang.String modifiers,
java.lang.String name,
java.lang.String declaringType,
java.lang.String fieldType) |
InitializerSignature |
makeInitializerSig(int modifiers,
java.lang.Class declaringType) |
InitializerSignature |
makeInitializerSig(java.lang.String stringRep) |
InitializerSignature |
makeInitializerSig(java.lang.String modifiers,
java.lang.String declaringType) |
static JoinPoint |
makeJP(JoinPoint.StaticPart staticPart,
java.lang.Object _this,
java.lang.Object target) |
static JoinPoint |
makeJP(JoinPoint.StaticPart staticPart,
java.lang.Object _this,
java.lang.Object target,
java.lang.Object arg0) |
static JoinPoint |
makeJP(JoinPoint.StaticPart staticPart,
java.lang.Object _this,
java.lang.Object target,
java.lang.Object[] args) |
static JoinPoint |
makeJP(JoinPoint.StaticPart staticPart,
java.lang.Object _this,
java.lang.Object target,
java.lang.Object arg0,
java.lang.Object arg1) |
LockSignature |
makeLockSig() |
LockSignature |
makeLockSig(java.lang.Class declaringType) |
LockSignature |
makeLockSig(java.lang.String stringRep) |
MethodSignature |
makeMethodSig(int modifiers,
java.lang.String name,
java.lang.Class declaringType,
java.lang.Class[] parameterTypes,
java.lang.String[] parameterNames,
java.lang.Class[] exceptionTypes,
java.lang.Class returnType) |
MethodSignature |
makeMethodSig(java.lang.String stringRep) |
MethodSignature |
makeMethodSig(java.lang.String modifiers,
java.lang.String methodName,
java.lang.String declaringType,
java.lang.String paramTypes,
java.lang.String paramNames,
java.lang.String exceptionTypes,
java.lang.String returnType) |
JoinPoint.StaticPart |
makeSJP(java.lang.String kind,
Signature sig,
int l) |
JoinPoint.StaticPart |
makeSJP(java.lang.String kind,
Signature sig,
int l,
int c) |
JoinPoint.StaticPart |
makeSJP(java.lang.String kind,
Signature sig,
SourceLocation loc) |
JoinPoint.StaticPart |
makeSJP(java.lang.String kind,
java.lang.String modifiers,
java.lang.String methodName,
java.lang.String declaringType,
java.lang.String paramTypes,
java.lang.String paramNames,
java.lang.String returnType,
int l)
Create a signature and build a JoinPoint in one step.
|
JoinPoint.StaticPart |
makeSJP(java.lang.String kind,
java.lang.String modifiers,
java.lang.String methodName,
java.lang.String declaringType,
java.lang.String paramTypes,
java.lang.String paramNames,
java.lang.String exceptionTypes,
java.lang.String returnType,
int l)
Create a signature and build a JoinPoint in one step.
|
SourceLocation |
makeSourceLoc(int line,
int col) |
UnlockSignature |
makeUnlockSig() |
UnlockSignature |
makeUnlockSig(java.lang.Class declaringType) |
UnlockSignature |
makeUnlockSig(java.lang.String stringRep) |
public JoinPoint.StaticPart makeSJP(java.lang.String kind, java.lang.String modifiers, java.lang.String methodName, java.lang.String declaringType, java.lang.String paramTypes, java.lang.String paramNames, java.lang.String exceptionTypes, java.lang.String returnType, int l)
public JoinPoint.StaticPart makeSJP(java.lang.String kind, java.lang.String modifiers, java.lang.String methodName, java.lang.String declaringType, java.lang.String paramTypes, java.lang.String paramNames, java.lang.String returnType, int l)
This method differs from the previous one in that it includes no exceptionTypes parameter - it is an optimization for the case where there are no exceptions. The generated code won't build an empty string and will not pass it into here.
public JoinPoint.StaticPart makeSJP(java.lang.String kind, Signature sig, SourceLocation loc)
public JoinPoint.StaticPart makeSJP(java.lang.String kind, Signature sig, int l, int c)
public JoinPoint.StaticPart makeSJP(java.lang.String kind, Signature sig, int l)
public JoinPoint.EnclosingStaticPart makeESJP(java.lang.String kind, Signature sig, SourceLocation loc)
public JoinPoint.EnclosingStaticPart makeESJP(java.lang.String kind, Signature sig, int l, int c)
public JoinPoint.EnclosingStaticPart makeESJP(java.lang.String kind, Signature sig, int l)
public static JoinPoint.StaticPart makeEncSJP(java.lang.reflect.Member member)
public static JoinPoint makeJP(JoinPoint.StaticPart staticPart, java.lang.Object _this, java.lang.Object target)
public static JoinPoint makeJP(JoinPoint.StaticPart staticPart, java.lang.Object _this, java.lang.Object target, java.lang.Object arg0)
public static JoinPoint makeJP(JoinPoint.StaticPart staticPart, java.lang.Object _this, java.lang.Object target, java.lang.Object arg0, java.lang.Object arg1)
public static JoinPoint makeJP(JoinPoint.StaticPart staticPart, java.lang.Object _this, java.lang.Object target, java.lang.Object[] args)
public MethodSignature makeMethodSig(java.lang.String stringRep)
public MethodSignature makeMethodSig(java.lang.String modifiers, java.lang.String methodName, java.lang.String declaringType, java.lang.String paramTypes, java.lang.String paramNames, java.lang.String exceptionTypes, java.lang.String returnType)
public MethodSignature makeMethodSig(int modifiers, java.lang.String name, java.lang.Class declaringType, java.lang.Class[] parameterTypes, java.lang.String[] parameterNames, java.lang.Class[] exceptionTypes, java.lang.Class returnType)
public ConstructorSignature makeConstructorSig(java.lang.String stringRep)
public ConstructorSignature makeConstructorSig(java.lang.String modifiers, java.lang.String declaringType, java.lang.String paramTypes, java.lang.String paramNames, java.lang.String exceptionTypes)
public ConstructorSignature makeConstructorSig(int modifiers, java.lang.Class declaringType, java.lang.Class[] parameterTypes, java.lang.String[] parameterNames, java.lang.Class[] exceptionTypes)
public FieldSignature makeFieldSig(java.lang.String stringRep)
public FieldSignature makeFieldSig(java.lang.String modifiers, java.lang.String name, java.lang.String declaringType, java.lang.String fieldType)
public FieldSignature makeFieldSig(int modifiers, java.lang.String name, java.lang.Class declaringType, java.lang.Class fieldType)
public AdviceSignature makeAdviceSig(java.lang.String stringRep)
public AdviceSignature makeAdviceSig(java.lang.String modifiers, java.lang.String name, java.lang.String declaringType, java.lang.String paramTypes, java.lang.String paramNames, java.lang.String exceptionTypes, java.lang.String returnType)
public AdviceSignature makeAdviceSig(int modifiers, java.lang.String name, java.lang.Class declaringType, java.lang.Class[] parameterTypes, java.lang.String[] parameterNames, java.lang.Class[] exceptionTypes, java.lang.Class returnType)
public InitializerSignature makeInitializerSig(java.lang.String stringRep)
public InitializerSignature makeInitializerSig(java.lang.String modifiers, java.lang.String declaringType)
public InitializerSignature makeInitializerSig(int modifiers, java.lang.Class declaringType)
public CatchClauseSignature makeCatchClauseSig(java.lang.String stringRep)
public CatchClauseSignature makeCatchClauseSig(java.lang.String declaringType, java.lang.String parameterType, java.lang.String parameterName)
public CatchClauseSignature makeCatchClauseSig(java.lang.Class declaringType, java.lang.Class parameterType, java.lang.String parameterName)
public LockSignature makeLockSig(java.lang.String stringRep)
public LockSignature makeLockSig()
public LockSignature makeLockSig(java.lang.Class declaringType)
public UnlockSignature makeUnlockSig(java.lang.String stringRep)
public UnlockSignature makeUnlockSig()
public UnlockSignature makeUnlockSig(java.lang.Class declaringType)
public SourceLocation makeSourceLoc(int line, int col)