ilog.rules.bom

Interface IlrMethod

    • Method Detail

      • getGenericInfo

        IlrMethod.IlrGenericMethodInfo getGenericInfo()
        Returns the generic information about this method, or null if the method is neither a generic nor an instantiation of a generic method.
        Since:
        JRules 6.0
        Returns:
        Generic information, or null.
      • isAbstract

        boolean isAbstract()
        Returns true if the method is abstract.
      • isSynchronized

        boolean isSynchronized()
        Returns true if the method is synchronized.
      • isMethod

        boolean isMethod()
        Returns true if the method is not a constructor.
      • isConstructor

        boolean isConstructor()
        Returns true if the method is a constructor.
      • getReturnType

        IlrType getReturnType()
        Returns the return type of the method.
      • getMethodExceptions

        java.util.List getMethodExceptions()
        Returns a list of classes that are exceptions that may be thrown by this method.

        Note: If the method throws no exceptions, the return value may be null, or it may be an empty list.

      • visit

        boolean visit(IlrObjectModel.Visitor visitor)
        Deprecated. use IlrVisitor instead.
        Calls the appropriate visitor's visitXXX methods for the types referred to by this method (the return type, the parameter types and the exceptions) If a call to one of the visitor's visitXXX methods returns false then this method immediately returns the value false. Otherwise true is returned after all of the elements have been visited.
        Parameters:
        visitor - A visitor.
        Returns:
        true if the method has been entirely visited.
      • getJavaMethod

        java.lang.reflect.Method getJavaMethod()
        Deprecated. use getNativeMethod instead.
        Returns the Java method currently being reflected or null.
      • getNativeMethod

        java.lang.reflect.Method getNativeMethod()
        Returns the native method represented by this IlrMethod or null if otherwise.
        Since:
        JRules 5.0

© Copyright IBM Corp. 1987, 2020