public class MethodMapper
extends java.lang.Object
Constructor and Description |
---|
MethodMapper()
Creates this MethodPointCutMapper.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addIfNotPresent(java.lang.String name,
java.lang.String descriptor)
Returns true if the descriptor was not present and was therefore added to the mapper.
|
void |
addMethod(java.lang.String name,
java.util.List<java.lang.String> descriptors)
Adds the method to the list.
|
void |
clear()
Clears the mapper.
|
public void clear()
public void addMethod(java.lang.String name, java.util.List<java.lang.String> descriptors)
name
- The name of the method.descriptors
- The parameter descriptors. This is the method descriptor minus the return type. Each item in
the list should refence a different method signature.public boolean addIfNotPresent(java.lang.String name, java.lang.String descriptor)
name
- The name of the method.descriptor
- The method descriptor minus the return type.