public static class Advice.Dispatcher.OffsetMapping.Illegal extends Object implements Advice.Dispatcher.OffsetMapping.Factory
UNDEFINED| Modifier | Constructor and Description |
|---|---|
protected |
Illegal(Class<? extends Annotation>... annotation)
Creates a new factory for restricting the use of illegal annotation types.
|
protected |
Illegal(List<? extends Class<? extends Annotation>> annotations)
Creates a new factory for restricting the use of illegal annotation types.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
Advice.Dispatcher.OffsetMapping |
make(ParameterDescription.InDefinedShape parameterDescription)
Creates a new offset mapping for the supplied parameter if possible.
|
String |
toString() |
protected Illegal(Class<? extends Annotation>... annotation)
annotation - The set of illegal annotations.protected Illegal(List<? extends Class<? extends Annotation>> annotations)
annotations - The set of illegal annotations.public Advice.Dispatcher.OffsetMapping make(ParameterDescription.InDefinedShape parameterDescription)
Advice.Dispatcher.OffsetMapping.Factorymake in interface Advice.Dispatcher.OffsetMapping.FactoryparameterDescription - The parameter description for which to resolve an offset mapping.null if no mapping can be resolved for this parameter.Copyright © 2014–2016. All rights reserved.