public class InterfaceIntroduction extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InterfaceIntroduction.Mixin |
Modifier and Type | Field and Description |
---|---|
protected ArrayList<WeakReference<Advisor>> |
advisors |
protected ASTStart |
ast |
protected ClassExpression |
classExpr |
protected String |
constructorClass |
protected String |
constructorMethod |
protected String[] |
interfaces |
protected ArrayList<InterfaceIntroduction.Mixin> |
mixins |
protected String |
name |
Constructor and Description |
---|
InterfaceIntroduction() |
InterfaceIntroduction(String name,
ASTStart ast,
String[] interfaces) |
InterfaceIntroduction(String name,
ASTStart ast,
String[] interfaces,
String constructorClass,
String constructorMethod) |
InterfaceIntroduction(String name,
String exp,
String[] interfaces) |
InterfaceIntroduction(String name,
String exp,
String[] interfaces,
String constructorClass,
String constructorMethod) |
Modifier and Type | Method and Description |
---|---|
void |
addAdvisor(Advisor advisor) |
void |
addMixin(InterfaceIntroduction.Mixin mixin) |
void |
clearAdvisors() |
boolean |
equals(Object obj) |
ASTStart |
getAst() |
String |
getClassExpr() |
String |
getConstructorClass() |
String |
getConstructorMethod() |
String[] |
getInterfaces() |
ArrayList<InterfaceIntroduction.Mixin> |
getMixins() |
String |
getName() |
int |
hashCode() |
boolean |
matches(Advisor advisor,
Class<?> clazz) |
boolean |
matches(Advisor advisor,
javassist.CtClass clazz) |
void |
setClassExpression(String exp) |
void |
setInterfaces(String[] interfaces) |
void |
setMixins(ArrayList<InterfaceIntroduction.Mixin> mixins) |
void |
setName(String name) |
void |
setTypeExpression(String exp) |
protected String name
protected ArrayList<WeakReference<Advisor>> advisors
protected String[] interfaces
protected ArrayList<InterfaceIntroduction.Mixin> mixins
protected ClassExpression classExpr
protected ASTStart ast
protected String constructorClass
protected String constructorMethod
public InterfaceIntroduction()
public InterfaceIntroduction(String name, String exp, String[] interfaces, String constructorClass, String constructorMethod)
public void setClassExpression(String exp)
public void setTypeExpression(String exp)
public void setMixins(ArrayList<InterfaceIntroduction.Mixin> mixins)
public void addMixin(InterfaceIntroduction.Mixin mixin)
public void setInterfaces(String[] interfaces)
public void setName(String name)
public String getName()
public String[] getInterfaces()
public ArrayList<InterfaceIntroduction.Mixin> getMixins()
public String getConstructorClass()
public String getConstructorMethod()
public void addAdvisor(Advisor advisor)
public void clearAdvisors()
public String getClassExpr()
public ASTStart getAst()
public boolean matches(Advisor advisor, javassist.CtClass clazz) throws Exception
Exception
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.