String signature = field.getTypeSignature();  char first= Signature.getElementType(signature).charAt(0); if (first != Signature.C_RESOLVED && first != Signature.C_UNRESOLVED) { return null;
if (!hasPrimitiveType(field)) { String typeName= JavaModelUtil.getResolvedTypeName(field.getTypeSignature(), field.getDeclaringType()); return field.getJavaProject().findType(typeName);
	private static IType resolveTypeOfField(IField field) throws JavaModelException {		String signature = field.getTypeSignature();		// test if it is a primitive type		char first= Signature.getElementType(signature).charAt(0);		if (first != Signature.C_RESOLVED && first != Signature.C_UNRESOLVED) {			return null;		}		String typeName= JavaModelUtil.getResolvedTypeName(signature, field.getDeclaringType());		return field.getJavaProject().findType(typeName);	}	