if (isShadowForMonitor()) {
return UnresolvedType.ARRAY_WITH_JUST_OBJECT;
}
+ ResolvedMember resolvedSig = getResolvedSignature();
if (getKind() == FieldSet) {
- return new UnresolvedType[] { getResolvedSignature().getGenericReturnType() };
+ return new UnresolvedType[] { resolvedSig == null ? null : resolvedSig.getGenericReturnType() };
}
- return getResolvedSignature().getGenericParameterTypes();
+ return resolvedSig == null ? null : resolvedSig.getGenericParameterTypes();
}
public UnresolvedType getArgType(int arg) {
} else if (kind == SynchronizationLock || kind == SynchronizationUnlock) {
return UnresolvedType.VOID;
}
- return getResolvedSignature().getGenericReturnType();
+ ResolvedMember resolvedSig = getResolvedSignature();
+ return resolvedSig == null ? null : resolvedSig.getGenericReturnType();
}
public static String METHOD_EXECUTION = "method-execution";