Class CallContextCache.Signature

java.lang.Object
com.kenai.jffi.CallContextCache.Signature
Enclosing class:
CallContextCache

private static final class CallContextCache.Signature extends Object
  • Field Details

    • returnType

      private final Type returnType
      Keep references to the return and parameter types so they do not get garbage collected until the closure does.
    • parameterTypes

      private final Type[] parameterTypes
    • convention

      private final CallingConvention convention
    • saveErrno

      private final boolean saveErrno
    • faultProtect

      private final boolean faultProtect
    • hashCode

      private int hashCode
  • Constructor Details

    • Signature

      public Signature(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • calculateHashCode

      private final int calculateHashCode()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object