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(Method method)MethodSignatureImpl(String methodName, String... parameterTypes)MethodSignatureImpl(AnnotatedMethod<?> method)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetMethodName()String[]getParameterTypes()inthashCode()booleanmatches(Method method)Determines whether this method signature matches the signature of the given methodstatic MethodSignatureof(AnnotatedMethod<?> method)StringtoString()
-
-
-
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:
getMethodNamein interfaceMethodSignature
-
getParameterTypes
public String[] getParameterTypes()
- Specified by:
getParameterTypesin interfaceMethodSignature
-
matches
public boolean matches(Method method)
Description copied from interface:MethodSignatureDetermines whether this method signature matches the signature of the given method- Specified by:
matchesin interfaceMethodSignature- Parameters:
method- the given method- Returns:
- true iff the method signature represented by this object matches the signature of the given method
-
-