public static enum BridgeMethodResolver.NoOp extends Enum<BridgeMethodResolver.NoOp> implements BridgeMethodResolver, BridgeMethodResolver.Factory
BridgeMethodResolver which is simply
returning the method it is given to resolve.BridgeMethodResolver.Factory, BridgeMethodResolver.NoOp, BridgeMethodResolver.Simple| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
BridgeMethodResolver |
make(MethodList relevant)
Creates a bridge method resolver for a given list of methods.
|
MethodDescription |
resolve(MethodDescription methodDescription)
Resolves a method which is potentially a bridge method.
|
String |
toString() |
static BridgeMethodResolver.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BridgeMethodResolver.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BridgeMethodResolver.NoOp INSTANCE
public static BridgeMethodResolver.NoOp[] values()
for (BridgeMethodResolver.NoOp c : BridgeMethodResolver.NoOp.values()) System.out.println(c);
public static BridgeMethodResolver.NoOp valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic BridgeMethodResolver make(MethodList relevant)
BridgeMethodResolver.Factorymake in interface BridgeMethodResolver.Factoryrelevant - The relevant methods which can be called in a given context.public MethodDescription resolve(MethodDescription methodDescription)
BridgeMethodResolverresolve in interface BridgeMethodResolvermethodDescription - The method to resolve in cases it is a bridge method.public String toString()
toString in class Enum<BridgeMethodResolver.NoOp>Copyright © 2014–2015. All rights reserved.