Class QueryJavaReference


  • public class QueryJavaReference
    extends java.lang.Object
    Class to wrap a property for the Query References message.
    Author:
    Christopher Mindus
    • Constructor Summary

      Constructors 
      ConstructorDescription
      QueryJavaReference​(org.eclipse.jdt.core.IJavaElement javaElement, GProp<?> ref, GProp<?> source)
      Constructor for a Java element reference to a property.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      org.eclipse.jdt.core.IJavaElementgetJavaElement()
      Gets the Java element being referenced.
      GProp<?>getReference()
      Gets the referenced property.
      GProp<?>getSource()
      Gets the property.
      • Methods inherited from class java.lang.Object

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

      • QueryJavaReference

        public QueryJavaReference​(org.eclipse.jdt.core.IJavaElement javaElement,
                                  GProp<?> ref,
                                  GProp<?> source)
        Constructor for a Java element reference to a property.
        Parameters:
        javaElement - The Java element.
        ref - The property being referenced.
        source - The source property matching.
        Throws:
        java.lang.NullPointerException - If javaElement is null.
    • Method Detail

      • getSource

        public GProp<?> getSource()
        Gets the property.
      • getReference

        public GProp<?> getReference()
        Gets the referenced property.
      • getJavaElement

        public org.eclipse.jdt.core.IJavaElement getJavaElement()
        Gets the Java element being referenced.