Class MethodLookup


  • public class MethodLookup
    extends java.lang.Object
    Return value for a method look-up.
    Author:
    Christopher Mindus
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String description
      Description from annotation, null for none.
      org.eclipse.jdt.core.IJavaElement element
      Matching Java element, IMethod when method is found or IType when no method is found, but the class.
      java.lang.String msg
      Error message, null for OK.
    • Constructor Summary

      Constructors 
      Constructor Description
      MethodLookup()
      Constructor with no message and no element.
      MethodLookup​(java.lang.String msg)
      Constructor for message, no element.
      MethodLookup​(java.lang.String msg, java.lang.String descr)
      Constructor for message, no element.
      MethodLookup​(org.eclipse.jdt.core.IJavaElement element)
      Constructor for no message but with element.
      MethodLookup​(org.eclipse.jdt.core.IJavaElement element, java.lang.String descr)
      Constructor for no message but with element.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • msg

        public java.lang.String msg
        Error message, null for OK.
      • description

        public java.lang.String description
        Description from annotation, null for none.
      • element

        public org.eclipse.jdt.core.IJavaElement element
        Matching Java element, IMethod when method is found or IType when no method is found, but the class.
    • Constructor Detail

      • MethodLookup

        public MethodLookup()
        Constructor with no message and no element.
      • MethodLookup

        public MethodLookup​(org.eclipse.jdt.core.IJavaElement element)
        Constructor for no message but with element.
      • MethodLookup

        public MethodLookup​(org.eclipse.jdt.core.IJavaElement element,
                            java.lang.String descr)
        Constructor for no message but with element.
      • MethodLookup

        public MethodLookup​(java.lang.String msg)
        Constructor for message, no element.
      • MethodLookup

        public MethodLookup​(java.lang.String msg,
                            java.lang.String descr)
        Constructor for message, no element.