Interface Acceptor<V extends Visitor>

All Known Subinterfaces:
BranchingStmt, ComparableConstant<C>, ConcreteRef, Constant, Expr, FallsThroughStmt, IdentityRef, InvokableStmt, LogicalConstant<L>, NumericConstant<N>, RealConstant<R>, Ref, ShiftableConstant<A>, Stmt
All Known Implementing Classes:
AbstractBinopExpr, AbstractConditionExpr, AbstractDefinitionStmt, AbstractFloatBinopExpr, AbstractInstanceInvokeExpr, AbstractIntBinopExpr, AbstractIntLongBinopExpr, AbstractInvokeExpr, AbstractStmt, AbstractUnopExpr, ArrayType, AugmentIntegerTypes.Integer127Type, AugmentIntegerTypes.Integer1Type, AugmentIntegerTypes.Integer32767Type, BooleanConstant, BottomType, ClassConstant, ClassType, DoubleConstant, EnumConstant, FloatConstant, IntConstant, JAddExpr, JAndExpr, JArrayRef, JAssignStmt, JavaClassType, JavaLocal, JBreakpointStmt, JCastExpr, JCaughtExceptionRef, JCmpExpr, JCmpgExpr, JCmplExpr, JDivExpr, JDynamicInvokeExpr, JEnterMonitorStmt, JEqExpr, JExitMonitorStmt, JFieldRef, JGeExpr, JGotoStmt, JGtExpr, JIdentityStmt, JIfStmt, JInstanceFieldRef, JInstanceOfExpr, JInterfaceInvokeExpr, JInvokeStmt, JLeExpr, JLengthExpr, JLtExpr, JMulExpr, JNeExpr, JNegExpr, JNewArrayExpr, JNewExpr, JNewMultiArrayExpr, JNopStmt, JOrExpr, JParameterRef, JPhiExpr, JRemExpr, JRetStmt, JReturnStmt, JReturnVoidStmt, JShlExpr, JShrExpr, JSpecialInvokeExpr, JStaticFieldRef, JStaticInvokeExpr, JSubExpr, JSwitchStmt, JThisRef, JThrowStmt, JUshrExpr, JVirtualInvokeExpr, JXorExpr, Local, LongConstant, MethodHandle, MethodType, ModuleJavaClassType, NullConstant, NullType, PrimitiveType, PrimitiveType.BooleanType, PrimitiveType.ByteType, PrimitiveType.CharType, PrimitiveType.DoubleType, PrimitiveType.FloatType, PrimitiveType.IntType, PrimitiveType.LongType, PrimitiveType.ShortType, ReferenceType, StringConstant, TopType, Type, UnknownType, VoidType, WeakObjectType

public interface Acceptor<V extends Visitor>
Basic interface used for visited objects in the Visitor design pattern.
  • Method Summary

    Modifier and Type
    Method
    Description
    <X extends V>
    V
    accept(X v)
    Called when this object is visited.
  • Method Details

    • accept

      <X extends V> V accept(@Nonnull X v)
      Called when this object is visited.
      Parameters:
      v -