public class LambdaMetafactory

  1. Object
  2. LambdaMetafactory
Deprecated. these classes are used internally for Lambda compatibility

Fields

public static final int FLAG_SERIALIZABLE = 1
public static final int FLAG_MARKERS = 2
public static final int FLAG_BRIDGES = 4

Constructors

public LambdaMetafactory()

Methods

public static CallSite metafactory(MethodHandles.Lookup a, String f, MethodType b, MethodType c, MethodHandle d, MethodType e) throws LambdaConversionException
public static CallSite altMetafactory(MethodHandles.Lookup a, String b, MethodType c, Object... d) throws LambdaConversionException

Inherited methods

Field details

FLAG_SERIALIZABLE

public static final int FLAG_SERIALIZABLE = 1

FLAG_MARKERS

public static final int FLAG_MARKERS = 2

FLAG_BRIDGES

public static final int FLAG_BRIDGES = 4

Constructor details

LambdaMetafactory

public LambdaMetafactory()

Method details

metafactory

public static CallSite metafactory(MethodHandles.Lookup a, String f, MethodType b, MethodType c, MethodHandle d, MethodType e) throws LambdaConversionException

Throws

LambdaConversionException

altMetafactory

public static CallSite altMetafactory(MethodHandles.Lookup a, String b, MethodType c, Object... d) throws LambdaConversionException

Throws

LambdaConversionException