Class MethodSignatureImpl

java.lang.Object
org.jboss.weld.annotated.enhanced.jlr.MethodSignatureImpl
All Implemented Interfaces:
Serializable, MethodSignature

public class MethodSignatureImpl extends Object implements MethodSignature
See Also:
  • Constructor Details

    • MethodSignatureImpl

      public MethodSignatureImpl(jakarta.enterprise.inject.spi.AnnotatedMethod<?> method)
    • MethodSignatureImpl

      public MethodSignatureImpl(Method method)
    • MethodSignatureImpl

      public MethodSignatureImpl(String methodName, String... parameterTypes)
  • Method Details

    • of

      public static MethodSignature of(jakarta.enterprise.inject.spi.AnnotatedMethod<?> method)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getMethodName

      public String getMethodName()
      Specified by:
      getMethodName in interface MethodSignature
    • getParameterTypes

      public String[] getParameterTypes()
      Specified by:
      getParameterTypes in interface MethodSignature
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • matches

      public boolean matches(Method method)
      Description copied from interface: MethodSignature
      Determines whether this method signature matches the signature of the given method
      Specified by:
      matches in interface MethodSignature
      Parameters:
      method - the given method
      Returns:
      true iff the method signature represented by this object matches the signature of the given method