public class OverloadMethodSet extends Object
Constructor and Description |
---|
OverloadMethodSet(ClassFile classFile,
MethodPrototype actualPrototype,
List<MethodPrototype> allPrototypes) |
Modifier and Type | Method and Description |
---|---|
boolean |
callsCorrectEntireMethod(List<Expression> args,
GenericTypeBinder gtb) |
boolean |
callsCorrectMethod(Expression newArg,
int idx,
GenericTypeBinder gtb) |
JavaTypeInstance |
getArgType(int idx,
JavaTypeInstance used) |
List<JavaTypeInstance> |
getPossibleArgTypes(int idx,
JavaTypeInstance used) |
int |
size() |
OverloadMethodSet |
specialiseTo(JavaGenericRefTypeInstance type) |
public OverloadMethodSet(ClassFile classFile, MethodPrototype actualPrototype, List<MethodPrototype> allPrototypes)
public OverloadMethodSet specialiseTo(JavaGenericRefTypeInstance type)
public JavaTypeInstance getArgType(int idx, JavaTypeInstance used)
public List<JavaTypeInstance> getPossibleArgTypes(int idx, JavaTypeInstance used)
public boolean callsCorrectEntireMethod(List<Expression> args, GenericTypeBinder gtb)
public int size()
public boolean callsCorrectMethod(Expression newArg, int idx, GenericTypeBinder gtb)
Copyright © 2011-2021. All Rights Reserved.