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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodSignatureImpl(AnnotatedMethod<?> method)
MethodSignatureImpl(Method method)
MethodSignatureImpl(String methodName, String... parameterTypes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getMethodName()
String[]
getParameterTypes()
int
hashCode()
boolean
matches(Method method)
Determines whether this method signature matches the signature of the given methodstatic MethodSignature
of(AnnotatedMethod<?> method)
String
toString()
-
-
-
Constructor Detail
-
MethodSignatureImpl
public MethodSignatureImpl(AnnotatedMethod<?> method)
-
MethodSignatureImpl
public MethodSignatureImpl(Method method)
-
-
Method Detail
-
of
public static MethodSignature of(AnnotatedMethod<?> method)
-
getMethodName
public String getMethodName()
- Specified by:
getMethodName
in interfaceMethodSignature
-
getParameterTypes
public String[] getParameterTypes()
- Specified by:
getParameterTypes
in interfaceMethodSignature
-
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 interfaceMethodSignature
- Parameters:
method
- the given method- Returns:
- true iff the method signature represented by this object matches the signature of the given method
-
-