public abstract class ConstructorRef extends Object
| Modifier and Type | Field and Description |
|---|---|
static ConstructorRef |
ARRAY_LIST_SIZE |
static ConstructorRef |
AUGMENTED_PARAM_STORE |
static ConstructorRef |
BASIC_PARAM_STORE |
static ConstructorRef |
LINKED_HASH_MAP_SIZE |
| Constructor and Description |
|---|
ConstructorRef() |
| Modifier and Type | Method and Description |
|---|---|
abstract com.google.common.collect.ImmutableList<org.objectweb.asm.Type> |
argTypes() |
Expression |
construct(Expression... args)
Returns an expression that constructs a new instance of
instanceClass() by calling
this constructor. |
Expression |
construct(Iterable<? extends Expression> args)
Returns an expression that constructs a new instance of
instanceClass() by calling
this constructor. |
static ConstructorRef |
create(Class<?> clazz,
Class<?>... argTypes) |
static ConstructorRef |
create(TypeInfo type,
Iterable<org.objectweb.asm.Type> argTypes)
Returns a new
ConstructorRef that refers to a constructor on the given type with the
given parameter types. |
static ConstructorRef |
create(TypeInfo type,
org.objectweb.asm.commons.Method init)
Returns a new
ConstructorRef that refers to a constructor on the given type with the
given parameter types. |
abstract TypeInfo |
instanceClass() |
abstract org.objectweb.asm.commons.Method |
method() |
public static final ConstructorRef ARRAY_LIST_SIZE
public static final ConstructorRef LINKED_HASH_MAP_SIZE
public static final ConstructorRef AUGMENTED_PARAM_STORE
public static final ConstructorRef BASIC_PARAM_STORE
public static ConstructorRef create(TypeInfo type, org.objectweb.asm.commons.Method init)
ConstructorRef that refers to a constructor on the given type with the
given parameter types.public static ConstructorRef create(TypeInfo type, Iterable<org.objectweb.asm.Type> argTypes)
ConstructorRef that refers to a constructor on the given type with the
given parameter types.public static ConstructorRef create(Class<?> clazz, Class<?>... argTypes)
public abstract TypeInfo instanceClass()
public abstract org.objectweb.asm.commons.Method method()
public abstract com.google.common.collect.ImmutableList<org.objectweb.asm.Type> argTypes()
public Expression construct(Expression... args)
instanceClass() by calling
this constructor.public Expression construct(Iterable<? extends Expression> args)
instanceClass() by calling
this constructor.