public class NamedSignature extends Signature
Signature
with a name
honored by equals(Object)
,
Signature.hashCode()
and Signature.toString()
.Constructor and Description |
---|
NamedSignature(Method method)
The constructor.
|
NamedSignature(String name,
Class<?>... theSignature)
The constructor.
|
NamedSignature(String name,
Object... arguments)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getName() |
protected void |
toString(StringBuilder buffer) |
getType, getTypeCount, hashCode, isApplicable, toString
private String name
public NamedSignature(String name, Class<?>... theSignature)
name
- - see getName()
.theSignature
- is the signature to wrap.public NamedSignature(Method method)
method
- is the Method
whose signature should be wrapped.public String getName()
protected void toString(StringBuilder buffer)
toString
in class Signature
buffer
- the StringBuilder
to to
.Signature.toString()
Copyright © 2001–2016 mmm-Team. All rights reserved.