Record Class ConfigurationCollectorDoclet.MethodReference

java.lang.Object
java.lang.Record
org.eclipse.aether.tools.ConfigurationCollectorDoclet.MethodReference
Record Components:
fullyQualifiedClassName - the fully qualified name of the class containing the method
methodName - the name of the method
fullyQualifiedParameterTypes - a list of fully qualified names (for declared types) or simple names (for primitive types) of the parameter types of the method
Enclosing class:
ConfigurationCollectorDoclet

protected static record ConfigurationCollectorDoclet.MethodReference(String fullyQualifiedClassName, String methodName, List<String> fullyQualifiedParameterTypes) extends Record
Represents a reference to a method, including the fully qualified class name, method name, and parameter types. This is supposed to be unique as well as canonical. The signature within a Javadoc link is not normalized (e.g. may contain spaces or not, may contain argument names or not) so we need to resolve the reference to get a unique representation of the method.
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • fullyQualifiedClassName

      Returns the value of the fullyQualifiedClassName record component.
      Returns:
      the value of the fullyQualifiedClassName record component
    • methodName

      public String methodName()
      Returns the value of the methodName record component.
      Returns:
      the value of the methodName record component
    • fullyQualifiedParameterTypes

      Returns the value of the fullyQualifiedParameterTypes record component.
      Returns:
      the value of the fullyQualifiedParameterTypes record component