public enum MethodInvocation extends Enum<MethodInvocation>
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | MethodInvocation.DynamicInvocationPerforms a dynamic method invocation of the given method. | 
| protected static class  | MethodInvocation.IllegalInvocationAn illegal implicit method invocation. | 
| protected class  | MethodInvocation.InvocationAn implementation of a method invoking stack manipulation. | 
| protected static class  | MethodInvocation.OfGenericMethodA method invocation of a generically resolved method. | 
| static interface  | MethodInvocation.WithImplicitInvocationTargetTypeRepresents a method invocation where the invocation type (static, virtual, special, interface) is derived
 from the given method's description. | 
| Enum Constant and Description | 
|---|
| INTERFACEAn interface-typed virtual method invocation. | 
| SPECIALA specialized pseudo-virtual method invocation for a non-constructor. | 
| SPECIAL_CONSTRUCTORA specialized pseudo-virtual method invocation for a constructor. | 
| STATICA static method invocation. | 
| VIRTUALA virtual method invocation. | 
| Modifier and Type | Method and Description | 
|---|---|
| static MethodInvocation.WithImplicitInvocationTargetType | invoke(MethodDescription.InDefinedShape methodDescription)Creates a method invocation with an implicitly determined invocation type. | 
| static MethodInvocation.WithImplicitInvocationTargetType | invoke(MethodDescription methodDescription)Creates a method invocation with an implicitly determined invocation type. | 
| String | toString() | 
| static MethodInvocation | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static MethodInvocation[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final MethodInvocation VIRTUAL
public static final MethodInvocation INTERFACE
public static final MethodInvocation STATIC
public static final MethodInvocation SPECIAL
public static final MethodInvocation SPECIAL_CONSTRUCTOR
public static MethodInvocation[] values()
for (MethodInvocation c : MethodInvocation.values()) System.out.println(c);
public static MethodInvocation 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 static MethodInvocation.WithImplicitInvocationTargetType invoke(MethodDescription.InDefinedShape methodDescription)
methodDescription - The method to be invoked.public static MethodInvocation.WithImplicitInvocationTargetType invoke(MethodDescription methodDescription)
methodDescription - The method to be invoked.public String toString()
toString in class Enum<MethodInvocation>Copyright © 2014–2015. All rights reserved.