Skip navigation links
JNA API 4.2.1

Class VarArgsChecker

  • abstract class VarArgsChecker
    extends Object
    Class for checking if a method has vararg parameters. Use method create() to create an instance of this class. How the returned instance work depends on the capabilities of the underlying JVM implementation. On older versions of the VM not supporting varargs, the returned VarArgsChecker will always return false on calls to isVarArgs(Method).
    Max Bureck
    • Method Detail

      • create

        static VarArgsChecker create()
        Creates a new instance of a concrete subclass of VarArgsChecker, depending if Method.isVarArgs() exists.
        new instance of concrete VarArgsChecker subclass
      • isVarArgs

        abstract boolean isVarArgs(Method m)
        Checks if the given method was declared to take a variable number of arguments.
        m - Method to be checked
        true if the given method takes a variable number of arguments, false otherwise.
JNA API 4.2.1

Copyright © 2007-2015 Timothy Wall. All Rights Reserved.