public class ReferencedMemberVisitor extends java.lang.Object implements ConstantVisitor, ElementValueVisitor
ConstantVisitor
and ElementValueVisitor
lets a given MemberVisitor
visit all the referenced class members of the elements that it visits.Modifier and Type | Field and Description |
---|---|
protected MemberVisitor |
memberVisitor |
Constructor and Description |
---|
ReferencedMemberVisitor(MemberVisitor memberVisitor) |
Modifier and Type | Method and Description |
---|---|
void |
visitAnyConstant(Clazz clazz,
Constant constant)
Visits any Constant instance.
|
void |
visitAnyElementValue(Clazz clazz,
Annotation annotation,
ElementValue elementValue)
Visits any ElementValue instance.
|
void |
visitAnyRefConstant(Clazz clazz,
RefConstant refConstant)
Visits any RefConstant instance.
|
void |
visitStringConstant(Clazz clazz,
StringConstant stringConstant) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitAnyMethodrefConstant, visitClassConstant, visitDoubleConstant, visitDynamicConstant, visitFieldrefConstant, visitFloatConstant, visitIntegerConstant, visitInterfaceMethodrefConstant, visitInvokeDynamicConstant, visitLongConstant, visitMethodHandleConstant, visitMethodrefConstant, visitMethodTypeConstant, visitModuleConstant, visitNameAndTypeConstant, visitPackageConstant, visitPrimitiveArrayConstant, visitUtf8Constant
visitAnnotationElementValue, visitArrayElementValue, visitClassElementValue, visitConstantElementValue, visitEnumConstantElementValue
protected final MemberVisitor memberVisitor
public ReferencedMemberVisitor(MemberVisitor memberVisitor)
public void visitAnyConstant(Clazz clazz, Constant constant)
ConstantVisitor
visitAnyConstant
in interface ConstantVisitor
public void visitStringConstant(Clazz clazz, StringConstant stringConstant)
visitStringConstant
in interface ConstantVisitor
public void visitAnyRefConstant(Clazz clazz, RefConstant refConstant)
ConstantVisitor
visitAnyRefConstant
in interface ConstantVisitor
public void visitAnyElementValue(Clazz clazz, Annotation annotation, ElementValue elementValue)
ElementValueVisitor
visitAnyElementValue
in interface ElementValueVisitor