public final class AccessorInfo extends ElementInfo
Modifier and Type | Class and Description |
---|---|
static class |
AccessorInfo.AccessorKind |
name, parent
Constructor and Description |
---|
AccessorInfo(jdk.vm.ci.meta.ResolvedJavaMethod annotatedMethod,
AccessorInfo.AccessorKind accessorKind,
boolean isIndexed,
boolean hasLocationIdentityParameter,
boolean hasUniqueLocationIdentity) |
Modifier and Type | Method and Description |
---|---|
void |
accept(InfoTreeVisitor visitor) |
static int |
baseParameterNumber(boolean withReceiver) |
AccessorInfo.AccessorKind |
getAccessorKind() |
jdk.vm.ci.meta.ResolvedJavaMethod |
getAnnotatedElement() |
jdk.vm.ci.meta.ResolvedJavaType |
getParameterType(int index) |
static jdk.vm.ci.meta.ResolvedJavaType |
getParameterType(jdk.vm.ci.meta.ResolvedJavaMethod method,
int index) |
jdk.vm.ci.meta.ResolvedJavaType |
getReturnType() |
static jdk.vm.ci.meta.ResolvedJavaType |
getReturnType(jdk.vm.ci.meta.ResolvedJavaMethod method) |
jdk.vm.ci.meta.ResolvedJavaType |
getValueParameterType() |
boolean |
hasLocationIdentityParameter() |
boolean |
hasUniqueLocationIdentity() |
int |
indexParameterNumber(boolean withReceiver) |
boolean |
isIndexed() |
int |
locationIdentityParameterNumber(boolean withReceiver) |
int |
parameterCount(boolean withReceiver) |
int |
valueParameterNumber(boolean withReceiver) |
adoptChild, adoptChildren, getChildren, getName, getParent, getUniqueID, mergeChildrenAndDelete, toString
public AccessorInfo(jdk.vm.ci.meta.ResolvedJavaMethod annotatedMethod, AccessorInfo.AccessorKind accessorKind, boolean isIndexed, boolean hasLocationIdentityParameter, boolean hasUniqueLocationIdentity)
public AccessorInfo.AccessorKind getAccessorKind()
public boolean isIndexed()
public boolean hasLocationIdentityParameter()
public boolean hasUniqueLocationIdentity()
public static int baseParameterNumber(boolean withReceiver)
public int indexParameterNumber(boolean withReceiver)
public int valueParameterNumber(boolean withReceiver)
public int locationIdentityParameterNumber(boolean withReceiver)
public int parameterCount(boolean withReceiver)
public jdk.vm.ci.meta.ResolvedJavaMethod getAnnotatedElement()
getAnnotatedElement
in class ElementInfo
public void accept(InfoTreeVisitor visitor)
accept
in class ElementInfo
public jdk.vm.ci.meta.ResolvedJavaType getReturnType()
public jdk.vm.ci.meta.ResolvedJavaType getParameterType(int index)
public jdk.vm.ci.meta.ResolvedJavaType getValueParameterType()
public static jdk.vm.ci.meta.ResolvedJavaType getReturnType(jdk.vm.ci.meta.ResolvedJavaMethod method)
public static jdk.vm.ci.meta.ResolvedJavaType getParameterType(jdk.vm.ci.meta.ResolvedJavaMethod method, int index)