public class BypassClassTargetSelector extends Object implements ClassTargetSelector
ClassTargetSelector that looks up the declared type of a NewSiteReference based on bypass rules.| Constructor and Description |
|---|
BypassClassTargetSelector(ClassTargetSelector parent,
Set<TypeReference> allocatableTypes,
IClassHierarchy cha,
IClassLoader bypassLoader) |
| Modifier and Type | Method and Description |
|---|---|
IClass |
getAllocatedTarget(CGNode caller,
NewSiteReference site)
Given a calling node and a new site, return the type to be allocated.
|
public BypassClassTargetSelector(ClassTargetSelector parent, Set<TypeReference> allocatableTypes, IClassHierarchy cha, IClassLoader bypassLoader) throws IllegalArgumentException
IllegalArgumentExceptionpublic IClass getAllocatedTarget(CGNode caller, NewSiteReference site)
ClassTargetSelectorgetAllocatedTarget in interface ClassTargetSelectorcaller - the GCNode in the call graph containing the new site.site - the new site reference of the new site.Copyright © 2015. All rights reserved.