# Interface Node

All Known Implementing Classes:
  `AnnotationDefault, AnnotationEntry, Annotations, Attribute, BootstrapMethods, Code, CodeException, Constant, ConstantClass, ConstantCP, ConstantDouble, ConstantDynamic, ConstantFieldref, ConstantFloat, ConstantInteger, ConstantInterfaceMethodref, ConstantInvokeDynamic, ConstantLong, ConstantMethodHandle, ConstantMethodref, ConstantMethodType, ConstantModule, ConstantNameAndType, ConstantPackage, ConstantPool, ConstantString, ConstantUtf8, ConstantValue, Deprecated, EnclosingMethod, ExceptionTable, Field, FieldOrMethod, InnerClass, InnerClasses, JavaClass, LineNumber, LineNumberTable, LocalVariable, LocalVariableTable, LocalVariableTypeTable, Method, MethodParameter, MethodParameters, Module, ModuleExports, ModuleMainClass, ModuleOpens, ModulePackages, ModuleProvides, ModuleRequires, NestHost, NestMembers, ParameterAnnotationEntry, ParameterAnnotations, PMGClass, Record, RecordComponentInfo, RuntimeInvisibleAnnotations, RuntimeInvisibleParameterAnnotations, RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations, Signature, SourceFile, StackMap, StackMapEntry, StackMapType, Synthetic, Unknown`

public interface Node
Denote class to have an accept method();

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `accept(Visitor visitor)`
  Accepts a visitor.

- ## Method Details

  - ### accept

    void accept(Visitor visitor)
    Accepts a visitor.
    Parameters:
      `visitor` - the visitor.