Class ResolvedMethod


  • public class ResolvedMethod
    extends Object
    A resolved method reference paired with its declaring class and invoke kind.
    • Constructor Detail

      • ResolvedMethod

        public ResolvedMethod​(MethodEntry method,
                              ClassFile declaringClass,
                              ResolvedMethod.InvokeKind kind)
        Creates a resolved method.
        Parameters:
        method - the matched method entry
        declaringClass - the class that declares it
        kind - the dispatch style to use
    • Method Detail

      • getMethod

        public MethodEntry getMethod()
        Returns:
        the method
      • getDeclaringClass

        public ClassFile getDeclaringClass()
        Returns:
        the declaring class
      • isStatic

        public boolean isStatic()
        Returns:
        true if the method has the static modifier
      • isNative

        public boolean isNative()
        Returns:
        true if the method has the native modifier
      • isAbstract

        public boolean isAbstract()
        Returns:
        true if the method has the abstract modifier