Class ExecutableIdentifier
java.lang.Object
org.mule.extensions.java.internal.parameters.ExecutableIdentifier
- Direct Known Subclasses:
ConstructorIdentifier,MethodIdentifier,StaticMethodIdentifier
A unique identifier for a given
Executable element- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbooleanProvides the type name of theExecutablearguments being represented bythisExecutableIdentifierFactory.abstract StringgetClazz()abstract Stringabstract StringinthashCode()abstract booleanmatches(Executable element) protected booleanmatchesArguments(Class[] arguments) toString()
-
Constructor Details
-
ExecutableIdentifier
public ExecutableIdentifier()
-
-
Method Details
-
getClazz
- Returns:
- the name of the declaring
ClassofthisExecutableelement, or empty string if it is unknown.
-
getElementId
Provides 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".- Returns:
- the ID of the
Executableelement being represented bythisExecutableIdentifierFactory.
-
getElementName
Provides the name 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".- Returns:
- the name of the
Executableelement being represented bythisExecutableIdentifierFactory.
-
getArgumentTypeNames
Provides the type name of theExecutablearguments being represented bythisExecutableIdentifierFactory.For example, for method
public void echo(String message, int times), the result of invoking this method will be["String", "int"].- Returns:
- the type name of the
Executablearguments element being represented bythisExecutableIdentifierFactory. if the id ofthisExecutableIdentifierFactoryis invalid,empty()will be returned.
-
matches
- Returns:
- whether or not
thisidentifier matches the givenidentifier
-
getExecutableTypeName
- Returns:
- the name of the executable element type
-
equals
-
hashCode
public int hashCode() -
toString
-
buildId
-
matchesArguments
-