|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.classloader.SpecializedMethod
public abstract class SpecializedMethod
A method that is specialized across all reference types.
In general as there may not be a 1-1 mapping between objects and the specialized methods this class is responsible for performing the mapping.
Specialized methods must have a static 'invoke' method that matches the given signature and return type.
Field Summary | |
---|---|
protected int |
id
This specialized method's id |
Constructor Summary | |
---|---|
protected |
SpecializedMethod(int id)
Constructor. |
Method Summary | |
---|---|
protected CompiledMethod |
compileSpecializedMethod(RVMMethod template,
TypeReference[] specializedParams)
Compile a specialized version of a template method. |
abstract TypeReference |
getReturnType()
|
abstract TypeReference[] |
getSignature()
|
abstract ArchitectureSpecific.CodeArray |
specializeMethod(RVMType type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final int id
Constructor Detail |
---|
protected SpecializedMethod(int id)
Method Detail |
---|
public abstract ArchitectureSpecific.CodeArray specializeMethod(RVMType type)
public abstract TypeReference[] getSignature()
public abstract TypeReference getReturnType()
protected CompiledMethod compileSpecializedMethod(RVMMethod template, TypeReference[] specializedParams)
template
- The method to use as a templatespecializedParams
- The known types of the parameters, possibly more refined than in the template
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |