public abstract class ExecutableIdentifier extends Object
Executable element| Constructor and Description |
|---|
ExecutableIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildId(String elementName,
Class<?>[] argTypes) |
boolean |
equals(Object o) |
Optional<String[]> |
getArgumentTypeNames()
Provides the type name of the
Executable arguments being represented by this
ExecutableIdentifierFactory. |
abstract String |
getClazz() |
abstract String |
getElementId()
|
String |
getElementName()
|
abstract String |
getExecutableTypeName() |
int |
hashCode() |
abstract boolean |
matches(Executable element) |
protected boolean |
matchesArguments(Class[] arguments) |
String |
toString() |
public abstract String getClazz()
Class of this Executable element,
or empty string if it is unknown.public abstract String getElementId()
Executable element being represented by
this ExecutableIdentifierFactory.
For example, for method public void echo(String message, int times),
the result of invoking this method will be "echo#String,int".
Executable element being represented by
this ExecutableIdentifierFactory.public String getElementName()
Executable element being represented by
this ExecutableIdentifierFactory.
For example, for method public void echo(String message, int times),
the result of invoking this method will be "echo".
Executable element being represented by
this ExecutableIdentifierFactory.public Optional<String[]> getArgumentTypeNames()
Executable arguments being represented by this
ExecutableIdentifierFactory.
For example, for method public void echo(String message, int times), the result of invoking this method will be
["String", "int"].
Executable arguments element being represented by this
ExecutableIdentifierFactory. if the id of this ExecutableIdentifierFactory is invalid,
empty() will be returned.public abstract boolean matches(Executable element)
this identifier matches the given identifierpublic abstract String getExecutableTypeName()
protected boolean matchesArguments(Class[] arguments)
Copyright © 2018 MuleSoft, Inc.. All rights reserved.