Class MethodIdentifier
java.lang.Object
org.mule.extensions.java.internal.parameters.ExecutableIdentifier
org.mule.extensions.java.internal.parameters.MethodIdentifier
A unique identifier for a given instance
Method- Since:
- 1.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMethodIdentifier(Method method) MethodIdentifier(String className, String methodId) -
Method Summary
Methods inherited from class org.mule.extensions.java.internal.parameters.ExecutableIdentifier
buildId, equals, getArgumentTypeNames, getElementName, hashCode, matchesArguments, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
MethodIdentifier
public MethodIdentifier() -
MethodIdentifier
-
MethodIdentifier
-
-
Method Details
-
getClazz
- Specified by:
getClazzin classExecutableIdentifier- Returns:
- the name of the declaring
ClassofthisExecutableelement, or empty string if it is unknown.
-
getElementId
Description copied from class:ExecutableIdentifierProvides the ID of theExecutableelement being represented bythisExecutableIdentifierFactory.For example, for method
public void echo(String message, int times), the result of invoking this method will be"echo#String,int".- Specified by:
getElementIdin classExecutableIdentifier- Returns:
- the ID of the
Executableelement being represented bythisExecutableIdentifierFactory.
-
matches
- Specified by:
matchesin classExecutableIdentifier- Returns:
- whether or not
thisidentifier matches the givenidentifier
-
getExecutableTypeName
- Specified by:
getExecutableTypeNamein classExecutableIdentifier- Returns:
- the name of the executable element type
-