Class IncidenceMethodHandler

java.lang.Object
com.syncleus.ferma.framefactories.annotation.AbstractMethodHandler
com.syncleus.ferma.framefactories.annotation.IncidenceMethodHandler
All Implemented Interfaces:
MethodHandler

public class IncidenceMethodHandler
extends AbstractMethodHandler
A TinkerPop method handler that implemented the Incidence Annotation.
Since:
2.0.0
  • Constructor Details

  • Method Details

    • getAnnotationType

      public Class<Incidence> getAnnotationType()
      Returns:
      The annotation type that this handler responds to.
    • processMethod

      public <E> net.bytebuddy.dynamic.DynamicType.Builder<E> processMethod​(net.bytebuddy.dynamic.DynamicType.Builder<E> builder, Method method, Annotation annotation)
      Type Parameters:
      E - The loaded type of the Byte Buddy Builder
      Parameters:
      builder - ByteBuddy Builder class to expand.
      method - The method being called on the frame.
      annotation - The annotation
      Returns:
      A return value for the method.