MethodType - JRE Emulation | JRE Emulation
public final class

MethodType

extends Object
implements Serializable
java.lang.Object
   ↳ java.lang.invoke.MethodType

Summary

Public Constructors
MethodType()
Public Methods
MethodType appendParameterTypes(Class...<?> ptypesToInsert)
MethodType appendParameterTypes(List<Class<?>> ptypesToInsert)
MethodType changeParameterType(int num, Class<?> nptype)
MethodType changeReturnType(Class<?> nrtype)
MethodType dropParameterTypes(int start, int end)
MethodType erase()
static MethodType fromMethodDescriptorString(String descriptor, ClassLoader loader)
MethodType generic()
static MethodType genericMethodType(int objectArgCount, boolean finalArray)
static MethodType genericMethodType(int objectArgCount)
boolean hasPrimitives()
boolean hasWrappers()
MethodType insertParameterTypes(int num, Class...<?> ptypesToInsert)
MethodType insertParameterTypes(int num, List<Class<?>> ptypesToInsert)
static MethodType methodType(Class<?> rtype, MethodType ptypes)
static MethodType methodType(Class<?> rtype, Class[]<?> ptypes)
static MethodType methodType(Class<?> rtype, Class<?> ptype0)
static MethodType methodType(Class<?> rtype)
static MethodType methodType(Class<?> rtype, List<Class<?>> ptypes)
static MethodType methodType(Class<?> rtype, Class<?> ptype0, Class...<?> ptypes)
Class[]<?> parameterArray()
int parameterCount()
List<Class<?>> parameterList()
Class<?> parameterType(int num)
Class<?> returnType()
String toMethodDescriptorString()
MethodType unwrap()
MethodType wrap()
Inherited Methods
[Expand]
From class java.lang.Object

Public Constructors

public MethodType ()

Public Methods

public MethodType appendParameterTypes (Class...<?> ptypesToInsert)

public MethodType appendParameterTypes (List<Class<?>> ptypesToInsert)

public MethodType changeParameterType (int num, Class<?> nptype)

public MethodType changeReturnType (Class<?> nrtype)

public MethodType dropParameterTypes (int start, int end)

public MethodType erase ()

public static MethodType fromMethodDescriptorString (String descriptor, ClassLoader loader)

public MethodType generic ()

public static MethodType genericMethodType (int objectArgCount, boolean finalArray)

public static MethodType genericMethodType (int objectArgCount)

public boolean hasPrimitives ()

public boolean hasWrappers ()

public MethodType insertParameterTypes (int num, Class...<?> ptypesToInsert)

public MethodType insertParameterTypes (int num, List<Class<?>> ptypesToInsert)

public static MethodType methodType (Class<?> rtype, MethodType ptypes)

public static MethodType methodType (Class<?> rtype, Class[]<?> ptypes)

public static MethodType methodType (Class<?> rtype, Class<?> ptype0)

public static MethodType methodType (Class<?> rtype)

public static MethodType methodType (Class<?> rtype, List<Class<?>> ptypes)

public static MethodType methodType (Class<?> rtype, Class<?> ptype0, Class...<?> ptypes)

public Class[]<?> parameterArray ()

public int parameterCount ()

public List<Class<?>> parameterList ()

public Class<?> parameterType (int num)

public Class<?> returnType ()

public String toMethodDescriptorString ()

public MethodType unwrap ()

public MethodType wrap ()